1748181 Members
3641 Online
108759 Solutions
New Discussion юеВ

pakage not able to start

 
rajesh73
Super Advisor

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.

 

5 REPLIES 5
Patrick Wallek
Honored Contributor

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.

rajesh73
Super Advisor

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.

Patrick Wallek
Honored Contributor

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

bingoarunprasat
Advisor

Re: pakage not able to start

It seems your package is disabled.

 

Try this command 

 

 cmmodpkg -e PM

 

Then run the package 

 

cmrunpkg PM 

Deeos
Regular Advisor

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