failed to daemon()

Brian Moon brianm at
Mon Jan 2 20:29:33 UTC 2006

Ok, we found the problem.  We started having other problems on these 
boxes and that lead to this bug:

It seems that the / dir of our new Gentoo boxes had the wrong 
permissions.  Don't know how it got that way, but it did.

Brian Moon
How to go broke saving money.

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?

More information about the memcached mailing list