Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need it to configure Monit, but the path in the sample config file is /usr/local/apache/logs/httpd.pid and it's not there. It's also not anywhere in /etc (at least not with that name).

share|improve this question
add comment

2 Answers

up vote 3 down vote accepted

Found it! It's in:

/var/run/apache2.pid

share|improve this answer
2  
You should accept your own answer -- this gives you points (and a badge) and lets the rest of the community know you're no longer looking for an answer. –  Josh Oct 12 '09 at 18:29
    
Note that this also seems to be true for Apache 2 on Ubuntu. –  donut Apr 2 at 22:16
add comment

/var/run/apache.pid, from memory.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.