Ask questions about your setup or get help installing ZCS server (ZD section below).
rosch
Advanced member
Posts: 163 Joined: Sat Sep 13, 2014 1:34 am
ZCS/ZD Version: 9.0.0.ZEXTRAS.20220713.UBUNTU20.64
Post
by rosch » Mon Dec 05, 2016 8:21 pm
I can confirm that at least for zcs 8.7.1 the following works fine:
Code: Select all
zmdnscachectl stop
zmprov ms `zmhostname` -zimbraServiceEnabled dnscache
zmprov ms `zmhostname` -zimbraServiceInstalled dnscache
zmcontrol stop
zmcontrol start
evilside
Advanced member
Posts: 62 Joined: Sat Sep 13, 2014 3:24 am
Location: Chile
ZCS/ZD Version: zcs-8.8.15_GA_3918.UBUNTU14_64
Post
by evilside » Wed Apr 19, 2017 1:24 am
For me this comands working:
Code: Select all
su - zimbra
zmdnscachectl stop
zmprov ms `zmhostname` -zimbraServiceEnabled dnscache
zmprov ms `zmhostname` -zimbraServiceInstalled dnscache
exit
apt-get remove zimbra-dnscache zimbra-dnscache-components zimbra-dnscache-base
su - zimbra
zmcontrol start
indunil75
Advanced member
Posts: 97 Joined: Sat Sep 13, 2014 12:35 am
Post
by indunil75 » Wed Feb 06, 2019 4:12 am
quanah wrote: I never use the admin console...
zmprov gs `zmhostname` zimbraServiceEnabled zimbraServiceInstalled
should show dnscache
You can remove it by doing
zmprov ms `zmhostname` -zimbraServiceEnabled dnscache -zimbraServiceInstalled dnscache
Hope that helps.
yeah, It works for me with zimbra 8.8.11 on Cent OS 7.6.
Thanks
indunil75
Advanced member
Posts: 97 Joined: Sat Sep 13, 2014 12:35 am
Post
by indunil75 » Wed Jun 19, 2019 9:25 am
indunil75 wrote: quanah wrote: I never use the admin console...
zmprov gs `zmhostname` zimbraServiceEnabled zimbraServiceInstalled
should show dnscache
You can remove it by doing
zmprov ms `zmhostname` -zimbraServiceEnabled dnscache -zimbraServiceInstalled dnscache
Hope that helps.
yeah, It works for me with zimbra 8.8.11 on Cent OS 7.6.
Thanks
this one works as well.
as root
su - zimbra -c 'zmprov ms `zmhostname` -zimbraServiceEnabled dnscache'
su - zimbra
zmcontrol restart
antony
Posts: 1 Joined: Mon Oct 21, 2019 7:10 am
Post
by antony » Wed Oct 23, 2019 11:56 am
zmprov ms `zmhostname` -zimbraServiceEnabled dnscache -zimbraServiceInstalled dnscache
zmcontrol restart
Thanks working fine with out any issue
Tony
Nik
Posts: 20 Joined: Fri Apr 21, 2017 7:14 am
Post
by Nik » Thu Nov 26, 2020 11:16 am
There is no reason to uninstall the dnscache service if the "zmcontrol restart" command asks you for the zimbra password.
I had the same problem after upgrading zimbra from 6.6.15 to 9.0.0 on Centos8.
All you need to fix it is to add the next line to /etc/sudoers.d/02_zimbra_dnscache file :
All you need to fix is add the following line to the /etc/sudoers.d/02_zimbra_dnscache file:
%zimbra ALL=NOPASSWD:/sbin/resolvconf *
I think it is possible to make the same changes on Ubuntu and so on.....
Nik
Posts: 20 Joined: Fri Apr 21, 2017 7:14 am
Post
by Nik » Thu Nov 26, 2020 11:19 am
Must be:
I had the same problem after upgrading zimbra from 8.8.15 to 9.0.0 on Centos8.