help-cfengine
[Top][All Lists]
Advanced

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

cfservd coredumps


From: Martin A. Brooks
Subject: cfservd coredumps
Date: Mon, 19 Aug 2002 19:12:37 +0100

Hi

I've found away of reliably making cfservd coredump.

I have two hosts, let's call them master and slave. I use master to push out a current hosts file to slave, so I have a file that looks like this

1.2.3.4 master
1.2.3.5 slave

I change the IP of slave to 1.2.3.6 AND I change the hosts file on master to reflect the change, fully expecting cfengine to push out the new configuration. The result is cfservd coredumping. I'm sorry I have to anonymise the error, but please assume that xxxxx is the slave and yyyyy is the master.

----------------------------------
New connection...(from ::ffff:10.4.16.63)
Spawning new thread...
Checking file updates on /var/cfengine/inputs/cfservd.conf (3d490559/3d613025)
RecvSocketStream(8)
    (Concatenated 8 from stream)
Transaction Receive [t 54][]
RecvSocketStream(54)
    (Concatenated 54 from stream)
Received: [CAUTH 10.4.16.63 xxxxx root 0] on socket 7
Connecting host identifies itself as 10.4.16.63 xxxxx root 0
(ipstring=[10.4.16.63],fqname=[xxxxx],username=[root],socket=[::ffff:10.4.16.63])
FuzzyItemIn(10.4.16.63)
Socket caller address appears honest (10.4.16.63 matches 10.4.16.63)
yyyyy: Socket originates from 10.4.16.63=xxxxx
Attempting to look up hostname (xxxxx)
yyyyy: Unable to lookup xxxxx
yyyyy: getaddrinfo: Undefined error: 0
Segmentation fault (core dumped)
----------------------------------------

To fix this, I need to remove the stale entry from the slave's host file, restart cfservd then run cfagent on the client (or wait from the cron job. The hosts file then replicates as normal.

Regards

Martin A. Brooks
----------------------
Clues Ltd            e: martin@clues.ltd.uk
3 Thorpe Crescent    t: +44 (0) 20 8886 4521
London               f: +44 (0) 20 8523 4519
E17 5BY              w: http://www.clues.ltd.uk





reply via email to

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