Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apachectl + Me = One Frusterated Geek
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Netdale
n00b
n00b


Joined: 25 May 2002
Posts: 67
Location: Lancaster, Pa

PostPosted: Fri Aug 02, 2002 9:12 pm    Post subject: Apachectl + Me = One Frusterated Geek Reply with quote

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
View user's profile Send private message
bodhidharma
n00b
n00b


Joined: 24 Jul 2002
Posts: 11
Location: Madison, Wisconsin

PostPosted: Fri Aug 02, 2002 11:03 pm    Post subject: check that apachectl and httpd.conf agree Reply with quote

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
View user's profile Send private message
Netdale
n00b
n00b


Joined: 25 May 2002
Posts: 67
Location: Lancaster, Pa

PostPosted: Sat Aug 03, 2002 3:27 am    Post subject: AWESOME Reply with quote

Thanks dude, just slipped my mind of accually looking in the script.......


Good call (Dale slaps himself)

Dale
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum