You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Jorge Medina <jm...@e-dialog.com> on 2009/01/23 23:48:34 UTC
[users@httpd] PidFile directive is ignored
I am running Apache 2.2.11 in several platforms (RedHat, Solaris 10 x86
and Solaris 10 sparc)
I am specifying the PidFile directive but the PidFile always gets
created under (ServerRoot)/logs/
I get the same bahaviour in all platforms.
I tried putting the PidFile directive just after the ServerRoot (in case
it needed to be specified as soon as ServerRoot is defined) but same
problem. It just gets ignored.
I am specifying the full path to the file:
PidFile /opt/myapp/logs/apache/httpd.pid
I tried surrounding it in quotes, but also gets ignored:
PidFile "/opt/myapp/logs/apache/httpd.pid"
I also verified that all directories are owned by root.
Any hint?
-Jorge
RE: [users@httpd] PidFile directive is ignored
Posted by Jorge Medina <jm...@e-dialog.com>.
Thanks Matus! I had enabled a different MPM module and included the
extra/httpd-mpm.conf file. The PidFile directive was duplicated there.
-----Original Message-----
From: Matus UHLAR - fantomas [mailto:uhlar@fantomas.sk]
Sent: Wednesday, January 28, 2009 4:15 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] PidFile directive is ignored
On 23.01.09 17:48, Jorge Medina wrote:
> I am specifying the PidFile directive but the PidFile always gets
> created under (ServerRoot)/logs/
>
> I get the same bahaviour in all platforms.
>
> I tried putting the PidFile directive just after the ServerRoot (in
> case it needed to be specified as soon as ServerRoot is defined) but
> same problem. It just gets ignored.
> I am specifying the full path to the file:
>
> PidFile /opt/myapp/logs/apache/httpd.pid
>
> I tried surrounding it in quotes, but also gets ignored:
>
> PidFile "/opt/myapp/logs/apache/httpd.pid"
>
> I also verified that all directories are owned by root.
What's in server logs? Can apache create pid file in that directory?
Don't you have other PidFile directive in apache's config?
--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I feel like I'm diagonally parked in a parallel universe.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] PidFile directive is ignored
Posted by Matus UHLAR - fantomas <uh...@fantomas.sk>.
On 23.01.09 17:48, Jorge Medina wrote:
> I am specifying the PidFile directive but the PidFile always gets
> created under (ServerRoot)/logs/
>
> I get the same bahaviour in all platforms.
>
> I tried putting the PidFile directive just after the ServerRoot (in case
> it needed to be specified as soon as ServerRoot is defined) but same
> problem. It just gets ignored.
> I am specifying the full path to the file:
>
> PidFile /opt/myapp/logs/apache/httpd.pid
>
> I tried surrounding it in quotes, but also gets ignored:
>
> PidFile "/opt/myapp/logs/apache/httpd.pid"
>
> I also verified that all directories are owned by root.
What's in server logs? Can apache create pid file in that directory?
Don't you have other PidFile directive in apache's config?
--
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I feel like I'm diagonally parked in a parallel universe.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org