1826554 Members
3924 Online
109695 Solutions
New Discussion

Apache web server

 
Gabrielle Clark
Occasional Contributor

Apache web server

When running Apache 1.3.12 on hp 11 system, apachectl start returns message that apahe is started but when stopping, it returns http (no pid file) not running. No error logs created.
The grass is NOT greener on the other side; it's greener where you water it.
5 REPLIES 5
Wayne Yu_1
Frequent Advisor

Re: Apache web server

In Apache httpd.conf or httpsd.conf file whichever your active Apache configuraiton file is, it stated where the pid file is. If that is not in the conf file, then it is in the "configure" process you need to specify where that is. Start and stop httpd are two rc scripts.

If you can locate where the pid file is, you can edit your httpd start/stop script to point to the pid file, then it will work fine.
D. Jackson_1
Honored Contributor

Re: Apache web server

Make sure you have this line or something like it in the apachectl file:
# the path to your PID file
PIDFILE=/opt/apache/adm/httpd.pid

As for error logs they should be in the same directory, I believe they are defined in the httpd.conf file.

Good Luck
Sridhar Bhaskarla
Honored Contributor

Re: Apache web server

Hi,

Search for PidFile in httpd.conf. By default it should go to /opt/apache/logs as httpd.pid.

After starting Apache, look for the creation of this file.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Gabrielle Clark
Occasional Contributor

Re: Apache web server

In httpd.conf - PidFile /dev3web/logs/httpd.pid

in apachectl - # the path to your PID file
PIDFILE=/dev3web/logs/httpd.pid

I run multiple instances of Apache & install each to it's own filesystem. One instance is running fine, the new one does not.
The grass is NOT greener on the other side; it's greener where you water it.
Rainer von Bongartz
Honored Contributor

Re: Apache web server


check file system permissions on
/dev3web/logs/

Regards
Rainer
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...