Home > Backend Development > PHP Tutorial > Centos has startup problems after installing redis

Centos has startup problems after installing redis

WBOY
Release: 2016-07-06 13:52:57
Original
878 people have browsed it

Centos has startup problems after installing redis

Centos has startup problems after installing redis

Executed but still not working
Centos has startup problems after installing redis

Reply content:

Centos has startup problems after installing redis

Centos has startup problems after installing redis

Executed but still not working
Centos has startup problems after installing redis

1. First check whether there is a process and whether there is a redis instance

<code>ps -ef | grep redis</code>
Copy after login

If yes, kill and restart
If the 2.1 method does not work, try sudo execution

<code>sudo redis-server &</code>
Copy after login

1. First check whether it is occupied: netstat -an | grep 6379
2. Specify the path of redis.conf. After starting redis-service, it is best to check whether the contents of the redis.conf file are all included. Correct

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template