Completely remove memcached

Discuss your pilot or production implementation with other Zimbra admins or our engineers.
mlanner
Advanced member
Advanced member
Posts: 111
Joined: Fri Sep 12, 2014 11:13 pm

Completely remove memcached

Postby mlanner » Sun Nov 20, 2011 8:44 pm

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.


phoenix
Ambassador
Ambassador
Posts: 26342
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Completely remove memcached

Postby phoenix » Mon Nov 21, 2011 12:48 am

Details on how to do this are in the forums:
If">http://www.zimbra.com/forums/installation/34387-solved-disable-uninstall-memcached.html
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

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
mlanner
Advanced member
Advanced member
Posts: 111
Joined: Fri Sep 12, 2014 11:13 pm

Completely remove memcached

Postby mlanner » Mon Nov 21, 2011 1:20 am

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

Completely remove memcached

Postby phoenix » Mon Nov 21, 2011 1:41 am

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

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
mlanner
Advanced member
Advanced member
Posts: 111
Joined: Fri Sep 12, 2014 11:13 pm

Completely remove memcached

Postby mlanner » Mon Nov 21, 2011 2:28 am

Yes, your assumption is right, it's not running anymore. This is what I get:
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:
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?"
phoenix
Ambassador
Ambassador
Posts: 26342
Joined: Fri Sep 12, 2014 9:56 pm
Location: Liverpool, England

Completely remove memcached

Postby phoenix » Mon Nov 21, 2011 4:59 am

I alluded to it in the link I gave you:
zmprov gs `zmhostname` -zimbraServiceInstalled memcached
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
mlanner
Advanced member
Advanced member
Posts: 111
Joined: Fri Sep 12, 2014 11:13 pm

Completely remove memcached

Postby mlanner » Mon Nov 21, 2011 10:31 am

Doh! Thx phoenix!
1415bhwong
Outstanding Member
Outstanding Member
Posts: 498
Joined: Sat Sep 13, 2014 12:03 am

Completely remove memcached

Postby 1415bhwong » Sat May 05, 2012 10:36 am

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)

Return to “Administrators”

Who is online

Users browsing this forum: No registered users and 11 guests