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: Atom Powers
Subject: RE: Unable to lookup hostname or cfengine service
Date: Mon, 17 Jan 2005 08:51:56 -0800

 
Correction, removing BindToInterface seems to have fixed the problem.


----
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
Atom Powers
Sent: Monday, January 17, 2005 8:08 AM
To: Tim Nelson
Cc: address@hidden
Subject: RE: Unable to lookup hostname or cfengine service

 
I found that my reverse lookup form some of the cfengine clients was
incorrect and that fixed it on a few of the hosts. But DNS is correct for
Titan0, and I am still seeing the problem on that host. (host command output
below) I have also tried it with and without BindToInterface.


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

Atom Powers
Systems Administrator
Pyramid Breweries Inc.
206.682.8322 x251

-----Original Message-----
From: Tim Nelson [mailto:address@hidden
Sent: Sunday, January 16, 2005 4:50 PM
To: Atom Powers
Cc: address@hidden
Subject: RE: Unable to lookup hostname or cfengine service

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

>From Vesta0:
> host titan0
titan0.pyramidbrew.com has address 192.168.0.2
> host 192.168.0.2
2.0.168.192.in-addr.arpa domain name pointer titan0.pyramidbrew.com.
> host vesta0
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.

>From Titan0:
> host titan0
titan0.pyramidbrew.com has address 192.168.0.2
> host 192.168.0.2
2.0.168.192.IN-ADDR.ARPA domain name pointer titan0.pyramidbrew.com

>
>> 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
--
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"


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





reply via email to

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