[one-users] no tty present and no askpass program specified

priya .k.h priyakh.mit at gmail.com
Fri Oct 29 03:08:05 PDT 2010


Hi

When i typed onehost show 1, i got the following

HOST 1
INFORMATION
ID                    : 1
NAME                  : node2
STATE                 : MONITORED
IM_MAD                : im_xen
VM_MAD                : vmm_xen
TM_MAD                : tm_ssh

HOST
SHARES
MAX MEM               : 0
USED MEM (REAL)       : 0
USED MEM (ALLOCATED)  : 0
MAX CPU               : 0
USED CPU (REAL)       : 0
USED CPU (ALLOCATED)  : 0
RUNNING VMS           : 0

MONITORING
INFORMATION
ARCH=i686
HOSTNAME=node2
MODELNAME=Intel(R) Core(TM)2 Duo CPU     E7500  @ 2.93GHz

In oned.log file it shows this error

Fri Oct 29 15:37:38 2010 [InM][I]: STDERR follows.
Fri Oct 29 15:37:38 2010 [InM][I]: sudo: no tty present and no askpass
program specified
Fri Oct 29 15:37:38 2010 [InM][I]: sudo: no tty present and no askpass
program specified
Fri Oct 29 15:37:38 2010 [InM][I]:
/tmp/one-im//one_im-a2ac68142f9ccdd328e5541958c708d0:70: undefined method
`-' for nil:NilClass (NoMethodError)
Fri Oct 29 15:37:38 2010 [InM][I]: ExitCode: 1
Fri Oct 29 15:37:38 2010 [InM][D]: Host 1 successfully monitored.

I included Defaults visiblepw in sudoers. But the error still continues
Please help me...

-- 
priya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101029/81a33983/attachment-0002.htm>


More information about the Users mailing list