Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Configuring a System
Using Distributed Systems Administration Utilities
Chapter 3184
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 -k and -K options which have different
meanings:
• -k instructs cfagent to ignore the copy action sequence
• -K instructs cfagent to ignore locks when running
9. How do I make cfengine more verbose?
Most cfengine tools and daemons accept a verbose option and several
debugging options. For example:
cfagent -d, -d1, -d2, -d3, or -d4 # for debug output
cfservd -v
cfrun -v
Introduction to syslog
syslogd (see syslogd (1M)) is a ubiquitous component of UNIX systems
that performs system logging activities. syslogd reads from a set of log
sources such as /dev/log and /dev/klog and processes the log
messages as instructed in /etc/syslog.conf. Applications log messages
to syslog using the syslog() call (see syslog (3C)).
syslog Message Format
A syslog message has a standard format which includes an optional
priority level and facility. The priority level indicates the urgency of the
message. The facility indicates the subsystem that posted the message.
Table 3-1 lists the priority level and facilities defined in
/usr/include/syslog.h.