Cannot login to server console, "top" does not respond.

  • 7011288
  • 31-Oct-2012
  • 19-Nov-2012

Environment

Novell Open Enterprise Server 2 (OES 2) Linux Support Pack 3
Novell Open Enterprise Server 11 (OES 11) Linux Support Pack 1
Novell Open Enterprise Server 11 (OES 11) Linux Support Pack 2

Situation

Login to server console does not complete (must use ctl-c to get console prompt)
Running TOP command does not complete.
Running rcndsd status does not complete.
The following messages can be found in /var/log/warn
/usr/sbin/namcd[6929]:  ldap_initconn: LDAP bind failed to Preferred Server (error = [81]), trying to connect to alternative LDAP server
/usr/sbin/namcd[6929]:  ldap_initconn: Alternative ldap server list not configured in config file, No ldap servers are reachable... error[2]

Resolution

Check the /etc/nam.conf file and verify the preferred-server points to a working LDAP server with the appropriate replicas.
Also, in the nam.conf file make sure the "alternative-ldap-server-list" parameter is configured to point to additional LDAP servers.The syntax for this parameter is to have a comma-separated list of names (or IPAddresses) of alternate LDAP servers.

For example:

alternative-ldap-server-list 10.0.0.12,10.0.0.13,10.0.0.14
To test if namcd is what is hanging these command, use the strace command. For example, to strace the top command use the following syntax:
strace -tt -T -f -o /tmp/top.out top
This command will output the contents of the strace command to a file called /tmp/top.out

Cause

If the server that is specified in the nam.conf file does not respond to LDAP request, the namcd daemon will simply wait for a response. If there is no alternative-ldap-server-list, then namcd will simply hang. To end any of the hung command you will need to do a ctl-c. To get the services to start responding again restart namcd by doing rcnamcd restart.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.