Article ID: 121938, created on Jun 7, 2014, last review on Nov 29, 2016

  • Applies to:
  • Operations Automation 7.0
  • Operations Automation 6.0
  • Operations Automation 5.5

Symptoms

All sites located on NG Web-cluster are showing error 500 for pages with dynamic content.

  1. Following errors are registered in sites logs:

    Premature end of script headers: php-cgi
    
  2. Webspace content listing shows that instead of usernames UIDs are shown:

    # ls -als /var/www/vhosts/2/100624
    total 28
    4 drwxr-xr-x   6 root   root   4096 Nov 27  2012 .
    4 drwxr-xr-x 121 root   root   4096 May 18 09:10 ..
    4 drwxr-x---   2 root   pemsrv 4096 May 18 04:02 log
    4 drwxr-x---   2 100624 pemsrv 4096 Nov 27  2012 pear
    4 -rwxr-x---   1 100624 pemsrv  414 Nov 27  2012 .pearrc
    4 drwxr-x---   2 apache apache 4096 Nov 27  2012 tmp
    4 drwxr-xr-x  13 root   root   4096 Nov 27  2012 webspace
    
  3. Using following command we can find username by UID:

    # getent passwd | grep 100624
    e100624:*:100624:10003:POA Webspace Owner:/var/www/vhosts/1/100624:/sbin/nologin
    
  4. But following command returns null result:

    # id e100624
    id: 101287: No such user
    

Cause

Service NSCD is working and causes the conflicts with LDAP.

# /etc/init.d/nscd status
nscd (pid 884868) is running...

Resolution

The service have to be stopped and disabled.

Execute following on every Web-server of NG Web Cluster:

# chkconfig nscd off
# /etc/init.d/nscd stop

Search Words

Creating virtual host directory structure

Premature end of script headers: php-cgi

User 't100144' does not exist.

5b048d9bddf8048a00aba7e0bdadef37 caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e e12cea1d47a3125d335d68e6d4e15e07 0871c0b47b3b86ae3b1af4c2942cd0ce 1941880841f714e458ae4dc3d9f3062d 956c448bddc7e1f3585373687602379f 6f1456866eed87488c0f02b298a741c0

Email subscription for changes to this article
Save as PDF