homer_32 Posted June 19, 2007 Share Posted June 19, 2007 I am having a problem with apache and can not figure it out. Apache was installed along with RedHat linux a while ago, and I finally started getting it ready for use. My problem: When I type "apachectl start", I get the following, and it does not start: httpd: bad group name apache Now, the default user and group with RedHat Linux is apache/apache. The /etc/passwd contains: apache:x:48:48:Apache:/var/www:/sbin/nologin And the /etc/group contains: apache:x:48: the httpd.conf file contains: User apache Group apache Does anyone know why this is happening? Quote Link to comment Share on other sites More sharing options...
scrupul0us Posted June 20, 2007 Share Posted June 20, 2007 id suspect theres no group called apache on your system since: httpd: bad group name apache indicates that apache is the faulty group name Quote Link to comment Share on other sites More sharing options...
steviewdr Posted June 20, 2007 Share Posted June 20, 2007 Check /etc/group to see if "apache:x:48:" is there. -steve Quote Link to comment Share on other sites More sharing options...
homer_32 Posted June 20, 2007 Author Share Posted June 20, 2007 I have right in the initial post that apache:x:48: is in the /etc/group file. Quote Link to comment Share on other sites More sharing options...
steviewdr Posted June 22, 2007 Share Posted June 22, 2007 Sorry - missed that. Can you not control apache with: /etc/init.d/apache start|restart|stop ?? or /etc/init.d/httpd start ?? Do you have SELinux installed? Is apache in a chroot? -steve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.