help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Unable to lookup hostname or cfengine service


From: Tim Nelson
Subject: RE: Unable to lookup hostname or cfengine service
Date: Mon, 17 Jan 2005 11:50:16 +1100 (EST)

On Fri, 14 Jan 2005, Atom Powers wrote:

I've just started using cfengine and I'm having a similar problem on some of
my systems. But I know the hostname and cfengine service are working. It can
copy the files into /var/cfengine/inputs (from update.conf), but not the copy
commands in my cf.main. This same script works on some systems, but seems not
to work on the ones that are dual-homed. Cfengine v.2.1.10, FreeBSD 5.3
(server and clients) and FreeBSD 4.10 (clients).

sudo cfagent -v
<snip>
Connect to vesta0.pyramidbrew.com = 192.168.0.22 on port cfengine
cfengine:titan0: Unable to lookup hostname or cfengine service: No address
associated with hostname
cfengine:titan0: Couldn't open a socket
cfengine:titan0: Unable to establish connection with vesta0.pyramidbrew.com
(failover)
<snip>

host vesta0.pyramidbrew.com
vesta0.pyramidbrew.com has address 192.168.0.22

host 192.168.0.22
22.0.168.192.in-addr.arpa domain name pointer vesta0.pyramidbrew.com.

1.      Am I right in assuming that these host commands were run on titan0?
2.      Have you checked the DNS settings for titan0


grep cfengine /etc/services
cfengine        5308/tcp
cfengine        5308/udp

[from vesta0]
netstat -a | grep cfengine
tcp4       0      0  *.cfengine             *.*                    LISTEN



----
Perfection is just a word I use occasionally with mustard.

Atom Powers
Systems Administrator
Pyramid Breweries Inc.
206.682.8322 x251
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Chris Kacoroski
Sent: Wednesday, January 12, 2005 8:53 AM
To: address@hidden
Cc: address@hidden
Subject: Re: Unable to lookup hostname or cfengine service

Stuart,

Be sure you have forward and reverse lookups working for the client and
server from both the client and server.  If this is working, run it with the
-d1 switch to get more detailed debugging information.,

cheers,

ski

address@hidden wrote:
Hello All,

I am running into a rather odd error when executing cfrun that seems
to indicate a hostname lookup failure or an entry missing from
/etc/services.
The hostname is resolvable via dns and the resolver order on the
machines are ordered: hosts, dns. Other programs that use the resolver
libraries are able to resolve the name with no problems(short name or
FQDN).
An entry for cfengine is in /etc/service associated with port 5308 tcp
and udp.
This error only seems to occurs when using cfrun; it does not occur if
cfagent or cfexed is used.  Regularly schedule runs also do not
produce the problem.
The problem is occurring on Linux and Solaris alike.
I am running version 2.1.7p1 of cfengine on all platforms.

Any help would be greatly appreciated.
Thank You.

Following are snips from the logs...(logs are from client machines)

Linux RedHat ES3.0 /var/log/message
Jan 11 10:40:08 zoe cfservd[812]:  Unable to lookup hostname (nosy.()
or cfengine service: Name or service not known

Solaris 9 /var/adm/message
Jan 11 15:39:58 mccoy cfservd[363]: [ID 823470 daemon.error]  Unable
to lookup hostname (nosy.() or cfengine service: host/servname not
known



----------------------------------------------------------------------
--

_______________________________________________
Help-cfengine mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-cfengine

--
"When we try to pick out anything by itself, we find it
  connected to the entire universe"                John Muir

Chris "Ski" Kacoroski, address@hidden, 425-489-6263


_______________________________________________
Help-cfengine mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-cfengine



_______________________________________________
Help-cfengine mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/help-cfengine


--
Tim Nelson
Server Administrator
WebAlive Technologies Global
Level 1 Innovation Building, Digital Harbour
1010 LaTrobe Street
Docklands, Melbourne, Vic, 3008
Phone: +61 3 9934 0812
Fax: +61 3 9934 0899
E-mail: address@hidden
http://www.webalive.biz/

"Your Business, Your Web, Your Control"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]