Redis Server not working on PERSONAL PLUS package?

onelinkweb

New member
Joined
Dec 20, 2024
Messages
2
Hello,

I use Debian 12.

I installed Redis using CustomBuild, but I can't use Redis.

The DirectAdmin knowledge base is not very clear, even though I did everything correctly.

See my error:

Bash:
root@srv101:/usr/local/directadmin/custombuild# systemctl status redis
× redis.service - Redis In-Memory Data Store
     Loaded: loaded (/etc/systemd/system/redis.service; enabled; preset: enable>
     Active: failed (Result: exit-code) since Tue 2024-12-24 10:53:42 -03; 1s a>
   Duration: 5ms
    Process: 39743 ExecStart=/usr/local/bin/redis-server /usr/local/etc/redis/r>
   Main PID: 39743 (code=exited, status=1/FAILURE)
        CPU: 4ms


Dec 24 10:53:42 srv101 systemd[1]: redis.service: Scheduled restart job, restar>
Dec 24 10:53:42 srv101 systemd[1]: Stopped redis.service - Redis In-Memory Data>
Dec 24 10:53:42 srv101 systemd[1]: redis.service: Start request repeated too qu>
Dec 24 10:53:42 srv101 systemd[1]: redis.service: Failed with result 'exit-code>
Dec 24 10:53:42 srv101 systemd[1]: Failed to start redis.service - Redis In-Mem>
lines 1-13/13 (END)

My license is PERSONAL PLUS, could that be the reason?
 
It is normal, as redis runs per-user, try this instead for the user you have redis enabled:
systemctl status redis@user
 
It is normal, as redis runs per-user, try this instead for the user you have redis enabled:
systemctl status redis@user


Hello,

I tested it and nothing happened.

[email protected] - Multi-user redis persistent key-value database
Loaded: loaded (/etc/systemd/system/[email protected]; disabled; preset: enab>
Active: inactive (dead)
Docs: http://redis.io/documentation,
man:redis-server(1)
linhas 1-5/5 (FIM)

then I activated it and got the error, nothing changed on my panel.

root@srv101:/usr/local/directadmin/custombuild# systemctl enable redis@admin
Created symlink /etc/systemd/system/multi-user.target.wants/[email protected] → /etc/systemd/system/[email protected].
root@srv101:/usr/local/directadmin/custombuild# systemctl start redis@admin
Job for [email protected] failed because the control process exited with error code.
See "systemctl status [email protected]" and "journalctl -xeu [email protected]" for details.

The only thing that happened was that an empty folder appeared with the name .redis and inside that folder there is another empty folder with the name db.
 
Back
Top