LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   httpd: bad group name { nobody | nogroup } (https://www.linuxquestions.org/questions/linux-software-2/httpd-bad-group-name-%7B-nobody-%7C-nogroup-%7D-311956/)

itnix 04-11-2005 06:04 AM

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!?

scuzzman 04-11-2005 06:19 AM

Have you tried adding a group nobody? Personally, I let apache run under its own user (apache) and group (httpg)

itnix 04-11-2005 05:02 PM

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?

itnix 04-21-2005 02:27 AM

Is there someone who can help me about this?


All times are GMT -5. The time now is 08:21 PM.