Completely remove memcached

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

Completely remove memcached

Post by mlanner »

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

Completely remove memcached

Post by phoenix »

Details on how to do this are in the forums:
If">http://www.zimbra.com/forums/installati ... ached.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

Per ardua ad astra
mlanner
Advanced member
Advanced member
Posts: 111
Joined: Fri Sep 12, 2014 11:13 pm

Completely remove memcached

Post by mlanner »

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

Completely remove memcached

Post by phoenix »

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

Per ardua ad astra
mlanner
Advanced member
Advanced member
Posts: 111
Joined: Fri Sep 12, 2014 11:13 pm

Completely remove memcached

Post by mlanner »

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

Completely remove memcached

Post by phoenix »

I alluded to it in the link I gave you:
zmprov gs `zmhostname` -zimbraServiceInstalled memcached
Regards

Bill

Rspamd: A high performance spamassassin replacement

Per ardua ad astra
mlanner
Advanced member
Advanced member
Posts: 111
Joined: Fri Sep 12, 2014 11:13 pm

Completely remove memcached

Post by mlanner »

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

Completely remove memcached

Post by 1415bhwong »

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