[EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start -RESOLVED, THANKS!

2006-01-25 Thread Kermit Short


Kermit Short
System Administrator
CCN-DC-1 D-Div
 
ph: 7-6360
pg: 4-5165
em: [EMAIL PROTECTED]

-Original Message-
From: Joost de Heer [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 25, 2006 10:15 AM
To: [EMAIL PROTECTED]; users@httpd.apache.org
Subject: 

>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.
[...]
>The system is a member of an NIS domain, but I can't image that apache
>would require an NIS-based account.

What's in /etc/nsswitch.conf for 'passwd'?

Joost




-
The official User-To-User support forum of the Apache HTTP Server Project.
See 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]



Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

2006-01-24 Thread Gary W. Smith
Title: Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start



Deal...


On 1/24/06 10:31 AM, "Kermit Short" <[EMAIL PROTECTED]> wrote:

Gary-
I set the config file to disable SELinux entirely, rebooted the server, and the daemon now launches.  If you’re ever in New Mexico, look me up, I OWE YOU LUNCH!!  Thanks a million!!
 

Kermit Short
System Administrator
CCN-DC-1 D-Div
 
ph: 7-6360
pg: 4-5165
em: [EMAIL PROTECTED]  





From: Gary W. Smith [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 24, 2006 11:25 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start
 
Kermit, 

Unforuntately I don’t run selinux but we choose it once for a server build and nothing worked right.  When we did disabled it then everything magically worked.  I guess there are some settings for services that have to be explicitly set but I don’t know what they are.

Sorry about that.  But I think you have a direction to look now.

Gary Wayne Smith


On 1/24/06 10:01 AM, "Kermit Short" <[EMAIL PROTECTED]> wrote:
Gary-
Wow! Indeed, somehow SELinux was enabled.  I’ve disabled it in the config file, but knowing nothing about SELinux, I don’t know what else I need to do…your input is gratefully welcomed!!
Thanks!
 

Kermit Short
System Administrator
CCN-DC-1 D-Div

ph: 7-6360
pg: 4-5165
em: [EMAIL PROTECTED]  





From: Gary W. Smith [mailto:[EMAIL PROTECTED]   
Sent: Monday, January 23, 2006 8:05 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

Kermit, 
 
I know that it runs fine out of the box as we have multiple RHEL 4 servers.  Did you enable selinux by chance as part of the configuration?  I recall this being a problem some time ago for some of the applications.
 
Gary Wayne Smith
 





From: Kermit Short [mailto:[EMAIL PROTECTED]   
Sent: Monday, January 23, 2006 3:22 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

Gary-
   I understand.  I’m not logging in as these users.  What I meant by saying that I attempted to run apache as the users “apache” and “www-data”, was that I specified those usernames in the httpd.conf file.  I have attempted to launch the process using either sudo or a direct root login, so when I issue the command “/etc/init.d/httpd start”  I’m doing so with uid 0.  Nonetheless, I receive the error message of  “bad username”.  Thanks for your advice, though!
 

Kermit Short
System Administrator
CCN-DC-1 D-Div

ph: 7-6360
pg: 4-5165
em: [EMAIL PROTECTED]  





From: Gary W. Smith [mailto:[EMAIL PROTECTED]  
Sent: Monday, January 23, 2006 4:13 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

Kermit, 

You don’t lunch it under the non-privileged account.  You luanch it under root and then Apache will change the thread to run under the user your specify under the configuration file.  As mentioned before, non-privileged users CANNOT create a tcp listener under port 1024 without being root.  This is why you need to originally start the application as such.

Gary


On 1/23/06 2:19 PM, "Kermit Short" <[EMAIL PROTECTED]> wrote:
Thanks to Gary and Keith for their input!  Indeed, RHEL 4 did create the apache accounts.  In an attempt to verify that the accounts were not created improperly, I manually created another non-administrative account and attempted to launch the daemon under that identity.  Both attempts failed (running as apache and www-data were unsuccessful and yielded the bad username error message.)  Still researching the error, but apparently it is an uncommon error as I’ve only found one post referring to it!
 
Kermit Short
System Administrator
CCN-DC-1 D-Div

ph: 7-6360
pg: 4-5165
em: [EMAIL PROTECTED]  


 








RE: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

2006-01-24 Thread Kermit Short
Title: Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not
start








Gary-

    I set the config file to
disable SELinux entirely, rebooted the server, and the daemon now launches.  If
you’re ever in New Mexico,
look me up, I OWE YOU LUNCH!!  Thanks a million!!

 



Kermit Short

System
Administrator

CCN-DC-1 D-Div

 

ph: 7-6360

pg: 4-5165

em: [EMAIL PROTECTED]











From: Gary W. Smith
[mailto:[EMAIL PROTECTED] 
Sent: Tuesday, January 24, 2006
11:25 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache
2.0 on RedHat EL 4 - httpd process will not start



 

Kermit, 

Unforuntately I don’t run selinux but we choose it once for a server
build and nothing worked right.  When we did disabled it then everything
magically worked.  I guess there are some settings for services that have
to be explicitly set but I don’t know what they are.

Sorry about that.  But I think you have a direction to look now.

Gary Wayne Smith


On 1/24/06 10:01 AM, "Kermit Short" <[EMAIL PROTECTED]> wrote:

Gary-
Wow!
Indeed, somehow SELinux was enabled.  I’ve disabled it in the config
file, but knowing nothing about SELinux, I don’t know what else I need to
do…your input is gratefully welcomed!!
Thanks!
 

Kermit Short
System
Administrator
CCN-DC-1 D-Div

ph:
7-6360
pg: 4-5165
em: [EMAIL PROTECTED] 








From: Gary W. Smith [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006
8:05 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Apache
2.0 on RedHat EL 4 - httpd process will not start

Kermit, 
 
I know that it runs fine out of the box as we have multiple RHEL 4 servers.
 Did you enable selinux by chance as part of the configuration?  I
recall this being a problem some time ago for some of the applications.
 
Gary Wayne Smith
 







From: Kermit Short [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006
3:22 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Apache
2.0 on RedHat EL 4 - httpd process will not start

Gary-
   I
understand.  I’m not logging in as these users.  What I meant
by saying that I attempted to run apache as the users “apache” and
“www-data”, was that I specified those usernames in the httpd.conf
file.  I have attempted to launch the process using either sudo or a
direct root login, so when I issue the command “/etc/init.d/httpd
start”  I’m doing so with uid 0.  Nonetheless, I receive
the error message of  “bad username”.  Thanks for your
advice, though!
 

Kermit Short
System
Administrator
CCN-DC-1 D-Div

ph:
7-6360
pg: 4-5165
em: [EMAIL PROTECTED]  







From: Gary W.
Smith [mailto:[EMAIL PROTECTED]

Sent: Monday, January 23, 2006
4:13 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache
2.0 on RedHat EL 4 - httpd process will not start

Kermit,


You don’t lunch it under the non-privileged account.  You luanch it
under root and then Apache will change the thread to run under the user your
specify under the configuration file.  As mentioned before, non-privileged
users CANNOT create a tcp listener under port 1024 without being root.
 This is why you need to originally start the application as such.

Gary


On 1/23/06 2:19 PM, "Kermit Short" <[EMAIL PROTECTED]> wrote:
Thanks to Gary and Keith for their input!  Indeed, RHEL 4 did
create the apache accounts.  In an attempt to verify that the accounts
were not created improperly, I manually created another non-administrative
account and attempted to launch the daemon under that identity.  Both
attempts failed (running as apache and www-data were unsuccessful and yielded
the bad username error message.)  Still researching the error, but
apparently it is an uncommon error as I’ve only found one post referring
to it!
 
Kermit Short
System Administrator
CCN-DC-1
D-Div

ph:
7-6360
pg: 4-5165
em: [EMAIL PROTECTED]  



 








Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

2006-01-24 Thread Gary W. Smith
Title: Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start



Kermit, 

Unforuntately I don’t run selinux but we choose it once for a server build and nothing worked right.  When we did disabled it then everything magically worked.  I guess there are some settings for services that have to be explicitly set but I don’t know what they are.

Sorry about that.  But I think you have a direction to look now.

Gary Wayne Smith


On 1/24/06 10:01 AM, "Kermit Short" <[EMAIL PROTECTED]> wrote:

Gary-
Wow! Indeed, somehow SELinux was enabled.  I’ve disabled it in the config file, but knowing nothing about SELinux, I don’t know what else I need to do…your input is gratefully welcomed!!
Thanks!
 

Kermit Short
System Administrator
CCN-DC-1 D-Div
 
ph: 7-6360
pg: 4-5165
em: [EMAIL PROTECTED]  





From: Gary W. Smith [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006 8:05 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start
 
Kermit, 
 
I know that it runs fine out of the box as we have multiple RHEL 4 servers.  Did you enable selinux by chance as part of the configuration?  I recall this being a problem some time ago for some of the applications.
 
Gary Wayne Smith
 





From: Kermit Short [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006 3:22 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start
 
Gary-
   I understand.  I’m not logging in as these users.  What I meant by saying that I attempted to run apache as the users “apache” and “www-data”, was that I specified those usernames in the httpd.conf file.  I have attempted to launch the process using either sudo or a direct root login, so when I issue the command “/etc/init.d/httpd start”  I’m doing so with uid 0.  Nonetheless, I receive the error message of  “bad username”.  Thanks for your advice, though!
 

Kermit Short
System Administrator
CCN-DC-1 D-Div
 
ph: 7-6360
pg: 4-5165
em: [EMAIL PROTECTED]  





From: Gary W. Smith [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006 4:13 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start
 
Kermit, 

You don’t lunch it under the non-privileged account.  You luanch it under root and then Apache will change the thread to run under the user your specify under the configuration file.  As mentioned before, non-privileged users CANNOT create a tcp listener under port 1024 without being root.  This is why you need to originally start the application as such.

Gary


On 1/23/06 2:19 PM, "Kermit Short" <[EMAIL PROTECTED]> wrote:
Thanks to Gary and Keith for their input!  Indeed, RHEL 4 did create the apache accounts.  In an attempt to verify that the accounts were not created improperly, I manually created another non-administrative account and attempted to launch the daemon under that identity.  Both attempts failed (running as apache and www-data were unsuccessful and yielded the bad username error message.)  Still researching the error, but apparently it is an uncommon error as I’ve only found one post referring to it!
 
Kermit Short
System Administrator
CCN-DC-1 D-Div

ph: 7-6360
pg: 4-5165
em: [EMAIL PROTECTED]  
 








RE: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

2006-01-24 Thread Kermit Short
Title: Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not
start








Gary-

    Wow! 
Indeed, somehow SELinux was enabled.  I’ve disabled it in the config
file, but knowing nothing about SELinux, I don’t know what else I need to
do…your input is gratefully welcomed!!

Thanks!

 



Kermit Short

System
Administrator

CCN-DC-1 D-Div

 

ph: 7-6360

pg: 4-5165

em: [EMAIL PROTECTED]











From: Gary W. Smith
[mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006
8:05 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Apache
2.0 on RedHat EL 4 - httpd process will not start



 

Kermit, 

 

I know that it runs
fine out of the box as we have multiple RHEL 4 servers.  Did you enable
selinux by chance as part of the configuration?  I recall this being a
problem some time ago for some of the applications.

 

Gary Wayne Smith

 











From: Kermit Short
[mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006
3:22 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Apache
2.0 on RedHat EL 4 - httpd process will not start



 

Gary-

   
I understand.  I’m not logging in as these users.  What I meant
by saying that I attempted to run apache as the users “apache” and
“www-data”, was that I specified those usernames in the httpd.conf
file.  I have attempted to launch the process using either sudo or a
direct root login, so when I issue the command “/etc/init.d/httpd
start”  I’m doing so with uid 0.  Nonetheless, I receive
the error message of  “bad username”.  Thanks for your
advice, though!

 



Kermit Short

System
Administrator

CCN-DC-1 D-Div

 

ph: 7-6360

pg: 4-5165

em: [EMAIL PROTECTED]











From: Gary W. Smith [mailto:[EMAIL PROTECTED]

Sent: Monday, January 23, 2006
4:13 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache
2.0 on RedHat EL 4 - httpd process will not start



 

Kermit, 

You don’t lunch it under the non-privileged account.  You luanch it
under root and then Apache will change the thread to run under the user your
specify under the configuration file.  As mentioned before, non-privileged
users CANNOT create a tcp listener under port 1024 without being root.
 This is why you need to originally start the application as such.

Gary


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

Thanks to Gary and Keith for their
input!  Indeed, RHEL 4 did create the apache accounts.  In an attempt
to verify that the accounts were not created improperly, I manually created
another non-administrative account and attempted to launch the daemon under
that identity.  Both attempts failed (running as apache and www-data were
unsuccessful and yielded the bad username error message.)  Still researching
the error, but apparently it is an uncommon error as I’ve only found one
post referring to it!
 
Kermit Short
System
Administrator
CCN-DC-1 D-Div

ph: 7-6360
pg: 4-5165
em: [EMAIL PROTECTED]  

 










RE: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

2006-01-23 Thread Gary W. Smith
Title: Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not
start








Kermit, 

 

I know that it runs
fine out of the box as we have multiple RHEL 4 servers.  Did you enable selinux
by chance as part of the configuration?  I recall this being a problem some
time ago for some of the applications.

 

Gary Wayne Smith

 











From: Kermit Short
[mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006
3:22 PM
To: users@httpd.apache.org
Subject: RE: [EMAIL PROTECTED] Apache
2.0 on RedHat EL 4 - httpd process will not start



 

Gary-

   
I understand.  I’m not logging in as these users.  What I meant
by saying that I attempted to run apache as the users “apache” and
“www-data”, was that I specified those usernames in the httpd.conf
file.  I have attempted to launch the process using either sudo or a
direct root login, so when I issue the command “/etc/init.d/httpd
start”  I’m doing so with uid 0.  Nonetheless, I receive
the error message of  “bad username”.  Thanks for your
advice, though!

 



Kermit Short

System
Administrator

CCN-DC-1 D-Div

 

ph: 7-6360

pg: 4-5165

em: [EMAIL PROTECTED]











From: Gary W. Smith
[mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006
4:13 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache
2.0 on RedHat EL 4 - httpd process will not start



 

Kermit, 

You don’t lunch it under the non-privileged account.  You luanch it
under root and then Apache will change the thread to run under the user your
specify under the configuration file.  As mentioned before, non-privileged
users CANNOT create a tcp listener under port 1024 without being root.
 This is why you need to originally start the application as such.

Gary


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

Thanks to Gary and Keith for their
input!  Indeed, RHEL 4 did create the apache accounts.  In an attempt
to verify that the accounts were not created improperly, I manually created
another non-administrative account and attempted to launch the daemon under
that identity.  Both attempts failed (running as apache and www-data were
unsuccessful and yielded the bad username error message.)  Still
researching the error, but apparently it is an uncommon error as I’ve
only found one post referring to it!
 
Kermit Short
System
Administrator
CCN-DC-1 D-Div

ph: 7-6360
pg: 4-5165
em: [EMAIL PROTECTED]  

 










RE: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

2006-01-23 Thread Kermit Short
Title: Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not
start








Gary-

    I understand.  I’m not
logging in as these users.  What I meant by saying that I attempted to run
apache as the users “apache” and “www-data”, was that I
specified those usernames in the httpd.conf file.  I have attempted to launch
the process using either sudo or a direct root login, so when I issue the
command “/etc/init.d/httpd start”  I’m doing so with uid 0. 
Nonetheless, I receive the error message of  “bad username”. 
Thanks for your advice, though!

 



Kermit Short

System
Administrator

CCN-DC-1 D-Div

 

ph: 7-6360

pg: 4-5165

em: [EMAIL PROTECTED]











From: Gary W. Smith
[mailto:[EMAIL PROTECTED] 
Sent: Monday, January 23, 2006
4:13 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Apache
2.0 on RedHat EL 4 - httpd process will not start



 

Kermit, 

You don’t lunch it under the non-privileged account.  You luanch it
under root and then Apache will change the thread to run under the user your
specify under the configuration file.  As mentioned before, non-privileged
users CANNOT create a tcp listener under port 1024 without being root.
 This is why you need to originally start the application as such.

Gary


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

Thanks to Gary and Keith for their
input!  Indeed, RHEL 4 did create the apache accounts.  In an attempt
to verify that the accounts were not created improperly, I manually created
another non-administrative account and attempted to launch the daemon under
that identity.  Both attempts failed (running as apache and www-data were
unsuccessful and yielded the bad username error message.)  Still
researching the error, but apparently it is an uncommon error as I’ve
only found one post referring to it!
 
Kermit Short
System
Administrator
CCN-DC-1 D-Div

ph: 7-6360
pg: 4-5165
em: [EMAIL PROTECTED]  



 








Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

2006-01-23 Thread Gary W. Smith
Title: Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start



Kermit, 

You don’t lunch it under the non-privileged account.  You luanch it under root and then Apache will change the thread to run under the user your specify under the configuration file.  As mentioned before, non-privileged users CANNOT create a tcp listener under port 1024 without being root.  This is why you need to originally start the application as such.

Gary


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

Thanks to Gary and Keith for their input!  Indeed, RHEL 4 did create the apache accounts.  In an attempt to verify that the accounts were not created improperly, I manually created another non-administrative account and attempted to launch the daemon under that identity.  Both attempts failed (running as apache and www-data were unsuccessful and yielded the bad username error message.)  Still researching the error, but apparently it is an uncommon error as I’ve only found one post referring to it!
 
Kermit Short
System Administrator
CCN-DC-1 D-Div
 
ph: 7-6360
pg: 4-5165
em: [EMAIL PROTECTED]  
 








[EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

2006-01-23 Thread Kermit Short








Thanks to Gary and Keith for their input!  Indeed, RHEL 4
did create the apache accounts.  In an attempt to verify that the accounts were
not created improperly, I manually created another non-administrative account
and attempted to launch the daemon under that identity.  Both attempts failed
(running as apache and www-data were unsuccessful and yielded the bad username
error message.)  Still researching the error, but apparently it is an uncommon
error as I’ve only found one post referring to it!

 

Kermit Short

System
Administrator

CCN-DC-1 D-Div

 

ph: 7-6360

pg: 4-5165

em: [EMAIL PROTECTED]

 








Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

2006-01-23 Thread Gary W. Smith
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 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 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 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]



RE: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

2006-01-23 Thread Kermit Short
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 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 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]



Re: [EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

2006-01-23 Thread httpd2

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



[EMAIL PROTECTED] Apache 2.0 on RedHat EL 4 - httpd process will not start

2006-01-23 Thread Kermit Short








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.

 

I have searched and searched, can’t find a thing.  I’ve
re-installed the RPMs from the original RedHat CD.  I’ve made sure that
the user apache is a member of the group apache.  The system is a member of an NIS domain, but I can’t
image that apache would require an NIS-based account.  Has anyone seen
something like this before?  Thanks in advance for your help!

 

Kermit Short

System
Administrator

CCN-DC-1 D-Div

 

ph: 7-6360

pg: 4-5165

em: [EMAIL PROTECTED]