[one-users] Null value in onehost list information.
madhusona at gmail.com
madhusona at gmail.com
Mon Mar 9 02:23:18 PDT 2009
Dear users,
Finally i got the information. The error in sudoers file on
the remote machine
[root at autoinstall4 ~]# onehost list
HID NAME RVM TCPU FCPU ACPU TMEM FMEM STAT
1 nebula 0 200 183 200 1047552 126976 on
I attempting to execute
/tmp/ne_im_scripts/ne_im-33063384aa2311e4cafec106873aff4c in nebula host
from autoinstall4 host.
i got the error.
[root at autoinstall4 ~]# ssh nebula ruby
/tmp/ne_im_scripts/ne_im-33063384aa2311e4cafec106873aff4c
sudo: sorry, you must have a tty to run sudo
sudo: sorry, you must have a tty to run sudo
/tmp/ne_im_scripts/ne_im-33063384aa2311e4cafec106873aff4c:59: undefined
method `-' for nil:NilClass (NoMethodError)
*
Solution:* Edit sudoers file on the remote machine via sudo. search for
'Defaults requiretty' and comment it out.
[root at autoinstall4 ~]# ssh nebula ruby
/tmp/ne_im_scripts/ne_im-33063384aa2311e4cafec106873aff4c
TOTALCPU=200
CPUSPEED=2327
TOTALMEMORY=1047552
FREEMEMORY=126976
USEDMEMORY=920576
USEDCPU=3
FREECPU=197
NETTX=0
NETRX=0
--
with regards,
B.Madusudhanan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20090309/befaa713/attachment-0002.htm>
More information about the Users
mailing list