Results 1 to 8 of 8

Thread: Completely remove memcached

  1. #1
    mlanner is offline Special Member
    Join Date
    Nov 2007
    Location
    Berkeley, CA
    Posts
    115
    Rep Power
    7

    Default Completely remove memcached

    A previous admin installed memcached on a single server Zimbra instance. As noted in many places, running memcached on a single server installation appears to cause issues. This is an Ubuntu server.

    I've disabled memcached but I'd like to completely remove it so that next time we run an upgrade it doesn't get installed and upgraded.

    So, my question is: can I safely just run apt-get --purge remove zimbra-memcached and just restart Zimbra and/or just reboot the server?

    Would appreciate any ideas/feedback. Thanks in advance.

  2. #2
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,568
    Rep Power
    57

    Default

    Details on how to do this are in the forums: [SOLVED] Disable/Uninstall memcached

    If you also have the proxy installed and are using a single server that should also be removed and the ports reset to their default, search the forums for further details on how to reset the ports.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  3. #3
    mlanner is offline Special Member
    Join Date
    Nov 2007
    Location
    Berkeley, CA
    Posts
    115
    Rep Power
    7

    Default

    Thanks phoenix. Yes, I saw that post. I ran the commands to list the packages installed and enabled. Only memcached is installed. I was mostly concerned about any potential issues I might encounter running apt-get remove.

    Thanks again.

  4. #4
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,568
    Rep Power
    57

    Default

    Just mark it as not installed and not enabled then any future upgrade will remove that package and not reinstall it. I am assuming that it's also not running.
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  5. #5
    mlanner is offline Special Member
    Join Date
    Nov 2007
    Location
    Berkeley, CA
    Posts
    115
    Rep Power
    7

    Default

    Yes, your assumption is right, it's not running anymore. This is what I get:

    Code:
    zimbra@mail:~$ zmprov gs mail.hostname.com | grep zimbraServiceInstalled
    zimbraServiceInstalled: antivirus
    zimbraServiceInstalled: antispam
    zimbraServiceInstalled: logger
    zimbraServiceInstalled: mailbox
    zimbraServiceInstalled: memcached
    zimbraServiceInstalled: mta
    zimbraServiceInstalled: convertd
    zimbraServiceInstalled: stats
    zimbraServiceInstalled: snmp
    zimbraServiceInstalled: ldap
    zimbraServiceInstalled: spell
    ... and:

    Code:
    zimbra@mail:~$ zmprov gs mail.hostname.com | grep zimbraServiceEnabled  
    zimbraServiceEnabled: antivirus
    zimbraServiceEnabled: antispam
    zimbraServiceEnabled: logger
    zimbraServiceEnabled: mailbox
    zimbraServiceEnabled: mta
    zimbraServiceEnabled: convertd
    zimbraServiceEnabled: stats
    zimbraServiceEnabled: snmp
    zimbraServiceEnabled: ldap
    zimbraServiceEnabled: spell
    Sorry, this may be a dumb question, but how do I "mark it as not installed?"

  6. #6
    phoenix is offline Zimbra Consultant & Moderator
    Join Date
    Sep 2005
    Location
    Vannes, France
    Posts
    23,568
    Rep Power
    57

    Default

    I alluded to it in the link I gave you:

    Code:
    zmprov gs `zmhostname` -zimbraServiceInstalled memcached
    Regards


    Bill


    Acompli: A new adventure for Co-Founder KevinH.

  7. #7
    mlanner is offline Special Member
    Join Date
    Nov 2007
    Location
    Berkeley, CA
    Posts
    115
    Rep Power
    7

    Default

    Doh! Thx phoenix!

  8. #8
    bhwong is offline Elite Member
    Join Date
    Feb 2009
    Location
    Singapore
    Posts
    499
    Rep Power
    6

    Default

    I receive an error when executing: zmprov gs `zmhostname` -zimbraServiceInstalled memcached

    Error:
    I/O exception (java.net.ConnectException) caught when processing request: Connection refused
    zclient.IO_ERROR (invoke Connection refused, server: localhost) (cause:

    java.net.ConnectionException Connection refused)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Horrible Experince - How do I completely remove ZD?
    By rustyw007 in forum General Questions
    Replies: 1
    Last Post: 05-09-2011, 11:04 PM
  2. memcached and nginx pop3/imap auth problem.
    By serivo in forum Administrators
    Replies: 3
    Last Post: 04-22-2008, 09:13 AM
  3. I want to remove the archiving package
    By DougWare in forum Administrators
    Replies: 5
    Last Post: 02-08-2008, 02:00 AM
  4. zmfixperms not working
    By Rick Baker in forum Administrators
    Replies: 3
    Last Post: 10-15-2007, 10:25 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •