Operating System - HP-UX
1838682 Members
5057 Online
110128 Solutions
New Discussion

Re: what is a cmknowncmds file?

 
이세진
New Member

what is a cmknowncmds file?

I am learning a service guard
I saw a error in /var/adm/syslog/syslog.log
Error : not open /etc/cmcluster/cmknowncmds

but cmknowncmds file is not exist in nodes

what is a cmknowncmds file?
did cluster complete while this file is not exited?

please

ps. SG is recommanded H/W setting for SG version
6 REPLIES 6
Warren_9
Honored Contributor

Re: what is a cmknowncmds file?

Hi,

the file is introduced on 11.16 and you need to re-create it if it is not exist...

# touch /etc/cmcluster/cmknowcmds
# chmod 400 /etc/cmcluster/cmknowcmds
# chown bin:bin /etc/cmcluster/cmknowcmds

GOOD LUCK!!
Peter Godron
Honored Contributor

Re: what is a cmknowncmds file?

이세진
New Member

Re: what is a cmknowncmds file?

thanks for commands

but i confused
why does this file(a cmknowncmds file) be used in service guard

what's role?
Peter Godron
Honored Contributor

Re: what is a cmknowncmds file?

Hi,
all the ServiceGuard documentation states is that this file is an internal file. Maybe for planned enhancements?? The new version apparently has a comment in the file warning against removal.

Could you please complete the thread by awarding points to helpful answers and summarising the solution for you.
This will help resolution of similar problems in the future.
Steve Steel
Honored Contributor

Re: what is a cmknowncmds file?

As I put in the parallel thread

Hi

I presume you are on 11.16

You need to install patch
PHSS_32731 or later.

Patch Name: PHSS_35302

Patch Description: s700_800 11.11 Serviceguard A.11.16.00


The patch refers to the problem in its doc:

5. A new internal file called cmknowncmds now exists in
in /etc/cmcluster. T he file was originally shipped as
an empty file giving the customer no idea the
importance of the file. If this file is accidentally
deleted the cluster can fail to start and messages
are logged in syslog that say: "Error opening
/etc/cmcluster/cmknowncmds


Steve Steel



This is an internal file and should not be edited or deleted
If you want truly to understand something, try to change it. (Kurt Lewin)
이세진
New Member

Re: what is a cmknowncmds file?

thank you for your help

I can see the a cmknowncmds file

thanks