Thank you for the neat reply, Doug.
On Thu, Apr 16, 2009 at 2:17 AM, Doug Bell <[email protected]> wrote: > On Apr 15, 2009, at 3:13 PM, Jimmyboy wrote: > > > 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'. > > > Because you installed from source, you want > /usr/local/apache2/conf/httpd.conf. The ubuntu package (from APT) uses > /etc/apache2/apache2.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? > > > Yes. > > > 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? > > > Yes, but only for the ubuntu packages (from APT). > > > Doug Bell -- Senior Developer, Plain Black Corp. > all that groks is > >
