Hi, The opennebula documentation guides show how to install in system-wide mode [1]. You have been pasting logs from /var/log/one, which is part or the system-wide installation.
About the "no tty" error, follow the xen configuration guide [2] to properly configure your sudoers file. Regards. [1] http://opennebula.org/documentation:rel3.2:ignc [2] http://opennebula.org/documentation:rel3.2:xeng#configuration -- Carlos Martín, MSc Project Engineer OpenNebula - The Open-source Solution for Data Center Virtualization www.OpenNebula.org | [email protected] | @OpenNebula<http://twitter.com/opennebula><[email protected]> 2012/3/5 張德勤 <[email protected]> > 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 <[email protected]> > >> 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 | [email protected] | >> @OpenNebula<http://twitter.com/opennebula><[email protected]> >> >> >> >> 2012/3/5 張德勤 <[email protected]> >> >>> 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~ >>> >>> >>> 張德勤 <[email protected]> 於 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@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@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 >>> [email protected] >>> 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 >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
