How to troubleshoot SMH

From Wiki-UX.info
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
<127.0.0.1>	localhost
<ip address> <fqdn_hostname@hp.com> <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

References[edit]

Authors[edit]