httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot L. Harris" <>
Subject Re: [users@httpd] Checking if Apache Compile is Successful
Date Thu, 22 Jul 2004 04:10:46 GMT
On Wed, 2004-07-21 at 23:50, InHisGrip wrote:

> 1. Moved the downloaded archive to a convenient
> location for unpacking, /usr/local/src.
> 2. Extracted the .tar.gz file, # tar -vzxf
> httpd-2.0.50-i686-pc-linux-gnu.tar.gz.
> 3. cd to where the binary has been extracted,
> /usr/local/apache
> 4. # ./configure --prefix=/usr/local/apache
> 5. # make
> 6. # make install
> 7. # /usr/local/apache/bin apachectl start
---------------------------^^ need a / here

> >From here on, I am lost. I edited the httpd.conf file
> added all information about the site from listen
> directive to VirtualHost directives, did try to issue
> the command, # service httpd restart and nothing
> happened. Is this because this has been a new compile,
> I still need to add this as a service on xinetd?
> Have I missed out something here? Please kindly
> advice.

Unless you installed a startup script in /etc/init.d for httpd the
service httpd restart will not do anything.

I don't remember if the tarball comes with a startup script, check in
the directory where you untared the package.  There might be one there. 
If not grab one from a running fedora system and modify it to run the
commands from the right directories, copy it to /etc/init.d and the run

chkconfig --add httpd
service httpd start

That will take care of setting up the symbolic links for the startup
script in the various /etc/rc#.d directories and httpd will be restarted
when you reboot the system.

Scot L. Harris

Hacker's Quicky #313:
	Sour Cream -n- Onion Potato Chips
	Microwave Egg Roll
	Chocolate Milk 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message