1827211 Members
2497 Online
109716 Solutions
New Discussion

HTTD: bad group name www

 
Michael_33
Regular Advisor

HTTD: bad group name www

Hi, All

After I reboot the system ( J210 10.20 ),
I got the error message from /etc/rc.log

HTTD: bad group name www
ERROR CODE 1

and I try to /sbin/init.d/httpd start
still the same problem, any suggestions?
and /etc/passwd looks good

Thanks!
4 REPLIES 4
Rainer von Bongartz
Honored Contributor

Re: HTTD: bad group name www

you have to create a g r o u p named www, or other wise
change the parameter Group in your hhtpd.conf file
He's a real UNIX Man, sitting in his UNIX LAN making all his UNIX plans for nobody ...
Vincenzo Restuccia
Honored Contributor

Re: HTTD: bad group name www

In the httpd.conf file look for this a line
Group www
This group name does
not exist in your /etc/group file. That is why you are getting the
error.

Either create the group or change the line in the httpd.conf file to
use an existing group.
Bill McNAMARA_1
Honored Contributor

Re: HTTD: bad group name www

Your web server if apache can be configured to run as nobody nogroup although under you're server its defaulting to www group.

What package did you install?
My apache starts from
/usr/obam/server/bin/apachectl.conf
not /sbin/init.d/
although mine is for the Service Control Manager and not public...

#
# If you wish httpd to run as a different user or group, you must run
# httpd as root initially and it will switch.
#
# User/Group: The name (or #number) of the user/group to run httpd as.
# . On SCO (ODT 3) use "User nouser" and "Group nogroup".
# . On HPUX you may not be able to use shared memory as nobody, and the
# suggested workaround is to create a user www and use that user.
# NOTE that some kernels refuse to setgid(Group) or semctl(IPC_SET)
# when the value of (unsigned)Group is above 60000;
# don't use Group nogroup on these systems!
#
User webadmin
Group other


/etc/passwd entries

webadmin:*:40:1::/usr/obam/server/nologindir:/usr/bin/false

www:*:30:1::/:


Later,
Bill
It works for me (tm)
Michael_33
Regular Advisor

Re: HTTD: bad group name www

Thanks all!

I want to assign the points to you,
but no "assign button", why?