|
From: | Rick Nekus |
Subject: | cfengine not connecting to socket |
Date: | Thu, 19 Sep 2002 20:33:41 -0400 |
Hi all, Cfmaster: is the cfengine master file repository Sparestation2 = a cfclient -both are running linux (redhat 7.3) If I run cfagent individually on each machine all works. But when I try to update sparestation2 (a cfclient) by
running "cfrun" on cfmaster it gives the below error -these are both in DNS on a subnet using DHCP. I've setup cfservd.conf to acceptconnectionsfrom,
trustkeysfrom and "grant"ed root priveledges ? If anyone has seen this could auth errors
? Any help will be appreciated. Regards, Rick. The below output is from "cfservd -debug" running
on sparestation2 while executing cfrun -v on cfmaster: (see below) ... .... ..... Havekey(root-10.255.255.14) Loaded /var/cfengine/ppkeys/root-10.255.255.14.pub A public key was already known from
cfmaster.worldgaming.com/10.255.255.14 - no trust required The public key identity was confirmed as
root@cfmaster.worldgaming.com Transaction Send[t 16][Packed text] SendSocketStream, sent 24 Transaction Send[t 16][Packed text] SendSocketStream, sent 24 ChecksumString(m) Transaction Send[t 256][Packed
text] SendSocketStream, sent 264 RecvSocketStream(8)
(Concatenated 8 from stream) Transaction Receive [t 16][] RecvSocketStream(16)
(Concatenated 16 from stream) sparestation2: Strongly authentication of client
cfmaster.worldgaming.com/10.255.255.14 RecvSocketStream(8)
(Concatenated 8 from stream) Transaction Receive [t 16][] RecvSocketStream(16)
(Concatenated 16 from stream) Got a session key... RecvSocketStream(8)
(Concatenated 8 from stream) Transaction Receive [t 6][] RecvSocketStream(6)
(Concatenated 6 from stream) Received: [EXEC ] on socket 5 User root is not allowed on this server sparestation2: Host authorization/authentication failed or
access denied Transaction Send[t 64][Packed text] SendSocketStream, sent 72 sparestation2: From (host=cfmaster.worldgaming.com,user=root,ip=10.255.255.14) Terminating thread... ***Closing socket 5 from 10.255.255.14 Deleted item 10.255.255.14 .... .. . "cfrun -v" as run
on cfmaster: (see below) [root@cfmaster inputs]# cfrun -v Domain name = worldgaming.com cfrun: outputdir
= /var/cfengine/outputs GNU Cfengine server daemon - 2.0.3 Free Software Foundation 1994-2001 Donated by Mark Burgess, Faculty of Engineering, ------------------------------------------------------------------------ Host name is: cfmaster Operating System Type is linux Operating System Release is 2.4.18-3smp Architecture = i686 Using internal soft-class linux for host linux The time is now Thu Sep 19 ------------------------------------------------------------------------ Additional hard class defined as: 32_bit Additional hard class defined as: linux_2_4_18_3smp Additional hard class defined as: linux_i686 Additional hard class defined as: linux_i686_2_4_18_3smp Additional hard class defined as:
linux_i686_2_4_18_3smp__1_SMP_Thu_Apr_18_07_27_31_EDT_2002 GNU autoconf class from compile time: compiled_on_linux-gnu Address given by nameserver: 127.0.0.1 Loaded /var/cfengine/ppkeys/localhost.priv Loaded /var/cfengine/ppkeys/localhost.pub Looking for a source of entropy in /var/cfengine/randseed cfrun(0):
.......... [ Hailing
sparestation2.worldgaming.com ] .......... Loaded /var/cfengine/ppkeys/root-10.255.255.20.pub Connect to sparestation2.worldgaming.com = 10.255.255.20 on
port cfengine Loaded /var/cfengine/ppkeys/root-10.255.255.20.pub cfrun:cfmaster.worldgaming.com:
Strong authentication of server=sparestation2.worldgaming.com connection
confirmed cfrun:cfmaster.worldgaming.com:
Couldn't recv cfrun:cfmaster.worldgaming.com:
recv Connection with sparestation2.worldgaming.com completed cfrun(0):
.......... [ Hailing cfmaster.worldgaming.com ]
.......... Loaded /var/cfengine/ppkeys/root-10.255.255.14.pub Connect to cfmaster.worldgaming.com = 10.255.255.14 on port
cfengine Loaded /var/cfengine/ppkeys/root-10.255.255.14.pub cfrun:cfmaster.worldgaming.com:
Strong authentication of server=cfmaster.worldgaming.com connection confirmed cfrun:cfmaster.worldgaming.com:
Couldn't recv cfrun:cfmaster.worldgaming.com:
recv Connection with cfmaster.worldgaming.com completed |
[Prev in Thread] | Current Thread | [Next in Thread] |