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

Javier Diaz javier.diazmontes at gmail.com
Fri Oct 29 06:17:58 PDT 2010


Hi,
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.

Regards,
Javi

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...
>
> -- 
> priya
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

-- 
+-----------------------------------------------------+
Dr. Javier Diaz
Post Doctoral Fellow
Pervasive Technology Institute
Indiana University
2719 East Tenth Street, Bloomington, IN 47408, USA
e-mail: javier.diaz at indiana.edu
web: http://qcycar-uclm.esi.uclm.es/jdiaz
+-----------------------------------------------------+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101029/78c171a9/attachment-0003.htm>


More information about the Users mailing list