LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-23-2006, 09:24 AM   #1
RichM
LQ Newbie
 
Registered: Feb 2006
Posts: 6

Rep: Reputation: 0
httpd: bad group name


I am a bit of a n00b regarding linux. I have trouble doing simple tasks.

Anyway, Apache is down and it won't start back up. Here is the error message that it returns: httpd: bad group name hfha

How do I fix this?

Thanks.
 
Old 02-23-2006, 01:08 PM   #2
gilead
Senior Member
 
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
Try running grep hfha /etc/group - if it returns nothing then it means that Apache is trying to start up in the group hfha which doesn't exist. There are 2 options, modify Apache's httpd.conf file to use a group that exists, or add the group hfha.

To find the httpd.conf file run:
Code:
find / -type f -name 'httpd.conf' 2>/dev/null
If it returns nothing, run the command as root since the file is likely in a directory that your user account can't access. When you find the location of the file (for example it may be in /usr/local/apache2/conf), run the following to find which line to edit:
Code:
grep -n 'Group hfha' /usr/local/apache2/conf/httpd.conf
Edit the file and change the group to one that exists (apache?).

To create a group, use the following:
Code:
groupadd hfha
or
groupadd apache
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bad group ID `0' for user `root': Illegal seek mdar Slackware 4 01-07-2006 11:09 AM
Bad Harddrive on LVM group. WeirdLabs Linux - Hardware 6 10-03-2005 09:59 AM
bad httpd settings? buehler Linux - Software 1 04-24-2005 02:43 PM
httpd: bad group name { nobody | nogroup } itnix Linux - Software 3 04-21-2005 02:27 AM
bad user name httpd CyberEd Linux - Newbie 3 09-19-2003 03:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration