[one-users] no tty present and no askpass program specified
SZÉKELYI Szabolcs
szekelyi at niif.hu
Fri Oct 29 06:32:18 PDT 2010
On 2010. October 29. 15:17:58 Javier Diaz wrote:
> Have you tried to comment this line "Defaults requiretty" in the
> sudoers?. If you share the ONE dir via NFS, it is only needed in the
> front-end.
The problem is that ONE tries to execute something with sudo, but that command
is not allowed to be executed without typing a password. See sudoers' man page
and look for NOPASSWD.
--
cc
> El 29/10/2010 6:08, priya .k.h escribió:
> > 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...
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
More information about the Users
mailing list