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

張德勤 cinmex91047 at gmail.com
Mon Mar 5 01:35:33 PST 2012


Hi, Thank for your reply.
Why do you know I have installed two opennebulas?
Should I remove the system-wide mode opennebula??
And how can I remove the system-wide mode opennebula??
I even don't know when I install a system-wide mode opennebula....

My oned.log shows

Mon Mar  5 17:34:46 2012 [InM][I]: Monitoring host client1 (0)
Mon Mar  5 17:34:46 2012 [InM][I]: Command execution fail: 'if [ -x
"/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run_probes xen 0
client1; else                              exit 42; fi'
Mon Mar  5 17:34:46 2012 [InM][I]: sudo: no tty present and no askpass
program specified
Mon Mar  5 17:34:46 2012 [InM][E]: Error executing xen.rb
Mon Mar  5 17:34:46 2012 [InM][I]: ExitCode: 255
Mon Mar  5 17:34:46 2012 [InM][E]: Error monitoring host 0 : MONITOR
FAILURE 0 Error executing xen.rb

Could you help me??
Thank you!!!
2012/3/5 Carlos Mart¨ªn S¨¢nchez <cmartin at opennebula.org>

> Hi,
>
> Looks like you have installed two opennebulas, one in system-wide mode and
> another in self-contained inside /srv/cloud/one. I strongly advise you to
> choose one and uninstall the other.
>
> Regards.
> --
> Carlos Mart¨ªn, MSc
> Project Engineer
> OpenNebula - The Open-source Solution for Data Center Virtualization
> www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula<http://twitter.com/opennebula><cmartin at opennebula.org>
>
>
>
> 2012/3/5 ˆµÂÇÚ <cinmex91047 at gmail.com>
>
>> 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
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>


-- 
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/80787c48/attachment-0003.htm>


More information about the Users mailing list