Centos7 systemctl start redis-server失败

问答中心分类: LinuxCentos7 systemctl start redis-server失败
ys940 提问 1周 前

redis安装成功后启动失败,重启后手动启动还是失败
执行 systemctl start redis-server
Job for redis-server.service failed because the control process exited with error code. See “systemctl status redis-server.service” and “journalctl -xe” for details.

查看状态:systemctl status redis-server
● redis-server.service – Redis In-Memory Data Store
Loaded: loaded (/usr/lib/systemd/system/redis-server.service; enabled; vendor preset: disabled)
Active: failed (Result: start-limit) since Sun 2019-04-14 16:04:21 CST; 2min 8s ago
Process: 26259 ExecStart=/usr/local/redis/bin/redis-server /usr/local/redis/etc/redis.conf (code=exited, status=203/EXEC)
Process: 26256 ExecStartPre=/bin/chown -R redis:redis ${statedir} (code=exited, status=0/SUCCESS)
Process: 26254 ExecStartPre=/bin/mkdir -p ${statedir} (code=exited, status=0/SUCCESS)
Main PID: 22404 (code=exited, status=203/EXEC)

Apr 14 16:04:21 TestEnv systemd[1]: Failed to start Redis In-Memory Data Store.
Apr 14 16:04:21 TestEnv systemd[1]: Unit redis-server.service entered failed state.
Apr 14 16:04:21 TestEnv systemd[1]: redis-server.service failed.
Apr 14 16:04:21 TestEnv systemd[1]: redis-server.service holdoff time over, scheduling restart.
Apr 14 16:04:21 TestEnv systemd[1]: Stopped Redis In-Memory Data Store.
Apr 14 16:04:21 TestEnv systemd[1]: start request repeated too quickly for redis-server.service
Apr 14 16:04:21 TestEnv systemd[1]: Failed to start Redis In-Memory Data Store.
Apr 14 16:04:21 TestEnv systemd[1]: Unit redis-server.service entered failed state.
Apr 14 16:04:21 TestEnv systemd[1]: redis-server.service failed.

1 问题
最佳答案
ys940 回答 1周 前

问题解决了,权限问题,麻痹!弄了快两天了,操!!!