This article applies to:
- Security Reporting Center 2.1
Symptoms:
- Error: 'No such file or directory: getpwuid: couldn't determine user name from uid <Value>, you probably need to modify the User directive.'
- Cannot start the Apache process.
Information:
To resolve this issue, complete the following steps:
- Navigate to the following directory:
<SRCInstallDir>/common/apache/conf
- Open the
httpd.conf
file.
- Find the following line:
LoadModule userdir_module modules/mod_userdir.so
- Comment out this line by adding a pound (#) sign in front of the line so that it reads:
#LoadModule userdir_module modules/mod_userdir.so
- Repeat steps 3 and 4, and modify the following files:
<SRCInstallDir>/common/apache/conf/httpd_with_ssl.conf.template
<SRCInstallDir>/common/apache/conf/httpd_without_ssl.conf.template
- Restart the Tomcat and Apache processes by running the following commands from the
<SRCInstallDir>/common/bin
directory:
./stopallui.src
./startallui.src
- Launch Security Reporting Center.
If this does not resolve the issue, configure User and Group directives. To do this, please follow the steps below:
- Open the
httpd.conf
file.
- At the bottom of the file, add the following lines:
User nobody
Group nobody
- Save the file.
- Repeat step 2, modifying the following files:
<SRCInstallDir>/common/apache/conf/httpd_with_ssl.conf.template
<SRCInstallDir>/common/apache/conf/httpd_without_ssl.conf.template
- Restart the Tomcat and Apache processes by running the following commands from the
<SRCInstallDir>/common/bin
directory:
./stopallui.src
./startallui.src
- Launch Security Reporting Center.
- This article was previously published as:
- NETIQKB39030