Problem with redis not stard via sytsem but by redis-server works OK

marson

Verified User
Joined
Jan 30, 2012
Messages
60
Hello

I have strange problem with redis on my DirectAdmin server on centos 7. I installed this plugin:


however my redis server is not starting when I tried startt it from systemctl start redis. I don't have any output but when I check by systemctl status redis I get:

root@serwer[setup]# systemctl status redis
● redis.service - Start all redis instances
Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset: disabled)
Drop-In: /etc/systemd/system/redis.service.d
└─limit.conf
Active: active (exited) since czw 2020-10-01 22:26:27 CEST; 3s ago
Process: 29301 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 29301 (code=exited, status=0/SUCCESS)

paź 01 22:26:27 serwer.netmx.pl systemd[1]: Starting Start all redis instances...
paź 01 22:26:27 serwer.netmx.pl systemd[1]: Started Start all redis instances.

and when I run redis-cli I am getting the following:

root@serwer[setup]# redis-cli
Could not connect to Redis at 127.0.0.1:6379: Connection refused
Could not connect to Redis at 127.0.0.1:6379: Connection refused

However when I run redis-server /etc/redis.conf and on the second terminal I try redis-cli ping I get:

redis-cli
127.0.0.1:6379> ping
PONG
127.0.0.1:6379>

so it appears to working OK, but only on port 6379 and not on other instances I created via DirectAdmin plugin, can anyone help me and give me advice what should I check?
 
Did you check the readme
Configuration
By default, the plugin is working out-of-the box. But it can be needed to change serveral configuration settings.

The default settings are stored in /usr/local/directadmin/plugins/redis_management/php/Config/main.php.

If you need to change for example the location where the redis data is stored (default in /var/lib/redis), you can do this in "local.php". Please do not change this in the "main.php" config file, because this file can be overwritten when a new version of this plugin is installed.


You realize that the plugin is like 3 years old. The last it was updated was like last May.

What makes you want a plugin?

What OS are you using?

Did you log a github issue with the developer?
 
You realize that the plugin is like 3 years old. The last it was updated was like last May.
Yes I know that
What makes you want a plugin?.
I want to use redis along with some apps and to better security I would like to separate redis instance for every application.
What OS are you using?.
Centos 7 64 bit - dedicated server.
Did you log a github issue with the developer?
Not yet - I was hope that someone here had similar problem.
 
I have been using this git for a long time, but after updating to a new version, have issue
 
Back
Top