最新消息:

zimbra sudo: sorry, you must have a tty to run sudo

centos admin 3216浏览 0评论

Author:gaojinbo

Time:2011-12-15

一个朋友叫帮忙安装一个zimbra邮件系统,遇到一个小问题,搞了半天,终于搞定,记录下来与大家分享。

 

1.环境

centos6.1 x86_64

zimbra 7.1.3 GA

 

2.安装步骤略

 

问题:

Thu Dec 15 21:44:49 2011 *** Running as zimbra user: /opt/zimbra/libexec/zmldapinit
sudo: sorry, you must have a tty to run sudo
sudo: sorry, you must have a tty to run sudo
sudo: sorry, you must have a tty to run sudo
sudo: sorry, you must have a tty to run sudo
sudo: sorry, you must have a tty to run sudo
sudo: sorry, you must have a tty to run sudo
sudo: sorry, you must have a tty to run sudo
IO::Socket::INET: connect: Connection refused at /opt/zimbra/libexec/zmldapinit line 137.
Thu Dec 15 21:45:29 2011 failed. (28416)
Thu Dec 15 21:45:29 2011

ERROR

Thu Dec 15 21:45:29 2011

Configuration failed

Thu Dec 15 21:45:29 2011 Please address the error and re-run /opt/zimbra/libexec/zmsetup.pl to

 

解决方法:

vi /etc/sudoers
#注释下面一行
#Defaults requiretty

3.删除重新安装

 

完成!

转载请注明:爱开源 » zimbra sudo: sorry, you must have a tty to run sudo

您必须 登录 才能发表评论!