Skip to main content

LevelBlue Completes Acquisition of Cybereason.  Learn More

LevelBlue Completes Acquisition of Cybereason.  Learn More

Services
Cyber Advisory
Managed Cloud Security
Data Security
Managed Detection & Response
Email Security
Managed Network Infrastructure Security
Exposure Management
Security Operations Platforms
Incident Readiness & Response
SpiderLabs Threat Intelligence
Solutions
BY TOPIC
Offensive Security
Solutions to maximize your security ROI
Operational Technology
End-to-end OT security
Microsoft Security
Unlock the full power of Microsoft Security
Securing the IoT Landscape
Test, monitor and secure network objects
Why LevelBlue
About Us
Awards and Accolades
LevelBlue SpiderLabs
LevelBlue Security Operations Platforms
Security Colony
Partners
Microsoft Security
Unlock the full power of Microsoft Security
Technology Alliance Partners
Key alliances who align and support our ecosystem of security offerings
Loading...
Loading...

ERRMSG: Error: 'No such file or directory: getpwuid: couldn't determine user name from uid <Value>, you probably need to modify the User directive.'

Expand / Collapse


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:

  1. Navigate to the following directory:

    <SRCInstallDir>/common/apache/conf

  2. Open the httpd.conf file.

  3. Find the following line:

    LoadModule userdir_module modules/mod_userdir.so

  4. 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

  5. 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

  6. Restart the Tomcat and Apache processes by running the following commands from the <SRCInstallDir>/common/bin directory:

    ./stopallui.src
    ./startallui.src

  7. Launch Security Reporting Center.


If this does not resolve the issue, configure User and Group directives.  To do this, please follow the steps below:

  1. Open the httpd.conf file.

  2. At the bottom of the file, add the following lines:

    User nobody
    Group nobody

  3. Save the file.

  4. 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

  5. Restart the Tomcat and Apache processes by running the following commands from the <SRCInstallDir>/common/bin directory:

    ./stopallui.src
    ./startallui.src

  6. Launch Security Reporting Center.

This article was previously published as:
NETIQKB39030

To contact LevelBlue about this article or to request support:


Rate this Article:
     
Tags:

Add Your Comments


Comment submission is disabled for anonymous users.
Please send feedback to Trustwave Technical Support or the Webmaster
.