1847240 Members
2561 Online
110263 Solutions
New Discussion

Re: Package not starting

 
Karthik Narayanan
Occasional Advisor

Package not starting

Hi,
I have a 2 node cluster and MC/SG running.
My cluster(hp11icluster) is up and running.
My cluster lock vol is /dev/vgha1 and logical vol is /dev/vgha1/lvha1. I can view the cluster is up and the 2 nodes up when i do cmviewcl.
Next I try to add a package. I have the same lock group vol /dev/vgha1 mentioned for the package volume also(volume grp mentioned when package is created).Just a simple xclock. so that when i start the package a xclock appears(the path is correct for the xclock appln). I was very much succesful in creating the package and all the control and package scripts been copied in the other node in the cluster. All the network,subnet and hearbeat config are proper.
NOW, I try to start the package on the configuaration node.. It begins to execute the
script. Now, I do cmviewcl. It says Package "Starting" and is always like that..never starts running.
I am NOT able to drop the package, nor kill the cluster.. I have to reboot.
Pls,let me know the problem..

thanks
--karthik
7 REPLIES 7
Uday_S_Ankolekar
Honored Contributor

Re: Package not starting

Hi,

Does cmapplyconf/cmcheckconf gave any error..?

What is your syslog output says.?
try with cmmodpkg to enable package

Goodluck
-USA..
Good Luck..
Sridhar Bhaskarla
Honored Contributor

Re: Package not starting

Karthik,

Check your /etc/cmcluster/package_name/package.ctl.log file and see what you are getting there. It could be a problem with your control script.

-Sri
You may be disappointed if you fail, but you are doomed if you don't try
Robin Wakefield
Honored Contributor

Re: Package not starting

Hi Karthik,

Are you seeing anything in your cluster log file? This should be in:

/etc/cmcluster/pkg/control.sh.log

(substitute as appropriate).

Rgds, Robin.
Carsten Krege
Honored Contributor

Re: Package not starting

If you run SG A.11.12 make sure that you have the SG patch PHSS_24537 (or any of the previous SG 11.12 patches) installed. The problem that is fixed with the patch is:

"Any application using SIGALRM will have problems with ServiceGuard. Such applications will not start/work properly when started from the ServiceGuard Package Manager."

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
G. Vrijhoeven
Honored Contributor

Re: Package not starting

Hi,

I think you should start your xclock in the backgroup (&).
this is set in the cntl file. you do not have to reconfigure your package just copy the cntl file over to the other node.

Gideon

melvyn burnard
Honored Contributor

Re: Package not starting

What does the package log on the node tell you?
also, silly question, but does the host you want to display the xclock on allow the connection from this host, i.e. xhost + setting?

My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Karthik Narayanan
Occasional Advisor

Re: Package not starting

thanks everone, i was ablt to get the package running.