Operating System - HP-UX
1838662 Members
8253 Online
110128 Solutions
New Discussion

Re: errors from cmcheckconf

 
Jody Davis
Occasional Contributor

errors from cmcheckconf

I am running cmcheckconf and am getting an error.

Can you help?

/etc/cmcluster # cmcheckconf -k -v -P /etc/cmcluster/cmclconfig.ascii

Checking existing configuration ...
Done
Parsing package file: /etc/cmcluster/cmclconfig.ascii.

cmcheckconf : Error found in package file: /etc/cmcluster/cmclconfig.ascii.
Error: Unknown keyword (CLUSTER_NAME) on line 10

doorsmf7
/etc/cmcluster #
5 REPLIES 5
Rita C Workman
Honored Contributor

Re: errors from cmcheckconf

Well your command line is saying -P and that refers to a package ascii file, NOT the cluster ascii file.

You might try:

cmcheckconf -k -v -C

Just a thought,
Regards,
Rita
Steven E. Protter
Exalted Contributor

Re: errors from cmcheckconf

Could we perhaps see the file? Seems to me that CLUSTER_NAME is probably a good keyword.

I can't see any SG machines right now, but I think thats right. It could be an error on an earlier line causing the problem.

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
Rita C Workman
Honored Contributor

Re: errors from cmcheckconf

Hi Stephen,

We seem to be playing tag lately on SG questions !!

Rita
melvyn burnard
Honored Contributor

Re: errors from cmcheckconf

If you are trying to check the cluster config against an ascii file, you are using the wrong option.
Use -C instead of -P, as this is telling it to check for a Package ascii or config file,.
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
Jody Davis
Occasional Contributor

Re: errors from cmcheckconf

Thank you everyone. I was using the wrong command. All looks well