Kermit, 

I think you missed the point.  In order to run Apache under the user apache
and group apache they must have a group and a user with that same name.

By default RHEL 4 creates the user/group apache as follows:

passwd: apache:x:48:48:Apache:/var/www:/sbin/nologin
group: apache:x:48:

If these don't exist then it can't start as that user.  Also, apache should
not be admin.  It is a normal user.  But you must start it as a root user as
it needs to use a privileged port.

Hope that helps,

Gary Wayne Smith

On 1/23/06 12:36 PM, "Kermit Short" <[EMAIL PROTECTED]> wrote:

> I've tried creating a different user called www-data (group of same name,
> group populated with that user) and still received the same error message.
> I've set the web daemon's username to my username, (NIS not local) and it
> launched successfully.  I believe the only difference is that my account may
> have admin rights.
> 
> Kermit Short
> System Administrator
> CCN-DC-1 D-Div
>  
> ph: 7-6360
> pg: 4-5165
> em: [EMAIL PROTECTED]
> 
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: Monday, January 23, 2006 1:24 PM
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will
> not start
> 
> 
> What about creating a unique user account and group for
> apache to run under. Then setting httpd.conf for apache to
> use that user and group?
> 
> Keith
> 
> In theory, theory and practice are the same;
> In practice they are not.
> 
> On Mon, 23 Jan 2006, Kermit Short wrote:
> 
>> To: users@httpd.apache.org From: Kermit Short
>> <[EMAIL PROTECTED]> Subject: [EMAIL PROTECTED] Apache 2.0 on
>> RedHat EL 4 - httpd process will not start
>> 
>> I'm having trouble getting the HTTPD process to kick off.
>> I receive an error message when trying to start the daemon
>> SYSV style (using the init.d startup script): httpd: bad
>> user name apache.
>> 
>> Kermit Short
>> 
>> System Administrator
>> 
>> CCN-DC-1 D-Div
> k
> 
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 
> ---------------------------------------------------------------------
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to