microsoftarchive / redis

Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes
http://redis.io
Other
20.81k stars 5.37k forks source link

Redis-x64-2.8.2402 does not run on windows server 2003 #495

Open hahamy opened 8 years ago

hahamy commented 8 years ago

Redis-x64-2.8.2402 can not run in windows server 2003 64 bit, suggesting " Redis-server.exe is not a valid win32 runing program " when execute the command "redis-server.exe --service-install redis.windows-service.conf" in cmd. How can we let the Redis run on window server 2003 ? PS: Redis-x64-3.0.504 have the same problem.

ewinnington commented 8 years ago

Are you sure you are running a 64 bit Windows 2003 server?

(From https://support.microsoft.com/en-us/kb/827218 )

Windows Server 2003

If you have Windows Server 2003, there are two methods to determine whether you are running a 32-bit version or a 64-bit version. If one method does not work, try the other method. Method 1: View System Properties in Control Panel

Click Start, and then click Run. Type sysdm.cpl, and then click OK. Click the General tab. The operating system is displayed as follows: For a 64-bit version operating system, Windows Server 2003 Enterprise x64 Edition appears under System. For a 32-bit version operating system, Windows Server 2003 Enterprise Edition appears under System. Method 2: View the System Information window

Click Start, and then click Run. Type winmsd.exe, and then click OK. When System Summary is selected in the navigation pane, locate Processor under Item in the details pane. Note the value. If the value that corresponds to Processor starts with x86, the computer is running a 32-bit version of Windows. If the value that corresponds to Processor starts with EM64T or IA-64, the computer is running a 64-bit version of Windows.

Can you run it as a command line application without the service installation?