failed to daemon()

Alex Stapleton alexs at
Tue Dec 20 16:08:55 UTC 2005

On 20 Dec 2005, at 15:55, 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?

Stop using Gentoo on production machines. It mostly works on the  
desktop, but on servers it generally results in random weirdness and  
copious amounts of pain due to portage being a constantly moving  
target. Please, just *try* something sensible like RHAT or Debian.

More information about the memcached mailing list