Operating System - HP-UX
1840220 Members
4482 Online
110162 Solutions
New Discussion

Re: MC Service Guard error running cmcheckconf -v -P

 
mlewis
Frequent Advisor

MC Service Guard error running cmcheckconf -v -P

Hi all, wonder if anyone can help. I have a preciously configured cluster which is working fine. I can use the r commands between the 2 nodes fine, however when running the command above I get the followng error.
cmcheckconf : Error found in package file: vitesse_prd.conf.
Error: Unable to lookup run script /etc/cmcluster/vitesse_prd/vitesse_prd.sh on node server2: Permission denied

The file exsists on server2 and strangely enough when I run this command on server2 the command works fine? Any onw seen this before?
4 REPLIES 4
rariasn
Honored Contributor

Re: MC Service Guard error running cmcheckconf -v -P

Hi mlewis,

Put output from command:

# cmgetconf -v -p vitesse_prd /tmp/vitesse_prd.txt

rgs,

ran
mlewis
Frequent Advisor

Re: MC Service Guard error running cmcheckconf -v -P

/etc/cmcluster/vitesse_prd#cmcheckconf -v -P vitesse_prd.conf

Checking existing configuration ... Done
Gathering configuration information ... Done
Parsing package file: vitesse_prd.conf.

cmcheckconf : Error found in package file: vitesse_prd.conf.
Attempting to add package vitesse_prd.
Error: Unable to lookup run script /etc/cmcluster/vitesse_prd/vitesse_prd.sh on node server2: Permiss
on denied

This is all of it!
rariasn
Honored Contributor

Re: MC Service Guard error running cmcheckconf -v -P

Hi mlewis,

If package vitess_prd run ok, then obtain pakage information with "cmgetconf"; then modify this file and apply the new configuration.

-P pkg_ascii_file...
Name of the package configuration file(s) to use. A
package configuration template file can be created by
using the cmmakepkg command and must be customized to
include specific information for the package. See
cmmakepkg(1). A configuration file for an existing
package can be generated by using the cmgetconf
command. See cmgetconf(1). Once a package
configuration file is generated from the existing
configuration using cmgetconf, it can be modified to
reflect the desired changes for that package. The
package configuration file will be scanned for the
purpose of validation.

rgs,

ran
mlewis
Frequent Advisor

Re: MC Service Guard error running cmcheckconf -v -P

rariasn

thanks for your help. It was a dns issue, that was resolving th epackage name as a production ip address.

Thanks for your help.