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.
Completely remove memcached
Completely remove memcached
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.
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.
Completely remove memcached
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.
Thanks again.
Completely remove memcached
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.
Completely remove memcached
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?"
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?"
Completely remove memcached
I alluded to it in the link I gave you:
zmprov gs `zmhostname` -zimbraServiceInstalled memcached
zmprov gs `zmhostname` -zimbraServiceInstalled memcached
Completely remove memcached
Doh! Thx phoenix!
-
- Outstanding Member
- Posts: 498
- Joined: Sat Sep 13, 2014 12:03 am
Completely remove memcached
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)
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)