Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Administrators

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-20-2011, 06:44 PM
Special Member
 
Posts: 114
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.
Reply With Quote
  #2 (permalink)  
Old 11-20-2011, 10:48 PM
Zimbra Consultant & Moderator
 
Posts: 20,315
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
Reply With Quote
  #3 (permalink)  
Old 11-20-2011, 11:20 PM
Special Member
 
Posts: 114
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.
Reply With Quote
  #4 (permalink)  
Old 11-20-2011, 11:41 PM
Zimbra Consultant & Moderator
 
Posts: 20,315
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
Reply With Quote
  #5 (permalink)  
Old 11-21-2011, 12:28 AM
Special Member
 
Posts: 114
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?"
Reply With Quote
  #6 (permalink)  
Old 11-21-2011, 02:59 AM
Zimbra Consultant & Moderator
 
Posts: 20,315
Default

I alluded to it in the link I gave you:

Code:
zmprov gs `zmhostname` -zimbraServiceInstalled memcached
__________________
Regards


Bill
Reply With Quote
  #7 (permalink)  
Old 11-21-2011, 08:31 AM
Special Member
 
Posts: 114
Default

Doh! Thx phoenix!
Reply With Quote
  #8 (permalink)  
Old 05-05-2012, 08:36 AM
Elite Member
 
Posts: 377
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)
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.