Environment
Novell Open Enterprise Server 2 (OES2) Linux Support Pack 2
SUSE Linux Enterprise Server 10 Service Pack 3
SUSE Linux Enterprise Server 10 Service Pack 3
Situation
Apache and Tomcat fails to start
ERROR: httpd2-worker: bad user name wwwrun
ERROR: /usr/sbin/httpd2-worker -f /etc/apache2/httpd.conf -DSSL
ERROR: wwwrun:www: invalid user
ERROR: httpd2-worker: bad user name wwwrun
ERROR: /usr/sbin/httpd2-worker -f /etc/apache2/httpd.conf -DSSL
ERROR: wwwrun:www: invalid user
Resolution
Steps to Resolution:
- Ensure www group and wwwrun user are LUM enabled
- Launch iManager | Linux User Management | Enable Groups for Linux | browse and select wwwrun user | next | browse and select www group | next | browse and select the Unix Workstation object for the server | next | finish.
- On the server terminal run the following commands:
- namconfig cache_refresh
- rcnamcd restart
- id wwwrun (# it should display a return value for UID and GID)
- Modify /etc/passwd file and add the following line to the end of the file:
- wwwrun:x:30:8:www daemon apache:/var/lib/wwwrun:/bin/false
- Modify /etc/group file and add the following line to the end of the file:
- www:x:8:
- rcapache2 restart
- rcnovell-tomcat5 restart