Operating System - HP-UX
1833762 Members
2782 Online
110063 Solutions
New Discussion

Package enable/disable log!!

 
Sprint Unix Team
Frequent Advisor

Package enable/disable log!!

Hi,

I see one of the packages disabled on one of our servers. Is there a way or a log file to find out when this package was disabled...
5 REPLIES 5
Miguel Rodriguez_3
Frequent Advisor

Re: Package enable/disable log!!

I think that if nothing else happened to the node where the package is running (reboot, hangup, power fail, etc.), the only way to change the status of the package is to do it manually. By the way, what is the value of the PKG_SWITCHING_ENABLED parameter of the Package configuration file?
James R. Ferguson
Acclaimed Contributor

Re: Package enable/disable log!!

Hi:

You might look at /var/adm/syslog/syslog.log for any clues.

...JRF...
Denver Osborn
Honored Contributor

Re: Package enable/disable log!!

Have you looked at the log file for the package script? There should be a *.log file in the /etc/cmcluster/pkg_name/ directory. This might also help.

-denver
Carsten Krege
Honored Contributor

Re: Package enable/disable log!!

There are many different scenarios that a package can get disabled. The most common one is that the package was started manually with "cmrunpkg". In this case you need to enable it manually with "cmmodpkg -e" afterwards.

A table about the package manager behaviour is in the newest SG manual "Managing MC/ServiceGuard", December 2000 on pages 75-76. You can find it on http://docs.hp.com .

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
Vincenzo Restuccia
Honored Contributor

Re: Package enable/disable log!!

#more /etc/cmcluster/pkg_name/control.sh.log