Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to start memcache on windows

Tags:

memcached

I tried to starte memcache on windows 32 bit using the below command from cmd:-

D:\sw\memcache\memcached-1.4.5-x86\memcached-x86>memcached.exe -d

This is the error i am getting:-

Failed to ignore SIGHUP: Result too large

Has the command changed for starting 1.4.5 version?

I tried the below option also :-

B) Installation of memcached >= 1.4.5:

Extract the memcached windows binary to any directory. In version 1.4.5 or later, memcached cannot run as a service. It must be started as a normal process using the task scheduler. To configure the memcached process to run automatically every time windows start, run a command prompt and type the following:

schtasks /create /sc onstart /tn memcached /tr "'c:\memcached\memcached.exe' -m 512"

Meanwhile, to remove the scheduled memcached task, run the following command:

schtasks /delete /tn memcached

But i am getting an access denied error message then. Do we need to give any special access rights for running memcahe.

Note:- I am totally new to memcache.

like image 910
Manu Avatar asked Dec 17 '25 20:12

Manu


1 Answers

This command should be run as administrator. You have to right-click the command prompt and use the option to "Open as Administrator".

like image 52
Manu Avatar answered Dec 21 '25 17:12

Manu