httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Lawhead <dan...@alienmelon.com>
Subject Re: [users@httpd] "Permissions on Cross-Process Lock" Error
Date Sat, 29 Mar 2003 23:10:45 GMT
On Saturday 29 March 2003 01:38 pm, Joshua Slive wrote:
> On Sat, 29 Mar 2003, Daniel Lawhead wrote:
> > Whenever I try to start my Apache2 server (via apachectl start command)
> > nothing happens. I then try try "apachectl stop" and Apache tells me that
> > the httpd process isn't even running. I looked in the error_log log file,
> > and I get this:
> >
> > [Sat Mar 29 12:56:26 2003] [emerg] (22)Invalid argument: Couldn't set
> > permissions on cross-process lock; check User and Group directives
> >
> > Since I'm new to the world of Apache, I have no idea what this means.
> > I've compiled Apache2 from source, and followed the installation
> > instructions as closley as possible. Never did it mention anything about
> > setting permissions.
> >
> > Could somebody tell me what this means?
>
> Open httpd.conf, find the lines starting "User" and "Group" and set them
> to a user and group that exist on your system (but preferably one with low
> priveleges).
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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

Now it works, thanks! Just one thing, I told it to run under account "daniel" 
(my user account). It should have some pretty restrictive previlidges. Might 
it be better if I make an "apache" or "httpd" account for Apache to run as?

-- 
Daniel

---------------------------------------------------------------------
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


Mime
View raw message