[one-users] Pleaase help!!When I run onehost list , Error executing xen.rb is happened.

張德勤 cinmex91047 at gmail.com
Mon Mar 5 00:16:03 PST 2012


Dear all

I solve the problem by ...
export ONE_LOCATION=/srv/cloud/one
export ONE_AUTH=$ONE_LOCATION/.one/one_auth
export ONE_XMLRPC=http://localhost:2633/RPC2
export PATH=$ONE_LOCATION/bin:/usr/local/bin:/var/lib/gems/1.8/bin/:$PATH
echo "oneadmin:oneadmin" > /srv/cloud/one/.one/one_auth
Thank you~


張德勤 <cinmex91047 at gmail.com> 於 2012年3月5日下午2:12 寫道:

> Dear all:
>
> I am new in OpenNEbula.
>
> I have two machines, one is server, and the other one is client1.
> 1. server :CentOS 6 + Opennebula 3.0.0
> 2. client1:CentOS 6 + XEN-kernel(2.6.32.56-1.el6xen.x86_64) +XEN
>
> I have a problem about running onehost list
> the error message is below
>
> [oneadmin at server ~]$ tail /var/log/one/oned.log
> Mon Mar  5 13:57:28 2012 [InM][I]: ExitCode: 255
> Mon Mar  5 13:57:28 2012 [InM][E]: Error monitoring host 8 : MONITOR
> FAILURE 8 Error executing xen.rb
>
> Mon Mar  5 13:57:43 2012 [InM][I]: Monitoring host client1 (8)
> Mon Mar  5 13:57:43 2012 [InM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes xen 8
> client1; else                              exit 42; fi'
> Mon Mar  5 13:57:43 2012 [InM][I]: sudo: no tty present and no askpass
> program specified
> Mon Mar  5 13:57:43 2012 [InM][E]: Error executing xen.rb
> Mon Mar  5 13:57:43 2012 [InM][I]: ExitCode: 255
> Mon Mar  5 13:57:43 2012 [InM][E]: Error monitoring host 8 : MONITOR
> FAILURE 8 Error executing xen.rb
>
>
>
> [oneadmin at server ~]$ tail /var/log/one/oned.log
> Mon Mar  5 14:05:43 2012 [InM][I]: sudo: no valid sudoers sources found,
> quitting
> Mon Mar  5 14:05:43 2012 [InM][E]: Error executing xen.rb
> Mon Mar  5 14:05:43 2012 [InM][I]: ExitCode: 255
> Mon Mar  5 14:05:43 2012 [InM][E]: Error monitoring host 8 : MONITOR
> FAILURE 8 Error executing xen.rb
>
> Mon Mar  5 14:05:44 2012 [ReM][D]: HostPoolInfo method invoked
> Mon Mar  5 14:05:44 2012 [AuM][D]: Message received: AUTHENTICATE FAILURE
> 1213 Authentication protocol 'plain' not available
>
> Mon Mar  5 14:05:44 2012 [AuM][E]: Auth Error: Authentication protocol
> 'plain' not available
> Mon Mar  5 14:05:44 2012 [ReM][E]: [HostPoolInfo] User couldn't be
> authenticated, aborting call.
>
> And should I uncomment the Defaults requiretty in /etc/sudoers file??
> Because I uncomment that line.
> And should I add oneadmin in my sudoers file??
> Because I added oneadmin in my sudoers file.
> So, Why are these errors happened??
> Please Help!!!
>
>
>
> --
> Regards,
>
> Te - Chin, Chang (張德勤), +886-3-4227151 #57968
> Networklab, Computer Science & Information Engineering,
> National Central University, Jhongli, Taiwan, R.O.C
>



-- 
Regards,

Te - Chin, Chang (張德勤), +886-3-4227151 #57968
Networklab, Computer Science & Information Engineering,
National Central University, Jhongli, Taiwan, R.O.C
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120305/c17bba71/attachment-0003.htm>


More information about the Users mailing list