Memcached not active after reboot on 64-bit install

Bug #374986 reported by fidian
32
This bug affects 8 people
Affects Status Importance Assigned to Milestone
memcached (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: memcached

The simple workaround is to open up a shell and "sudo /etc/init.d/memcached start" and it works magically until you reboot.

Not sure where to look for issues. While in /var/log, "sudo grep -i memcache debug kern.log syslog daemon.log messages dmesg" turns up nothing.

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: ath_hal
Package: memcached 1.2.2-1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: memcached
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
fidian (fidian) wrote :
Revision history for this message
Kenny Millington (kmdm) wrote :

I just failed to reproduce this on karmic, although karmic does have a newer memcached version (1.2.8)

@fidian:

Can you provide the output of:-

$ find /etc -maxdepth 2 -name \*memcached\* -path \*rc?.d\*

and

$ cat /etc/default/memcached

Thanks!

Revision history for this message
fidian (fidian) wrote :

Gladly. I added sudo so I wouldn't get warnings with the find.

$ sudo find /etc -maxdepth 2 -name \*memcached\* -path \*rc?.d\*
/etc/rc1.d/K20memcached
/etc/rc6.d/K20memcached
/etc/rc0.d/K20memcached
/etc/rc3.d/S20memcached
/etc/rc2.d/S20memcached
/etc/rc4.d/S20memcached
/etc/rc5.d/S20memcached

/etc/default/memcached does not exist. So, I tried this:

$ sudo find /etc -name \*memcache\* | grep -v "rc.\\.d"
/etc/init.d/memcached
/etc/php5/conf.d/memcache.ini
/etc/memcached.conf

Revision history for this message
ewgra (ewgraf) wrote :

Also have this bug.

ewgra@ewgra-laptop:~$ sudo find /etc -maxdepth 2 -name \*memcached\* -path \*rc?.d\*
/etc/rc5.d/S20memcached
/etc/rc3.d/S20memcached
/etc/rc6.d/K20memcached
/etc/rc4.d/S20memcached
/etc/rc1.d/K20memcached
/etc/rc2.d/S20memcached
/etc/rc0.d/K20memcached

ewgra@ewgra-laptop:~$ sudo find /etc -name \*memcache\* | grep -v "rc.\\.d"
/etc/init.d/memcached
/etc/php5/conf.d/memcache.ini
/etc/memcached.conf

ewgra@ewgra-laptop:~$ ls /etc/default | grep memcache
ewgra@ewgra-laptop:~$

ewgra@ewgra-laptop:~$ memcached -h
memcached 1.2.2

Revision history for this message
Gergely Fábián (gergely.fabian) wrote :

I experienced it on three different computers (two has 64 bit Jaunty, one 32 bit Jaunty). Each was upgraded from Intrepid.
I have seen a fresh install of Jaunty (32 bit) where this bug was not present. Maybe it's about upgrading from Intrepid to Jaunty?

Revision history for this message
Gergely Fábián (gergely.fabian) wrote :

Just tested a fresh install of 64 bit Jaunty, also has the bug. Maybe the updated 32 bit computer not having memcached started automatically is another issue.

Revision history for this message
Gergely Fábián (gergely.fabian) wrote :

On karmic I don't have the bug any more (though I had to enable memcached - without that it would not start even with /etc/init.d/memcached).

Revision history for this message
cy (sysfold) wrote :

32bit karmic
/etc/default/memcached
ENABLE_MEMCACHED=no

wonder how/what makes this setting to 'no' in the first place!

for the first 2months after a fresh installation of karmic along with a combo of memcached, xcache, zendaccelator, i was frustrated with the fact that not being able to login on one of the blog cms as an admin without disabling memcached func in the cms.

Revision history for this message
Clint Byrum (clint-fewbar) wrote :

As of at least Lucid, ENABLE_MEMCACHED is set to 'yes' in the default install. Marking Fix Released.

Changed in memcached (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.