You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Steve <st...@iprimus.com.au> on 2002/12/23 00:16:39 UTC

[users@httpd] MPM ERRORS?!

[Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
[Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
apr_proc_mutex_unlock failed. Attempting to shutdown process gracefully.
[Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
[Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
apr_proc_mutex_unlock failed. Attempting to shutdown process gracefully.
[Sun Dec 22 19:46:47 2002] [notice] child pid 1005 exit signal Segmentation
fault (11)


Anyone know what this means.. i try start apache2 server and when i try
access a page i get this in error_log


---------------------------------------------------------------------
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] MPM ERRORS?!

Posted by Chief Gadgeteer <ga...@elegantinnovations.org>.
On Sun, 2002-12-22 at 16:16, Steve wrote:
>  *snip error log output*
> 
> Anyone know what this means.. i try start apache2 server and when i try
> access a page i get this in error_log

No, I am still digging. See the thread I started Friday "[users@httpd]
apr_proc_mutex_lock failed"

What platform?
What config?
Which MPM?

I am building a fresh tool chain to chase down a wild hair.  GCC-3.2 is
compiling at this very moment.

-- 
Chief Gadgeteer
Elegant Innovations


---------------------------------------------------------------------
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] MPM ERRORS?!

Posted by Chief Gadgeteer <ga...@elegantinnovations.org>.
On Sun, 2002-12-22 at 20:04, Aaron Sturm wrote:
> Are you starting apache as root? Start apache as root and it'll switch to
> the user you have specified in your conf file. Looks like it can't write the
> lock file to the directory you have specified for PidFile, doesn't have
> permission.
> 
> See if that works.

I set the PidFile directory to 777.  That did not work.  Since one of
the features of using the perchild MPM is to be able to config Apache to
run virtual hosts as different users this does not seem to be a good
solution for the location of the mutex objects.

-- 
Chief Gadgeteer
Elegant Innovations


---------------------------------------------------------------------
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] MPM ERRORS?!

Posted by Aaron Sturm <aa...@hotmail.com>.
You misunderstood what I said. I don't know if you've done this yet, but
there's a user and group entry in the httpd.conf file that you have to
modify (sounds like you changed it to root). What happens when you start
apache as root
#./apachectl start
it'll switch to that user and launch the processes. It will NOT run as root.
The reason it wouldn't work for you is because you specified root in the
user option. And yes, it wouldn't be safe to do so.

Change it to another user... like apache, www, something like that. su - to
login to root, start apache. Run ps -ef | grep httpd and you'll see it's
running as the user you specified.

I hope that's more clear. If not, let me know.

-Aaron

----- Original Message -----
From: "Steve" <st...@iprimus.com.au>
To: <us...@httpd.apache.org>
Sent: Sunday, December 22, 2002 8:11 PM
Subject: Re: [users@httpd] MPM ERRORS?!


> It dont let me start as root unless i recompile with different options..
>
> is it really safe runing apache as root? dosent it have some program with
a
> su bit on it?
>
> /Steve
> ----- Original Message -----
> From: "Aaron Sturm" <aa...@hotmail.com>
> To: <us...@httpd.apache.org>
> Sent: Monday, December 23, 2002 2:04 PM
> Subject: Re: [users@httpd] MPM ERRORS?!
>
>
> > Are you starting apache as root? Start apache as root and it'll switch
to
> > the user you have specified in your conf file. Looks like it can't write
> the
> > lock file to the directory you have specified for PidFile, doesn't have
> > permission.
> >
> > See if that works.
> >
> > -Aaron
> >
> > ----- Original Message -----
> > From: "Steve" <st...@iprimus.com.au>
> > To: <us...@httpd.apache.org>
> > Sent: Sunday, December 22, 2002 3:16 PM
> > Subject: [users@httpd] MPM ERRORS?!
> >
> >
> > > [Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
> > > apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
> > > [Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
> > > apr_proc_mutex_unlock failed. Attempting to shutdown process
gracefully.
> > > [Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
> > > apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
> > > [Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
> > > apr_proc_mutex_unlock failed. Attempting to shutdown process
gracefully.
> > > [Sun Dec 22 19:46:47 2002] [notice] child pid 1005 exit signal
> > Segmentation
> > > fault (11)
> > >
> > >
> > > Anyone know what this means.. i try start apache2 server and when i
try
> > > access a page i get this in error_log
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
> >
>
>
> ---------------------------------------------------------------------
> 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] MPM ERRORS?!

Posted by Steve <st...@iprimus.com.au>.
It dont let me start as root unless i recompile with different options..

is it really safe runing apache as root? dosent it have some program with a
su bit on it?

/Steve
----- Original Message -----
From: "Aaron Sturm" <aa...@hotmail.com>
To: <us...@httpd.apache.org>
Sent: Monday, December 23, 2002 2:04 PM
Subject: Re: [users@httpd] MPM ERRORS?!


> Are you starting apache as root? Start apache as root and it'll switch to
> the user you have specified in your conf file. Looks like it can't write
the
> lock file to the directory you have specified for PidFile, doesn't have
> permission.
>
> See if that works.
>
> -Aaron
>
> ----- Original Message -----
> From: "Steve" <st...@iprimus.com.au>
> To: <us...@httpd.apache.org>
> Sent: Sunday, December 22, 2002 3:16 PM
> Subject: [users@httpd] MPM ERRORS?!
>
>
> > [Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
> > apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
> > [Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
> > apr_proc_mutex_unlock failed. Attempting to shutdown process gracefully.
> > [Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
> > apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
> > [Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
> > apr_proc_mutex_unlock failed. Attempting to shutdown process gracefully.
> > [Sun Dec 22 19:46:47 2002] [notice] child pid 1005 exit signal
> Segmentation
> > fault (11)
> >
> >
> > Anyone know what this means.. i try start apache2 server and when i try
> > access a page i get this in error_log
> >
> >
> > ---------------------------------------------------------------------
> > 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
>


---------------------------------------------------------------------
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] MPM ERRORS?!

Posted by Aaron Sturm <aa...@hotmail.com>.
Are you starting apache as root? Start apache as root and it'll switch to
the user you have specified in your conf file. Looks like it can't write the
lock file to the directory you have specified for PidFile, doesn't have
permission.

See if that works.

-Aaron

----- Original Message -----
From: "Steve" <st...@iprimus.com.au>
To: <us...@httpd.apache.org>
Sent: Sunday, December 22, 2002 3:16 PM
Subject: [users@httpd] MPM ERRORS?!


> [Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
> apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
> [Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
> apr_proc_mutex_unlock failed. Attempting to shutdown process gracefully.
> [Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
> apr_proc_mutex_lock failed. Attempting to shutdown process gracefully.
> [Sun Dec 22 19:46:46 2002] [emerg] (13)Permission denied:
> apr_proc_mutex_unlock failed. Attempting to shutdown process gracefully.
> [Sun Dec 22 19:46:47 2002] [notice] child pid 1005 exit signal
Segmentation
> fault (11)
>
>
> Anyone know what this means.. i try start apache2 server and when i try
> access a page i get this in error_log
>
>
> ---------------------------------------------------------------------
> 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