Home  >  Article  >  Backend Development  >  What to do if starting Redis under Win10 results in 1067 error and the process terminates unexpectedly

What to do if starting Redis under Win10 results in 1067 error and the process terminates unexpectedly

小云云
小云云Original
2018-01-17 09:04:404924browse

This article mainly introduces to you the perfect solution to the unexpected termination of the process due to Redis startup error 1067 under Win10. Friends in need can refer to it. I hope it can help everyone.

1. System environment

Operating system: Windows 10 Professional Edition 64-bit

Redis version: redis-64.3.0.503

2. Problem Description

1. Command line startup:

redis-server redis.windows.conf

can be started successfully;

2. Install Redis as a Windows system service:

redis-server --service-install redis.windows-service.conf --loglevel verbose

3. Enter System service page:

Win + r opens the run command box, services.msc opens the system service page

4. Start the redis service

Startup error, the error message is as follows:

##3. Solution

Create a new empty folder under the redis-64.3.0.503 folder and name it logs, as shown in the figure below:

Restart the redis service and it can be started successfully, as shown in the figure below:


Related recommendations:


How to install the green version of Mysql database and solve the 1067 error graphic tutorial

My Sql 1067 error and encoding problem solution

mysql service 1067 error and solution

The above is the detailed content of What to do if starting Redis under Win10 results in 1067 error and the process terminates unexpectedly. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn