Failed to create memcached service on Windows

I use Memcached-for-Windows, see

http://blog.elijaa.org/index.php?post/2010/08/25/Memcached-1.4.5-for-Windows&similar

I tried to use:

sc create "memcached" binPath="C:/memcached/mem
cached.exe" start=auto

but I can not create a Windows service and no warnings or errors, just:

Creates a service entry in the registry and Service Database.
SYNTAX:
sc create [service name] [binPath= ] <option1> <option2>...
CREATE OPTIONS:
NOTE: The option name includes the equal sign.
type= <own|share|interact|kernel|filesys|rec>
   (default = own)
 start= <boot|system|auto|demand|disabled>
   (default = demand)
 error= <normal|severe|critical|ignore>
       (default = normal)
 binPath= <BinaryPathName>
 group= <LoadOrderGroup>
 tag= <yes|no>
 depend= <Dependencies(separated by / (forward slash))>
 obj= <AccountName|ObjectName>
       (default = LocalSystem)
 DisplayName= <display name>
 password= <password>
+2
source share
5 answers

memcached is not a native Windows service, so you should use the service wrapper program to add the missing functionality. The Srvany freeware utility for Microsoft should do the trick, but several commercial alternatives are also available.

( , Microsoft memcached "-d" memcached Windows, NorthScale...)

0

, , inturn . , .exe .

C:\Users\sireesh.yarlagadda>memcached.exe -d install

, memcached

+4

, , , binPath = . "" sc. =.

sc create "memcached" binPath= "C:/memcached/memcached.exe" start= auto

. , , memcached .

0

:

https://commaster.net/content/installing-memcached-windows

1.4.5 ​​ . Windows. ( ), :

SCHTASKS /create /sc onstart /ru system /tn memcached1 /tr "C:\Xampp\memcached\memcached.exe -m80 -p11211"
SCHTASKS /create /sc onstart /ru system /tn memcached2 /tr "C:\Xampp\memcached\memcached.exe -m80 -p11212"

, , :

SCHTASKS /run /tn memcached1
SCHTASKS /run /tn memcached2

SCHTASKS /end /tn memcached1
SCHTASKS /end /tn memcached2

, :

SCHTASKS /delete /tn memcached1 /f
SCHTASKS /delete /tn memcached2 /f
0

All Articles