Setting pid in memcached.conf causes strange behavior
Bug #1176178 reported by
Johnny Shields
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
memcached (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
In memcached.conf, if I set this line:
# pid file
-P /var/run/
Then when I run
sudo service memcached start
I observe two strange behaviors:
1) The following log lines appears:
WARNING: The pid file contained the following (running) pid: 19
Could not open the pid file /var/run/
(the second line only appears when I set the user to "-u memcache", rather than "-u root")
2) The sudo service memcached start command does not daemonize until I press <enter>
I'm running Ubuntu precise (12.04.2 LTS), with the most recent memcached package installed.
description: | updated |
description: | updated |
To post a comment you must log in.
Thanks for reporting this
Can you provide the configuration file for memcached, and describe us the permissions for the /var/run folder?