[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Ask for help!(host authentication failed.did you forget the domain?)
From: |
kong guilan |
Subject: |
Ask for help!(host authentication failed.did you forget the domain?) |
Date: |
Tue, 14 Oct 2003 01:35:12 +0000 |
Hi,everyone.
I have installed cfengine on two
hosts(192.168.40.31/kgl,192.168.40.131/chf),kgl is working as a server
host, and chf is working as a client host.I want to connect to server kgl
from host chf.And i have customed cfservd.conf,cfagent.conf and update.conf
on both hosts (including cfrun.hosts on server kgl).But when i run cfagent
from chf,i encountered an error:
Host authentication failed.Did you forget the domain name?
Now i have recorded the complete information of 'cfservd -d2'command on
server kgl.I put part of the information in the following:
##########################################################################
# BEGIN PARSING /var/cfengine/inputs/cfservd.conf
##########################################################################
AddClassToHeap(kgl_bise_ac_cn)
Appending [192.168.40.131]
Appending [192.168.40.131]
RecordMacroId(trustkey)
AddMacroValue(server.trustkey=true)
Added Macro at hash address 252 to object server with value trustkey=true
Appending [192.168.40.131]
RecordMacroId(cfrunCommand)
AddMacroValue(server.cfrunCommand=/usr/sbin/cfagent)
Added Macro at hash address 614 to object server with value
cfrunCommand=/usr/sbin/cfagent
Appending [root]
RecordMacroId(MaxConnections)
AddMacroValue(server.MaxConnections=10)
Added Macro at hash address 892 to object server with value
MaxConnections=10
Appending [192.168.40.131]
New admit/deny object=/var/cfengine/inputs
Check ParsingIPRange(*.bise.ac.cn)
SplitVarstring(/var/cfengine/inputs,:=58)
Appending [/var/cfengine/inputs]
Prepending *.bise.ac.cn
New admit/deny object=/usr/sbin/cfagent
Check ParsingIPRange(*.bise.ac.cn)
SplitVarstring(/usr/sbin/cfagent,:=58)
Appending [/usr/sbin/cfagent]
Prepending *.bise.ac.cn
Delete Parser Object::(END OF PARSING)
cfservd: cfservd Multithreaded version
cfrunCommand is /usr/sbin/cfagent
$(MaxConnections) Expanded to 10
MaxConnections = 10
Defined Classes = ( any linux kgl 32_bit linux_2_4_20_8 i686 linux_i686
linux_i686_2_4_20_8 linux_i686_2_4_20_8__1_Thu_Mar_13_17_54_28_EST_2003
compiled_on_linux_gnu kgl_bise_ac_cn redhat redhat_9 net_iface_lo
net_iface_eth0 192_168_40_31 192_168_40 ipv4_192_168_40_31 ipv4_192_168_40
ipv4_192_168 ipv4_192 )
Negated Classes = ( )
Installable classes = ( )
ACCESS GRANTED ----------------------:
Path: /var/cfengine/inputs (encrypt=0)
Admit: *.bise.ac.cn root=
Path: /usr/sbin/cfagent (encrypt=0)
Admit: *.bise.ac.cn root=
ACCESS DENIAL ------------------------ :
Host IPs allowed connection access :
IP: 192.168.40.131
Host IPs denied connection access :
Host IPs allowed multiple connection access :
IP: 192.168.40.131
Host IPs from whom we shall accept public keys on trust :
IP: 192.168.40.131
Host IPs from NAT which we don't verify :
IP: 192.168.40.131
Dynamical Host IPs (e.g. DHCP) whose bindings could vary over time :
IPV4 address
sockaddr_ntop(0.0.0.0)
Bound to address 0.0.0.0 on linux=6
Listening for connections ...
Checking file updates on /var/cfengine/inputs/cfservd.conf
(3f8a698e/3f8b4745)
cfservd: lstatcfservd: Host authorization/authentication failed or access
deniedTransaction Send[t 64][Packed text]
SendSocketStream, sent 72
cfservd: From (host=chf.bise.ac.cn,user=root,ip=192.168.40.131)
RecvSocketStream(8)
Transmission empty...
Transaction Receive [][]
RecvSocketStream(0)
cfservd terminating NULL transmission!
Terminating thread...
***Closing socket 5 from 192.168.40.131
Deleted item 192.168.40.131
#############################################################################
I can't solve the problem.But i'm eager to know how to do.
Any help will be appreciated.
Guilan, Kong
_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com
- Ask for help!(host authentication failed.did you forget the domain?),
kong guilan <=