Operating System - HP-UX
1825795 Members
2211 Online
109687 Solutions
New Discussion

Re: starting package in debug mode

 
anand_51
Advisor

starting package in debug mode

Hi,
We tried to start one of our package in debug mode.for that we created one debug file in /etc/cmcluster.while starting package by using cmrunpkg command,the application also getting started.any sugessions?
9 REPLIES 9
Steven E. Protter
Exalted Contributor

Re: starting package in debug mode

Shalom,

try a set -x in the package control script.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
melvyn burnard
Honored Contributor

Re: starting package in debug mode

Has the package control file got the logic in it to use this debug file?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Stephen Doud
Honored Contributor

Re: starting package in debug mode

Can you attach the package control script and the package control log?
Is this an SGeSAP package?
Peter Godron
Honored Contributor

Re: starting package in debug mode

Hi,
can I suggest you create the debug file on both nodes. Also, your package has to be able to understand the debug file.

anand_51
Advisor

Re: starting package in debug mode

Please find the package control script and logs.
anand_51
Advisor

Re: starting package in debug mode

sorry i forgot to attach log file
Stephen Doud
Honored Contributor

Re: starting package in debug mode

Per OS440 on page 134 of http://docs.hp.com/en/T2803-90002/T2803-90002.pdf
... touch the debug file in the SAP package directory:
touch /etc/cmcluster//debug
melvyn burnard
Honored Contributor

Re: starting package in debug mode

well you are using SGeSAP, and it DID find the debug file:
Jan 10 13:46:44 - Node "itdep1ci": (check_debug): TRACE POINT
Jan 10 13:46:44 - Node "itdep1ci": (check_debug): Debug mode: Skipping SAP specific runtime steps


However there appears to be some other issue that caused the packkage to halt again:
Starting SAP Instance JC00
------------------------------
Startup-Log is written to /home/ep1adm/startsap_JC00.log
Startup of Instance failed
See /home/ep1adm/startsap_JC00.log for details


You need to review the above logs.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
anand_51
Advisor

Re: starting package in debug mode

problem is still there. any way i am closing the thread