[SOLVED] Upgrade 8.6.0 [sudo] password for zimbra:

Ask questions about your setup or get help installing ZCS server (ZD section below).
blackcat1
Posts: 4
Joined: Wed Nov 02, 2016 1:45 pm

[SOLVED] Upgrade 8.6.0 [sudo] password for zimbra:

Postby blackcat1 » Wed Nov 02, 2016 2:07 pm

Hi, I have a problem when you upgrade Upgrading from 8.6.0_GA_1153 to 8.7.1_GA_1670 requests your password, I can not do anything.

Operations logged to /tmp/zmsetup.20161102-164216.log
Adding /opt/zimbra/conf/ca/ca.pem to cacerts
Upgrading from 8.6.0_GA_1153 to 8.7.1_GA_1670
Stopping zimbra services ... [sudo] password for zimbra:

password change fails error
 zmprov ma admin@азхзхзхзх.com zimbraAccountStatus active
/ Opt / zimbra / bin / zmjava: line 56: / opt / zimbra / java / bin / java: No such file or directory

sudo nano / opt / zimbra / bin / zmjava

Line 56


exec $ {zimbra_java_home} / bin / java $ {java_options} \
     -client $ {zimbra_zmjava_options} \
     -Dzimbra.home = / Opt / zimbra \
     -Djava.library.path = $ {Zimbra_zmjava_java_library_path} \
     -Djava.ext.dirs = $ {Zimbra_zmjava_java_ext_dirs} \
     "$ @"


what is the problem ? Pogue does not refresh, asking steam


vchong68
Posts: 17
Joined: Sat Apr 30, 2016 4:45 am
Location: Singapore
ZCS/ZD Version: Zimbra 8.7.1_GA_1670

Re: Upgrade 8.6.0 [sudo] password for zimbra:

Postby vchong68 » Thu Nov 03, 2016 10:09 am

You may want to check your /etc/sudoers to see if the following are missing:
%zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmstat-fd *
%zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmslapd
%zimbra ALL=NOPASSWD:/opt/zimbra/postfix/sbin/postfix, /opt/zimbra/postfix/sbin/postalias, /opt/zimbra/postfix/sbin/qshape.pl, /opt/zimbra/postfix/sbin/postconf,/opt/zimbra/postfix/sbin/postsuper
%zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmqstat,/opt/zimbra/libexec/zmmtastatus
%zimbra ALL=NOPASSWD:/opt/zimbra/amavisd/sbin/amavis-mc
%zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmunbound
%zimbra ALL=NOPASSWD:/sbin/resolvconf *
%zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmmailboxdmgr
%zimbra ALL=NOPASSWD:/opt/zimbra/bin/zmcertmgr
%zimbra ALL=NOPASSWD:/opt/zimbra/nginx/sbin/nginx
blackcat1
Posts: 4
Joined: Wed Nov 02, 2016 1:45 pm

Re: Upgrade 8.6.0 [sudo] password for zimbra:

Postby blackcat1 » Thu Nov 03, 2016 12:30 pm

root@mail:/etc/sudoers.d# ls
01_zimbra 02_zimbra-dnscache 02_zimbra-mta 02_zimbra-store
02_zimbra-core 02_zimbra-ldap 02_zimbra-proxy README
blackcat1
Posts: 4
Joined: Wed Nov 02, 2016 1:45 pm

Re: Upgrade 8.6.0 [sudo] password for zimbra:

Postby blackcat1 » Fri Nov 04, 2016 8:25 am

files write
--------------------------------------------------------------------------------

zimbra-core %zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmstat-fd *


zimbra-dns %zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmunbound
%zimbra ALL=NOPASSWD:/sbin/resolvconf *



zimbra-ldap %zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmslap


zimbra-mta
%zimbra ALL=NOPASSWD:/opt/zimbra/postfix/sbin/postfix, /opt/zimbra/postfix/sbin/postalias, /opt/zimbra/postfix/sbin/qshape.pl, /opt/zimbra/postfix/sbin/postconf,/opt/zimbra/postfix/sbin/postsuper
%zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmqstat,/opt/zimbra/libexec/zmmtastatus
%zimbra ALL=NOPASSWD:/opt/zimbra/amavisd/sbin/amavis-mc


zimbra-proxy %zimbra ALL=NOPASSWD:/opt/zimbra/nginx/sbin/nginx


zimbra-store %zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmmailboxdmgr


create
zimbra-zmcert %zimbra ALL=NOPASSWD:/opt/zimbra/bin/zmcertmgr


==============================================================

Upgrading from 8.6.0_GA_1153 to 8.7.1_GA_1670
Stopping zimbra services...[sudo] password for zimbra: :(

Where else to look?
davidkillingsworth
Advanced member
Advanced member
Posts: 117
Joined: Sat Sep 13, 2014 2:26 am

Re: Upgrade 8.6.0 [sudo] password for zimbra:

Postby davidkillingsworth » Tue Nov 08, 2016 6:15 pm

vchong68 wrote:You may want to check your /etc/sudoers to see if the following are missing:
%zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmstat-fd *
%zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmslapd
%zimbra ALL=NOPASSWD:/opt/zimbra/postfix/sbin/postfix, /opt/zimbra/postfix/sbin/postalias, /opt/zimbra/postfix/sbin/qshape.pl, /opt/zimbra/postfix/sbin/postconf,/opt/zimbra/postfix/sbin/postsuper
%zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmqstat,/opt/zimbra/libexec/zmmtastatus
%zimbra ALL=NOPASSWD:/opt/zimbra/amavisd/sbin/amavis-mc
%zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmunbound
%zimbra ALL=NOPASSWD:/sbin/resolvconf *
%zimbra ALL=NOPASSWD:/opt/zimbra/libexec/zmmailboxdmgr
%zimbra ALL=NOPASSWD:/opt/zimbra/bin/zmcertmgr
%zimbra ALL=NOPASSWD:/opt/zimbra/nginx/sbin/nginx


Thank You. This fixed an issue for me after I just ran the following:

Code: Select all

$ sudo apt-get update
$ sudo apt-get dist-upgrade
$ sudo init 6


...to update my Ubuntu 14.04 kernel.

After the kernel update, I kept being asked for a zimbra password when I ran zmcontrol status or zmcontrol start.

After updating sudoers group, this is now fixed.

Thanks again.
Yaa
Posts: 4
Joined: Tue Mar 21, 2017 12:16 am

Re: [SOLVED] Upgrade 8.6.0 [sudo] password for zimbra:

Postby Yaa » Tue Mar 21, 2017 12:37 am

Hi
I have one server that installation CentOS 7.3 64bit and
Zimbra 8.7.1
After finish the installation, I try to start zimbra service by using zmcontrol start
The system also ask sudo password:
Please help to fix sudo

Thank you

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 3 guests