Removing zimbra-dnscache

Ask questions about your setup or get help installing ZCS server (ZD section below).
jwaters@fisherthompson.com
Posts: 21
Joined: Wed Sep 17, 2014 2:22 pm

Removing zimbra-dnscache

Post by jwaters@fisherthompson.com »

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.
User avatar
quanah
Zimbra Alumni
Zimbra Alumni
Posts: 1668
Joined: Fri Sep 12, 2014 10:33 pm
Contact:

Removing zimbra-dnscache

Post by quanah »

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/
jwaters@fisherthompson.com
Posts: 21
Joined: Wed Sep 17, 2014 2:22 pm

Removing zimbra-dnscache

Post by jwaters@fisherthompson.com »

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.
jwaters@fisherthompson.com
Posts: 21
Joined: Wed Sep 17, 2014 2:22 pm

Removing zimbra-dnscache

Post by jwaters@fisherthompson.com »

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.
User avatar
quanah
Zimbra Alumni
Zimbra Alumni
Posts: 1668
Joined: Fri Sep 12, 2014 10:33 pm
Contact:

Removing zimbra-dnscache

Post by quanah »

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.
--
Quanah Gibson-Mount
Product Architect, Symas http://www.symas.com/
OpenLDAP Core team http://www.openldap.org/project/
vaarsn
Posts: 25
Joined: Thu Sep 18, 2014 3:54 am

Removing zimbra-dnscache

Post by vaarsn »

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?
jwaters@fisherthompson.com
Posts: 21
Joined: Wed Sep 17, 2014 2:22 pm

Removing zimbra-dnscache

Post by jwaters@fisherthompson.com »

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.
Arunmani Murugan
Posts: 11
Joined: Fri Jun 26, 2015 9:10 am

Removing zimbra-dnscache

Post by Arunmani Murugan »

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..
phoenix
Ambassador
Ambassador
Posts: 27278
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Removing zimbra-dnscache

Post by phoenix »

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.
If you read the rest of this thread you will find details on how to disable and remove the required service.
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
Arunmani Murugan
Posts: 11
Joined: Fri Jun 26, 2015 9:10 am

Removing zimbra-dnscache

Post by Arunmani Murugan »

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.
Post Reply