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? Link to comment https://forums.phpfreaks.com/topic/56269-httpd-bad-group-name/ 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 Link to comment https://forums.phpfreaks.com/topic/56269-httpd-bad-group-name/#findComment-278178 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 Link to comment https://forums.phpfreaks.com/topic/56269-httpd-bad-group-name/#findComment-278333 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. Link to comment https://forums.phpfreaks.com/topic/56269-httpd-bad-group-name/#findComment-278627 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 Link to comment https://forums.phpfreaks.com/topic/56269-httpd-bad-group-name/#findComment-280478 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.