How to troubleshoot SMH

Jump to: navigation, search

- Check the SMH log files:

# more /opt/hpsmh/logs/smh.log

- Verified that the /etc/hosts file have full qualified domain name and an alias). For example:

# cat /etc/hosts
<>	localhost
<ip address> <> <hostname>

- Check the resolution of the hostname:

# nsquery hosts <hostname>

- Check the /etc/nsswitch.conf file. If you relay on /etc/hosts for hostname resolution, the hosts should be resolved by "files" first and then by "dns".

# cat /etc/nsswitch.conf
hosts:            files dns

- Stop the hpsmh daemon

# /sbin/init.d/hpsmh stop

- Stop the cim_server daemon

# /sbin/init.d/cim_server stop

- Start the cim_server daemon

# /sbin/init.d/cim_server start

- Start the hpsmh daemon

# /sbin/init.d/hpsmh start