Removing zimbra-dnscache
-
- Posts: 22
- Joined: Wed Sep 17, 2014 2:22 pm
Removing zimbra-dnscache
I installed zimbra-dnscache and have bind running on this server. I'm trying to disable dnscache and can't figure out how. I tried apt-get remove zimbra-dnscache, whiched removed the program, but zimbra still wants to try to start it. Thanks.
Removing zimbra-dnscache
You'll need to edit the installed/enabled services list for the server to remove dnscache as well. Generally, removing packages outside of the installer is not well supported.
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
-
- Posts: 22
- Joined: Wed Sep 17, 2014 2:22 pm
Removing zimbra-dnscache
Where is that in 8.5? I was looking for a checkbox to uncheck but I don't see that in 8.5 under this server or the global settings.
-
- Posts: 22
- Joined: Wed Sep 17, 2014 2:22 pm
Removing zimbra-dnscache
Just to be clear, I went to configure, servers, clicked my server and then clicked services. I don't have a DNS Cache in that list.
Removing zimbra-dnscache
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.
zmprov gs `zmhostname` zimbraServiceEnabled zimbraServiceInstalled
should show dnscache
You can remove it by doing
zmprov ms `zmhostname` -zimbraServiceEnabled dnscache -zimbraServiceInstalled dnscache
Hope that helps.
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
Removing zimbra-dnscache
It doesn't work for me as well. This is what I did before (under zimbra user):
# zmdnscachectl stop
# zmprov ms `zmhostname` -zimbraServiceEnabled dnscache
# zmprov ms `zmhostname` -zimbraServiceInstalled dnscache
# zmcontrol stop
But after restarting via
# zmcontrol restart
I'm getting the next:
Host mail.myhost.com
Stopping vmware-ha...Done.
Stopping zmconfigd...Done.
Stopping zimlet webapp...Done.
Stopping zimbraAdmin webapp...Done.
Stopping zimbra webapp...Done.
Stopping service webapp...Done.
Stopping stats...Done.
Stopping mta...Done.
Stopping spell...Done.
Stopping snmp...Done.
Stopping cbpolicyd...Done.
Stopping archiving...Done.
Stopping opendkim...Done.
Stopping amavis...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping proxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping logger...Done.
Stopping dnscache...[sudo] password for zimbra:
For some reason it still asks me for some sudo password. How to remove this staff completely?
# zmdnscachectl stop
# zmprov ms `zmhostname` -zimbraServiceEnabled dnscache
# zmprov ms `zmhostname` -zimbraServiceInstalled dnscache
# zmcontrol stop
But after restarting via
# zmcontrol restart
I'm getting the next:
Host mail.myhost.com
Stopping vmware-ha...Done.
Stopping zmconfigd...Done.
Stopping zimlet webapp...Done.
Stopping zimbraAdmin webapp...Done.
Stopping zimbra webapp...Done.
Stopping service webapp...Done.
Stopping stats...Done.
Stopping mta...Done.
Stopping spell...Done.
Stopping snmp...Done.
Stopping cbpolicyd...Done.
Stopping archiving...Done.
Stopping opendkim...Done.
Stopping amavis...Done.
Stopping antivirus...Done.
Stopping antispam...Done.
Stopping proxy...Done.
Stopping memcached...Done.
Stopping mailbox...Done.
Stopping logger...Done.
Stopping dnscache...[sudo] password for zimbra:
For some reason it still asks me for some sudo password. How to remove this staff completely?
-
- Posts: 22
- Joined: Wed Sep 17, 2014 2:22 pm
Removing zimbra-dnscache
I did what quanah did and that took care of it for me. I did /etc/init.d/zimbra restart and everything stopped and started fine. Thank you. Vaarsn, Do you still have the zimbra-dnscache package installed? When I uninstalled that is when I ran into the sudo issues.
-
- Posts: 11
- Joined: Fri Jun 26, 2015 9:10 am
Removing zimbra-dnscache
Hi,
I am facing the same issue .. while restart zimbra dnscache service it asking for sudo and zimbra password.
pls can you share the steps what you did to remove dnscache completely.
Thanks in Advance..
I am facing the same issue .. while restart zimbra dnscache service it asking for sudo and zimbra password.
pls can you share the steps what you did to remove dnscache completely.
Thanks in Advance..
Removing zimbra-dnscache
If you read the rest of this thread you will find details on how to disable and remove the required service.Arunmani Murugan wrote:I am facing the same issue .. while restart zimbra dnscache service it asking for sudo and zimbra password.
pls can you share the steps what you did to remove dnscache completely.
-
- Posts: 11
- Joined: Fri Jun 26, 2015 9:10 am
Removing zimbra-dnscache
Dear Phoenix,
Thanks for your response.
I did,
zmdnscachectl stop
zmprov ms `zmhostname` -zimbraServiceEnabled dnscache -zimbraServiceInstalled dnscache
zmcontrol restart
after removing dnscache i dont see dnscache in installed and enabled service list but while restart zimbra using `zmcontrol restart` I am asking for sudo and zimbra password but it is just fine while restart with /etc/init.d/zimbra restart.
I am using ,
[zimbra@mail ~]$ zmcontrol -v
Release 8.5.1_GA_3056.RHEL7_64_20141103151515 RHEL7_64 FOSS edition.
Thanks for your response.
I did,
zmdnscachectl stop
zmprov ms `zmhostname` -zimbraServiceEnabled dnscache -zimbraServiceInstalled dnscache
zmcontrol restart
after removing dnscache i dont see dnscache in installed and enabled service list but while restart zimbra using `zmcontrol restart` I am asking for sudo and zimbra password but it is just fine while restart with /etc/init.d/zimbra restart.
I am using ,
[zimbra@mail ~]$ zmcontrol -v
Release 8.5.1_GA_3056.RHEL7_64_20141103151515 RHEL7_64 FOSS edition.