I was having a problem with the event viewer
root@hp-ux:~ # evweb eventviewer -L
An error occured while executing the request. Please check log file for more details.
I was instructed to check the log file /var/opt/sfm/log/sfm.log
root@hp-ux:~ # cat /var/opt/sfm/log/sfm.log
09/26/13 19:03:01 EVWEB_DB_LIB 63 WARNING 1825 15 LOGDB: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket “/tmp/.s.PGSQL.10864”?09/26/13 19:03:01 commonLog 122 ERROR 1825 15 DB Connection failed to LOGDB…
09/26/13 19:03:01 commonLog 78 CRITICAL 1825 15 DB connection failed
09/26/13 19:17:50 UTILS 348 CRITICAL 1825 1 Thread Join Failed , Errno: 3
Then some services needed to be restarted
root@hp-ux:~ # /opt/wbem/sbin/cimserver -s
PGS10019: CIM server is stopped.
root@hp-ux:~ # usermod -s /sbin/sh sfmdb
root@hp-ux:~ # /sbin/init.d/psbdb stop
root@hp-ux:~ # /sbin/init.d/psbdb start
root@hp-ux:~ # /opt/wbem/sbin/cimserver
root@hp-ux:~ #