httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jimmyboy <jimmyjose2...@gmail.com>
Subject [users@httpd] Config file name of Apache 2.2.9 and its default location on Ubuntu 8.10???
Date Wed, 15 Apr 2009 20:13:54 GMT
Hi,

I am following the Quickstart Guide for installing NAGIOS using
http://nagios.sourceforge.net/docs/3_0/quickstart-ubuntu.html.

One of the prerequisites is Apache2, which I installed, and was successful
in getting "*It Works!!*" for http://127.0.0.1.

However, I am unable to understand which one of '*apache2.conf'* & '*
httpd.conf*' happens to be the server's config file. Some say, it is
'apache2.conf', and others say, 'httpd.conf'.

*1]*
I installed Ubuntu 8.10 desktop OS in my VMWare. I also installed
Apache2.2.9 using the *apache2-2.2.9.orig.tar.gz* file.
"ps -ef | grep httpd" shows the result below.
"*root   17723       1   0   05:51  ?    00:00:00
/usr/local/apache2/bin/httpd -k start*" followed by a couple of lines for
the *daemon* service holding different PIDs. The *httpd.pid* file under
'/usr/local/apache2/logs' shows '17723' as above.

*2]*
When I stop the service by issuing the command
'/usr/local/apache2/bin/apachectl -k stop', I do not find any result for "ps
-ef | grep httpd". Neither does http://127.0.0.1 work. The *httpd.pid* file
under '/usr/local/apache2/logs' no longer exists.

*3]*
*Excerpt from the error_log file under '/usr/local/apache2/logs'*:
[notice] caught SIGTERM, shutting down
[notice] Apache/2.2.9 (Unix) configured -- resuming normal operations

Looking at the description above, can I say that Apache is installed
correctly?

Also, the website
https://help.ubuntu.com/6.10/ubuntu/serverguide/C/httpd.html talks about
editing the config file *apache2.conf*. Is it true in case of Apache on
Ubuntu 8.* as well?


Thanks,
Jim

Mime
View raw message