Memcached on Windows Failed to ignore SIGHUP: daemon () failed to dismount

I am trying to install memcached from: http://blog.elijaa.org/index.php?post/2010/10/15/Memcached-for-Windows&similar

When I try to start it using the -d command line -d , I get the following error:

 Failed to ignore SIGHUP: No error failed to daemon() in order to daemonize 

When I run it without -d , it works fine, but I need -d to install it as a service ...

I have tried the following tutorials, but they do not explain how to solve this.

I tried both 32 and 64 bit versions, but this did not help. I also tried the version: http://code.jellycan.com/files/memcached-1.2.6-win32-bin.zip

Which does not give this error, but still does not create the service.

Does anyone know how to make this work?

+5
source share
1 answer

Pitesh's answer from below helped me.

sc create "Memcached11211" binPath = "C: \ memcached \ memcached.exe -d runervice -p 11211" DisplayName = "Memcached11211" start = auto

fooobar.com/questions/1210224 / ...

+9
source

Source: https://habr.com/ru/post/1210222/


All Articles