cancel
Showing results for 
Search instead for 
Did you mean: 

How to restart psmctd

skt_skt
Honored Contributor

How to restart psmctd

HPUX 11.00
9 REPLIES
rariasn
Honored Contributor

Re: How to restart psmctd

He,

# man psmctd

psmctd is launched at boot by the diagmond(1m) daemon. In addition, psmctd can be shutdown and restarted by using the Support Tools Manager, stm(1m). Care should be taken, however, when shutting down this daemon is it will cause the psmmon(1m) to return errors for future requests for state information, which may cause package failure
if ServiceGuard is currently monitoring a resource recognized by psmctd thru the psmmon(1m) monitor.

rgs,

rariasn
Avinash20
Honored Contributor

Re: How to restart psmctd

Just use 'kill -9', and it will get restarted automatically.

# ps -ef| grep psmctd
root 1629 1440 0 Mar 8 ? 0:45 psmctd
root 15785 10339 0 00:40:49 pts/tc 0:00 grep psmctd
# kill -9 psmctd
sh: psmctd: Specify a process identifier or a %job number.
# kill -9 1629
# ps -ef| grep psmctd
# ps -ef| grep psmctd
root 15788 1440 0 00:41:05 ? 0:00 psmctd

Please assign points )
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
skt_skt
Honored Contributor

Re: How to restart psmctd

kill did not help
Avinash20
Honored Contributor

Re: How to restart psmctd

## Please post the output of

ps -el | grep psmctd
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
skt_skt
Honored Contributor

Re: How to restart psmctd

i dont want to post blank o/p; kill was success; But the daemon did not restart ; I tried restaring diagdaemon/(sbin/init.d/diagnostic?
Avinash20
Honored Contributor

Re: How to restart psmctd

Sorry, I thought that you are unable to kill the daemon, hence gave the command

/sbin/init.d/ems stop
/sbin/init.d/diagnostic stop

# ps -ef| grep psmctd
# ps -ef| grep diag
# /sbin/init.d/diagnostic start
# /sbin/init.d/ems start
# ps -ef| grep diag
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
skt_skt
Honored Contributor

Re: How to restart psmctd


acadv02:root [/sbin/init.d] /sbin/init.d/ems start
This script does not start the EMS Services
acadv02:root [/sbin/init.d] /sbin/init.d/ems stop
This script does not stop the EMS Services


'start')
if [ ! -f /etc/opt/resmon/persistence/runlevel4_flag ]
then
xxxxxxx
else
print "This script does not start the EMS Services"
exitval=$NOP
fi


'stop')
print "This script does not stop the EMS Services"
exitval=$SUCCESS # No-op
;;
Avinash20
Honored Contributor

Re: How to restart psmctd

Output of

# set_fixed -l

You could restart the EMS via monconfig
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
skt_skt
Honored Contributor

Re: How to restart psmctd

psmctd is running now; even though it took time to come up