httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Desmond LIM" <desmond_...@bti.a-star.edu.sg>
Subject RE: [users@httpd] Problems starting apache server
Date Fri, 25 Mar 2005 07:30:34 GMT
Thanks guys, apparently it was the user/group thingy. I've created a user and group apache
and now it is working. Thanks.

Desmond
 

-----Original Message-----
From: Boyle Owen [mailto:Owen.Boyle@swx.com] 
Sent: 24 March 2005 18:33
To: users@httpd.apache.org
Subject: RE: [users@httpd] Problems starting apache server

> -----Original Message-----
> From: Desmond LIM [mailto:desmond_lim@bti.a-star.edu.sg]
> 
> - what do you type to start apache?
> 
> /path/to/apache/bin/apachectl start
> 
> - what is returned?
> 
> Nothing at all.

That's weird... apachectl is a simple shell script which should echo
*something* to the shell. Try starting the httpd binary directly (BTW,
look inside apachectl to see how it works), eg:

/path/to/apache/bin/httpd

This *must* echo something...

> 
> 
> - what is in the tail of error_log when you try to start?
> 
> [Thu Mar 24 17:54:02 2005] [emerg] (22)Invalid argument: 
> Couldn't set permissions on cross-process lock; check User 
> and Group directives

This error comes from the multi-processing module. As Dick suggests, you
should check the User and Group directives (see
http://httpd.apache.org/docs-2.0/mod/mpm_common.html#user). Basically,
they have to be set to those of a pre-existing user and group. Most
people create a new user (eg apache or www or something) to handle this.

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> Desmond
> 
> 
> -----Original Message-----
> From: Boyle Owen [mailto:Owen.Boyle@swx.com] 
> Sent: 24 March 2005 17:56
> To: users@httpd.apache.org
> Subject: RE: [users@httpd] Problems starting apache server
> 
> Plain text please...
> 
> > What is wrong?
> 
> Something.
> 
> If you want to know more, tell us more.
> 
> - what do you type to start apache?
> - what is returned?
> - what is in the tail of error_log when you try to start?
> 
> Rgds,
> Owen Boyle
> Disclaimer: Any disclaimer attached to this message may be ignored. 
> 
> -----Original Message-----
> From: Desmond LIM [mailto:desmond_lim@bti.a-star.edu.sg]
> Sent: Donnerstag, 24. März 2005 08:32
> To: users@httpd.apache.org
> Subject: [users@httpd] Problems starting apache server
> 
> 
> Hi,
> 
> Can anyone help me?
> I have a basic debian server (nothing in it except the bare 
> essentials)
> and I've installed apache on it. No error messages.
> 
> Configured the system and now I can't start apache. What is wrong?
> 
> Thanks.
> 
> Desmond
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This
e-mail is of a private and personal nature. It is not related to the
exchange or business activities of the SWX Group. Le présent e-mail est
un message privé et personnel, sans rapport avec l'activité boursière du
Groupe SWX.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 



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


Mime
View raw message