Re: pakage not able to start (188 Views)
Reply
Super Advisor
rajesh73
Posts: 431
Registered: ‎03-17-2009
Message 1 of 6 (270 Views)

pakage not able to start

customer requet to stop and star the pakage. we first stop the pakage.


I am maually start the pakage in primary node but it gives below error

Running package PM on node sm1
The package script for PM failed with no restart. PM should not be restarted
Unable to run package PM on node sm1
Check the syslog and pkg log files for more detailed information
cmrunpkg: Unable to start some package or package instances.


cluster status
************
CLUSTER        STATUS
smlu01     up

  NODE           STATUS       STATE
  sm1       up           running
  sm2       up           running

    PACKAGE        STATUS           STATE            AUTO_RUN    NODE
    PM              down            failed         disabled        unowned


 
Doubt
******
why STATE is shows failed and STATUS shows down. how to over this issue.

 

Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,733
Registered: ‎06-21-2000
Message 2 of 6 (261 Views)

Re: pakage not able to start

>>Check the syslog and pkg log files for more detailed information

 

So did you do this?  Check /var/adm/syslog/syslog.log and the log file in /etc/cmcluster/PM and see what they say.

 

We can't help you if you don't post errors that are given in those files.

Please use plain text.
Super Advisor
rajesh73
Posts: 431
Registered: ‎03-17-2009
Message 3 of 6 (235 Views)

Re: pakage not able to start


hi

 

pleas find the below syslog erro message.

 

Mar  9 01:46:44 sm1 syslog: /usr/sbin/cmrunpkg -n sm1 PM
Mar  9 01:46:44 sm1 syslog: Request from root on node sm1 to start package PM
Mar  9 01:46:44 sm1 cmcld[2957]: Request from root on node sm1 to start package PM
Mar  9 01:46:44 sm1 cmcld[2957]: Request from node sm1 to start package PM on node sm1.
Mar  9 01:46:44 sm1 cmcld[2957]: Executing '/etc/cmcluster/scripts/mscripts/master_control_script.sh start' for package PM, as service PKG*111617.
Mar  9 01:46:44 sm1 cmserviced[2961]: Request to start package PM
Mar  9 01:46:44 sm1 LVM[2869]: vgchange -a e /dev/vg02
Mar  9 01:46:47 sm1 LVM[2937]: vgchange -a n /dev/vg02
Mar  9 01:46:47 sm1 cmserviced[2961]: Package Script for PM failed with an exit(1).
Mar  9 01:46:47 sm1 cmcld[2957]: Package PM run script exited with NO_RESTART.
Mar  9 01:46:47 sm1 cmcld[2957]: Examine the file /var/adm/cmcluster/log/PM.log for more details.
Mar  9 01:46:47 sm1 cmcld[2957]: Switching disabled on package PM.
Mar  9 01:46:47 sm1 cmcld[2957]: Request from node sm1 to disable global switching for package PM.
Mar  9 01:46:47 sm1 cmcld[2957]: Unable to start package PM. Node sm1 is not able to run it.

Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,733
Registered: ‎06-21-2000
Message 4 of 6 (231 Views)

Re: pakage not able to start

Please look at this log, as per the syslog.log: Examine the file /var/adm/cmcluster/log/PM.log for more details

Please use plain text.
Advisor
bingoarunprasat
Posts: 26
Registered: ‎08-21-2013
Message 5 of 6 (217 Views)

Re: pakage not able to start

It seems your package is disabled.

 

Try this command 

 

 cmmodpkg -e PM

 

Then run the package 

 

cmrunpkg PM 

Please use plain text.
Regular Advisor
Deeos
Posts: 133
Registered: ‎10-15-2009
Message 6 of 6 (188 Views)

Re: pakage not able to start

HI

could you post the output of /var/adm/cmcluster/log/PM.log file.

 

tail -50 /var/adm/cmcluster/log/PM.log

 

DEEOS

 

 

Deepak
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation