Operating System - HP-UX
1832977 Members
3427 Online
110048 Solutions
New Discussion

Re: package integration fails..

 
R.K. #
Honored Contributor

package integration fails..

Hi All,

This is what happens when I try to integrate am application to a package:

---------------------
Service pack_app__mon has no status entry. Either its package is not running or this is not a configured service name

cmrunserv: Service name pack_app__mon does not exist.
ERROR: Function start_services
ERROR: Failed to start service pack_app__mon
---------------------
Whats wrong?

thakns....
Don't fix what ain't broke
8 REPLIES 8
R.K. #
Honored Contributor

Re: package integration fails..

FEW MORE DETAILS....

This is what I have edited in .cntl file:

SERVICE_NAME[0]=pack1_db_mon
SERVICE_CMD[0]="/data1/bin/monitor_db"
SERVICE_RESTART[0]="-r 2"

SERVICE_NAME[1]=pack1_app__mon
SERVICE_CMD[1]="/data1/bin/monitor_app"
SERVICE_RESTART[1]=""


AND

this is what I did in .conf file:

SERVICE_NAME pack1_db_mon
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 300

SERVICE_NAME pack1_app_mon
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 300

Do I need to do anything else apart from cmapplyconf and copying the .cntl file ??

-thanks
Don't fix what ain't broke
Kenan Erdey
Honored Contributor

Re: package integration fails..

hi,

can it be you left pack_app__mon somewhere. try grepping pack_app__mon. because you wrote pack1_app__mon.
Computers have lots of memory but no imagination
melvyn burnard
Honored Contributor

Re: package integration fails..

Hmm, from your post: Service pack_app__mon has no status entry

So it looks like you have a typo that must be fixed
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
R.K. #
Honored Contributor

Re: package integration fails..

Sorry for my earlier post...it is indeed pack1_db_mon in .cntl file as below:

SERVICE_NAME[0]=pack1_db_mon
SERVICE_CMD[0]="/data1/bin/monitor_db"
SERVICE_RESTART[0]="-r 2"

SERVICE_NAME[1]=pack1_app__mon
SERVICE_CMD[1]="/data1/bin/monitor_app"
SERVICE_RESTART[1]=""
Don't fix what ain't broke
melvyn burnard
Honored Contributor

Re: package integration fails..

so what is currently set in the binary?
do a cmviewconf and look for the packages listed services. Also check on all nodes for a typo
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
R.K. #
Honored Contributor

Re: package integration fails..

Everything seems to be ok....why am i getting cmrunserv error?
Don't fix what ain't broke
melvyn burnard
Honored Contributor

Re: package integration fails..

Because it is trying to run pack_app__mon and cannot find it in the configuration or in a package.
You need to verify your scripts, config files and cluster config
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
R.K. #
Honored Contributor

Re: package integration fails..

Thanks to all of you guys.
Don't fix what ain't broke