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

Postby jwaters@fisherthompson.com » Wed Sep 17, 2014 2:23 pm

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: 1666
Joined: Fri Sep 12, 2014 10:33 pm
Contact:

Removing zimbra-dnscache

Postby quanah » Wed Sep 17, 2014 2:37 pm

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

Postby jwaters@fisherthompson.com » Wed Sep 17, 2014 2:40 pm

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

Postby jwaters@fisherthompson.com » Wed Sep 17, 2014 2:45 pm

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: 1666
Joined: Fri Sep 12, 2014 10:33 pm
Contact:

Removing zimbra-dnscache

Postby quanah » Wed Sep 17, 2014 5:23 pm

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

Postby vaarsn » Thu Sep 18, 2014 4:04 am

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

Postby jwaters@fisherthompson.com » Thu Sep 18, 2014 6:57 am

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

Postby Arunmani Murugan » Tue Oct 27, 2015 5:25 am

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: 26244
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Removing zimbra-dnscache

Postby phoenix » Tue Oct 27, 2015 1:02 pm

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

If you'd like to see this implemented in a future version of ZCS then please vote on Bugzilla entries 97706 & 108168
Arunmani Murugan
Posts: 11
Joined: Fri Jun 26, 2015 9:10 am

Removing zimbra-dnscache

Postby Arunmani Murugan » Tue Oct 27, 2015 11:43 pm

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.

Return to “Installation and Upgrade”

Who is online

Users browsing this forum: No registered users and 8 guests