LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2005, 06:04 AM   #1
itnix
LQ Newbie
 
Registered: Apr 2005
Location: /root
Distribution: Slackware
Posts: 3

Rep: Reputation: 0
Question httpd: bad group name { nobody | nogroup }


I am with :
Code:
- Slackware Linux
- Kernel 2.4.22
- Apache 1.3.33
..and when I start my httpd ('/usr/sbin/apachectl start') I recieve that error:
Code:
httpd: bad group name nobody
In /etc/apache/httpd.conf is written :
Code:
user nobody
group nobody
I tryed with nogroup but It didn't worked..!?
Anyway the command line 'groupmod -g 99 nobody' returns :
Code:
groupmod: group nobody does not exist
...What is the problem in the next case if I got next lines in next files :
Code:
/etc/passwd : nobody:x:99:98:nobody:/:
/etc/passwd- : nobody:x:99:98:nobody:/:
/etc/shadow : nobody:*:9797:0:::::
/etc/shadow- : nobody:*:9797:0:::::
/etc/group : nobody::98:nobody
/etc/group- : nobody::98:nobody
I will be most happy guy at the whole worldz if someone tells me what's wrong with my groups!?
 
Old 04-11-2005, 06:19 AM   #2
scuzzman
Senior Member
 
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Have you tried adding a group nobody? Personally, I let apache run under its own user (apache) and group (httpg)
 
Old 04-11-2005, 05:02 PM   #3
itnix
LQ Newbie
 
Registered: Apr 2005
Location: /root
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
Yep!
But I made it work.. I just remove "Group" tag in httpd.conf..
I leave only "User" tag equal to "nobody"..
By the way the problem is more general of my expections!
There are no group names at all on my PC..
Example :
Code:
itni@home:/root# ls -al /
total 152
drwxr-xr-x   23 itni     0            4096 Apr 11 22:41 ./
drwxr-xr-x   23 itni     0            4096 Apr 11 22:41 ../
-rw-r--r--    1 itni     0              35 Apr  7 04:22 .directory
-rw-r--r--    1 itni     0               2 Feb 20 02:34 .windows-serial
drwxr-xr-x    3 itni     0            4096 Aug 13  2001 Type1/
drwxr-xr-x    3 itni     1            4096 Apr  7 03:42 bin/
drwxr-xr-x    2 itni     0            4096 Feb 20 02:07 boot/
drwxr-xr-x    2 itni     0            4096 Mar  5 17:30 c/
drwxr-xr-x   15 itni     0           40960 Apr 11 13:09 dev/
drwxr-xr-x   49 itni     0            4096 Apr 12 00:19 etc/
drwxr-xr-x    5 itni     0            4096 Feb 18 03:59 home/
drwxr-xr-x    2 itni     0            4096 Feb  1 17:23 i/
drwxr-xr-x    4 itni     0            4096 Jul 27  1999 lib/
drwx------    2 itni     0           16384 Feb  1 02:53 lost+found/
drwxr-xr-x    9 itni     0            4096 Apr  7 10:21 mnt/
drwxr-xr-x    2 itni     0            4096 Feb 20 14:57 msdownld.tmp/
drwxr-xr-x    5 itni     0            4096 Feb 12 11:37 opt/
dr-xr-xr-x  134 itni     0               0 Apr 11 13:08 proc/
drwx--x--x   47 itni     0            4096 Apr 11 13:10 root/
drwxr-xr-x    2 itni     1            4096 Feb 13 00:12 sbin/
drwxrwxrwt   25 itni     0           12288 Apr 12 00:50 tmp/
drwxr-xr-x    2 itni     0            4096 Feb  9  2000 ttfonts/
drwxr-xr-x   18 itni     0            4096 Sep 25  2003 usr/
drwxr-xr-x   15 itni     0            4096 Dec  3  2001 var/
drwxr-xr-x    8 201      201          4096 Mar  9  2004 vmware-distrib/
lrwxrwxrwx    1 itni     0              16 Apr  9 06:00 www -> /root/www/htdocs/
itni@home:/root#
..I thing that kind of problem is one very goot LinuxQuestion!
The problem is that.. not in httpd.conf..
Any ideas why`s that happens?
 
Old 04-21-2005, 02:27 AM   #4
itnix
LQ Newbie
 
Registered: Apr 2005
Location: /root
Distribution: Slackware
Posts: 3

Original Poster
Rep: Reputation: 0
Is there someone who can help me about this?
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
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
basics of nobody and nogroup Datamike Linux - Newbie 2 02-08-2005 05:07 AM
bad user name httpd CyberEd Linux - Newbie 3 09-19-2003 03:19 PM
Block 0 in primary superblock/group descriptor area bad ZilverZtream Linux - Hardware 0 08-10-2003 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:01 PM.

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