Have you granted access to the file? Run with -d2 to see the reason for the error on the server side,
Also please use version 2.1.13 or 2.1.14 (soon). 2.0.6 is old. M On Mon, 2005-03-21 at 10:53 +0800, Guilan Kong wrote: > Hello,everyone! > I have installed cfengine-2.0.6 on two machines with Linux os > ( one host is "orchis" the other is "opennms-server" ) in one subnet. > Now i want to copy one file from orchis to opennms-server. So i use > cfrun.hosts to configure cfrun daemon to invoke remote cfengine on > opennms-server. > Because these two machines arein the same subnet, there is no > DNS server in the subnet, and there is no domain in the subnet. > But i use domain name "bise.com " in each config file. And i > define "orchis.bise.com orchis" and "opennms-server.bise.com > opennms-server" to the corresponding ip addresses in /etc/hosts files > on both hosts. > But when i run "cfrun -v" on "orchis" host,there is a problem as > the following: > > [EMAIL PROTECTED] root]# cfrun -v > Domain name = bise.com > GNU Cfengine server daemon - > 2.0.6 > Free Software Foundation 1994- > Donated by Mark Burgess, Faculty of Engineering, > Oslo University College, 0254 Oslo, Norway > > ------------------------------------------------------------------------ > > Host name is: orchis > Operating System Type is linux > Operating System Release is 2.6.5-1.358smp > Architecture = i686 > > > Using internal soft-class linux for host linux > > The time is now Mon Mar 21 10:25:11 2005 > > > ------------------------------------------------------------------------ > > Additional hard class defined as: 32_bit > Additional hard class defined as: linux_2_6_5_1_358smp > Additional hard class defined as: linux_i686 > Additional hard class defined as: linux_i686_2_6_5_1_358smp > Additional hard class defined as: > linux_i686_2_6_5_1_358smp__1_SMP_Sat_May_8_09_25_36_EDT_2004 > > GNU autoconf class from compile time: compiled_on_linux-gnu > > Address given by nameserver: 192.168.40.11 > 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 > opennms-server.bise.com ] .......... > Connecting to server opennms-server.bise.com to port 0 with options > Loaded /var/cfengine/ppkeys/root-192.168.40.4.pub > Connect to opennms-server.bise.com = 192.168.40.4 on port cfengine > Loaded /var/cfengine/ppkeys/root-192.168.40.4.pub > cfrun:orchis.bise.com: Strong authentication of > server=opennms-server.bise.com connection confirmed > opennms-server.bise.com replies.. > > Host authentication failed. Did you forget the domain name? > cfrun:orchis.bise.com: Couldn't recv > cfrun:orchis.bise.com: recv > Connection with opennms-server.bise.com completed > > ************************************************************************************************* > Would anybody know the reason of this problem? > Any advice would be appreciated! > Best Regards! > orchis > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > _______________________________________________ > Help-cfengine mailing list > Help-cfengine@gnu.org > http://lists.gnu.org/mailman/listinfo/help-cfengine _______________________________________________ Help-cfengine mailing list Help-cfengine@gnu.org http://lists.gnu.org/mailman/listinfo/help-cfengine