EIM problem determination
When troubleshooting EIM, consider the following tips.
Consider the following when you are having problems with EIM:
- If the nfsrgyd or chnfsim commands
are unable to connect to the EIM LDAP server, ensure the ibmslapd process
is running on the EIM LDAP server by typing the following command:
If the ibmslapd process is not running, type the following command to activate it:ps -ef | grep ibmslapd
/usr/sbin/ibmslapd
- If the nfsrgyd or chnfsim commands
are able to connect to the EIM LDAP server but are unable to perform any
identity mapping operations, ensure the ibmslapd process
is not running in configuration-only mode. This can happen if the ldapdb2 database is not running when the ibmslapd server is started. Follow these steps:
- Log in to the EIM LDAP server as the root user.
- View the /var/ldap/ibmslapd.log file. Check when the last time the ibmslapd process started. Also check whether the server was started in configuration-only mode because it couldn't connect to the ldapdb2 database.
If the server was not able to connect to the ldapdb2 database, the database needs to be started. Follow these steps to start the ldapdb2 database:- Log into the EIM LDAP server as the root user.
- Type the following command to check if the ibmslapd process
is active:
If it is active, disable it by running the following command:ps -ef | grep ibmslapd
where pid is the process ID that was returned from the ps -ef command.kill ibmslapd pid
- After the ibmslapd process is disabled,
start the ldapdb2 database:
- Log in to the EIM LDAP server as the ldapdb2 user.
- Type
db2start
.
- After the ldapdb2 database is started,
activate the ibmslapd process:
- Log in to the EIM LDAP server as the root user.
- Type
ibmslapd
.