Check your master file repository and ensure that the file in question is available and has the right permissions.

7.“Couldn’t open a socket ” or “unable to establish connection:” errors cfagent and cfrun can display errors such as:

cfengine:: Couldn’t open a socket

cfengine:: Unable to establish connection with host1 (failover)

host2: Couldn’t open a socket

If the master server cfservd is running, this error could indicate that a there is a firewall or port issue such that the client cannot reach port TCP 5308 on the master server. When using cfrun, the master server must also be able to reach TCP port 5308 on the remote client. Ensure that any firewall rules allow access to these ports.

8.cfengine command line arguments are case-sensitive. For example, cfagent supports both the -kand -Koptions which have different meanings:

-kinstructs cfagent to ignore the copy actionsequence

-Kinstructs cfagent to ignore locks when running

9.How do I make cfengine more verbose?

Most cfengine tools and daemons accept a verbose (-v)option and several debugging (-d)options. For example:

cfagent -d, -d1, -d2, or -d3 cfservd -v

cfrun -v

40 Configuration Synchronization

Page 40
Image 40
HP UX System Adstration manual Cfagent -d, -d1, -d2, or -d3 cfservd Cfrun