failed to daemon()

Greg Whalin gwhalin at meetup.com
Tue Dec 20 16:22:07 UTC 2005


Lisa Seelye wrote:
> On Tue, 2005-12-20 at 09:55 -0600, Brian Moon wrote:
> 
>>We have memcached 1.1.12 deployed on 5 Gentoo machines already.  We have 
>>two fresh Gentoo 2005.1 installed servers with memcached 1.1.12 emerged. 
>>  We are getting the error: "failed to daemon() in order to daemonize" 
>>when using the -d option.  We have it working by using start-stop-daemon 
>>with the background option, but would rather not have these two machines 
>>running different than the other Gentoo boxes.  I see the code that is 
>>throwing the error, but I have no idea what could be causing it.
>>
>>Anyone have any ideas?
>>
> 
> 
> What code is it failing on? Can you send a backtrace?

I would imagine that error is from the start-stop-deamon command in 
Gentoo?  Are you seeing any errors in your logs (/var/log/??) from the 
memcached startup?


More information about the memcached mailing list