Bug 250141
Summary: | memcached fails to start | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Edward Rudd <urkle> | ||||
Component: | memcached | Assignee: | Paul Lindner <lindner> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | low | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 7 | ||||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | 1.2.3-7.fc7 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2007-08-10 22:23:09 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Edward Rudd
2007-07-30 17:22:12 UTC
I can't reproduce this.. Can you include your /etc/sysconfig/memcached file along with the output of: sh -x /etc/init.d/memcached start Thanks! Also, is selinux on or off? I don't believe that I've tested memcached with selinux. selinux is disabled. sh -x doesn't show anything relevant. as the init script believes it started. running it manually (bypassing the init script entirely) with both -d and -P caused it to fail starting so it is not the init script, it is memcached itself. My home F7 system works fine, but it is running i386, not x86_64 F7. -- relevant sh -x output + echo -n 'Starting memcached: ' Starting memcached: + chown nobody /var/run/memcached + daemon --pidfile /var/run/memcached/memcached.pid memcached -d -p 11211 -u nobody -m 64 -c 1024 -P /var/run/memcached/memcached.pid + local gotbase= force= nicelevel corelimit + local pid base= user= nice= bg= pid_file= + nicelevel=0 + '[' --pidfile '!=' -pidfile ']' + case $1 in + pid_file=/var/run/memcached/memcached.pid + shift 2 + '[' memcached '!=' memcached ']' + '[' -z '' ']' + base=memcached + __pids_var_run memcached /var/run/memcached/memcached.pid + local base=memcached + local pid_file=/var/run/memcached/memcached.pid + pid= + '[' -f /var/run/memcached/memcached.pid ']' + return 3 + '[' -n '' -a -z '' ']' + corelimit='ulimit -S -c 0' + '[' -n '' ']' + '[' color = verbose -a -z '' ']' + '[' -z '' ']' + /bin/bash -c 'ulimit -S -c 0 >/dev/null 2>&1 ; memcached -d -p 11211 -u nobody -m 64 -c 1024 -P /var/run/memcached/memcached.pid' + '[' 0 -eq 0 ']' + success 'memcached startup' + '[' color '!=' verbose -a -z '' ']' + echo_success + '[' color = color ']' + echo -en '\033[60G' + echo -n '[' [+ '[' color = color ']' + echo -en '\033[0;32m' + echo -n ' OK ' OK + '[' color = color ']' + echo -en '\033[0;39m' + echo -n ']' ]+ echo -ne '\r' + return 0 + return 0 + RETVAL=0 + echo + '[' 0 -eq 0 ']' + touch /var/lock/subsys/memcached + exit 0 Created attachment 160381 [details]
Strace from running memcached -p 11211 -u nobody -m 64 -c 1024 -d -P /var/run/memcached/memcached.pid
I am noticing entries in my audit log after I attempt to start memcached
type=ANOM_ABEND msg=audit(1185923738.925:9230): auid=13183 uid=99 gid=99
pid=16518 comm="memcached" sig=11
type=ANOM_ABEND msg=audit(1185923766.989:9231): auid=13183 uid=99 gid=99
pid=16565 comm="memcached" sig=11
type=ANOM_ABEND msg=audit(1185923975.923:9232): auid=13183 uid=99 gid=99
pid=16604 comm="memcached" sig=11
type=ANOM_ABEND msg=audit(1185923988.074:9233): auid=13183 uid=99 gid=99
pid=16723 comm="memcached" sig=11
Found this. It's a bad interaction with libevent on x86_64. Fixed in 1.2.3-7 release. memcached-1.2.3-7.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report. memcached-1.2.3-7.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report. |