View previous topic :: View next topic |
Author |
Message |
Netdale n00b
Joined: 25 May 2002 Posts: 67 Location: Lancaster, Pa
|
Posted: Fri Aug 02, 2002 9:12 pm Post subject: Apachectl + Me = One Frusterated Geek |
|
|
Ok, apache loves my server, and everything works great - except one thing. The apache control script (%apache%/bin/apachectl). I start apache w/ apachectl startssl, and apache w/ ssl support loads and all is well. Yet when I try to restart or stop it reports this error:
root@Weavweb / # /usr/local/apache/bin/apachectl startssl
/usr/local/apache/bin/apachectl startssl: httpd started
root@Weavweb / # /usr/local/apache/bin/apachectl stop
/usr/local/apache/bin/apachectl stop: httpd (no pid file) not running
Any ideas........please. The truely odd thing is that the pid is created w/ a correct id # (I have it being placed in /var/log/httpd/httpd.pid)............
Any ideas would be awesome
Dale
One more thing, when I look at the pid its being created and owned by root (user & group), yet apache is setup to run on its own 'apache' username & group.....this is just getting frusterating......
-rw-r--r-- 1 root root 6 Aug 2 17:17 httpd.pid |
|
Back to top |
|
|
bodhidharma n00b
Joined: 24 Jul 2002 Posts: 11 Location: Madison, Wisconsin
|
Posted: Fri Aug 02, 2002 11:03 pm Post subject: check that apachectl and httpd.conf agree |
|
|
The PID gets written wherever httpd.conf says when you start the server. When you run apachectl stop, apachectl checks the HTTPD_PID variable which is set near the top of the apachectl script. _________________ And what rough beast, its hour come round at last
Slouches toward Redmond to be born? |
|
Back to top |
|
|
Netdale n00b
Joined: 25 May 2002 Posts: 67 Location: Lancaster, Pa
|
Posted: Sat Aug 03, 2002 3:27 am Post subject: AWESOME |
|
|
Thanks dude, just slipped my mind of accually looking in the script.......
Good call (Dale slaps himself)
Dale |
|
Back to top |
|
|
|