Sunday, June 29, 2008

httpd restart error

Apache Fixes

If you have a bad group error when restarting apache... for example:

root@[/usr/local/apache/conf]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
httpd: bad group name tasty01
/etc/init.d/httpd restart: httpd could not be started

Simply add the group that is "bad", then restart httpd.


Eg:

root@[/usr/local/apache/conf]# groupadd tasty01
root@[/usr/local/apache/conf]# service httpd restart
/etc/init.d/httpd restart: httpd not running, trying to start
/etc/init.d/httpd restart: httpd started
root@[/usr/local/apache/conf]#

No comments: