Operating System - HP-UX
1834163 Members
2559 Online
110064 Solutions
New Discussion

Re: cmrunserv - Missing service

 
SysAdminGuy
Advisor

cmrunserv - Missing service


I am running HPUX 11.23 MC/SG A.11.18

When trying to build a single node cluster

I receive the following..

cmrunserv: Service name oracle does not exist.

ERROR: Function start_services

ERROR: Failed to start service ora



Checked the package and cluster config files and the SERVICE_NAME oracle is there?
7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: cmrunserv - Missing service

Shalom,

Have you designated a cluster lock disk and confirmed every file referred to in every package control script and the cluster configuration exist?

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
SysAdminGuy
Advisor

Re: cmrunserv - Missing service

We hadn't done. Its a single node cluster, is this needed?

I have copied the config from another single node cluster and that didn't have it?

thanks
melvyn burnard
Honored Contributor

Re: cmrunserv - Missing service

well what that is telling me is that you have defined a Service in the configuration file for the package, but have you set it up in the control script?
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
SysAdminGuy
Advisor

Re: cmrunserv - Missing service

Thats what I thought as well but looking at both files I can see we have configured it in both

/etc/cmcluster/OpC/OpC.conf.ascii
SERVICE_NAME oracle
SERVICE_FAIL_FAST_ENABLED NO
SERVICE_HALT_TIMEOUT 60

/etc/cmcluster/OpC/OpC.conf.script

SERVICE_NAME[0]=oracle
SERVICE_CMD[0]="/etc/cmcluster/$PKG/oracle.mon"
SERVICE_RESTART[0]="-r 50"
melvyn burnard
Honored Contributor

Re: cmrunserv - Missing service

Ok, but is this in your cluster binary file?
use cmviewconf, redirect it to a file, and check to see if this service is registered for your package.
you could also do cmviewcl -v -p
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Roopesh Francis_1
Trusted Contributor

Re: cmrunserv - Missing service

What is the status now?
is your single node cluster up and running?
Are you trying to start your package?
What are the services defined in the package?
are they exist on the server?
Stephen Doud
Honored Contributor

Re: cmrunserv - Missing service

As Melvyn said, apply the package configuration file that contains the service declarations:
1) cmapplyconf -f -P /etc/cmcluster/OpC/OpC.conf.ascii

If it applies, start the package
2) cmrunpkg OpC

View the package services:
3) cmviewcl -v -p OpC