sorry i face issue during directslave installation on almalinux 8.5
[root@ns1 ~]#
systemctl start directslave
[root@ns1 ~]#
systemctl status directslave
● directslave.service - DirectSlave for DirectAdmin
Loaded: loaded (/etc/systemd/system/directslave.service; enabled; vendor preset: disabled)
Active:
active (running) since Wed 2022-03-09 06:43:23 EST; 234ms ago
Main PID: 2247 (directslave)
Tasks: 7 (limit: 11409)
Memory: 4.5M
CGroup: /system.slice/directslave.service
└─2247 /usr/local/directslave/bin/directslave --run
Mar 09 06:43:23 ns1.hidden-server.net systemd[1]: Started DirectSlave for DirectAdmin.
Mar 09 06:43:23 ns1.hidden-server.net directslave[2247]: *** Starting DirectSlave GO/3.4.2 Advanced server ***
Mar 09 06:43:23 ns1.hidden-server.net directslave[2247]: *** (c) Roman Mazur <
[email protected]> 2012-2020 ***
Mar 09 06:43:23 ns1.hidden-server.net directslave[2247]: Going background.
Mar 09 06:43:23 ns1.hidden-server.net directslave[2247]: Spawning main() server with pid 2247
Mar 09 06:43:23 ns1.hidden-server.net directslave[2247]: Pidfile writen as /usr/local/directslave/run/directslave.pid
[root@ns1 ~]#
systemctl status directslave
● directslave.service - DirectSlave for DirectAdmin
Loaded: loaded (/etc/systemd/system/directslave.service; enabled; vendor preset: disabled)
Active:
failed (Result: exit-code) since Wed 2022-03-09 06:43:25 EST; 638ms ago
Process: 2269 ExecStart=/usr/local/directslave/bin/directslave --run (code=exited, status=250)
Main PID: 2269 (code=exited, status=250)
Mar 09 06:43:25 ns1.hidden-server.net systemd[1]: directslave.service: Main process exited, code=exited, status=250/n/a
Mar 09 06:43:25 ns1.hidden-server.net systemd[1]: directslave.service: Failed with result 'exit-code'.
Mar 09 06:43:25 ns1.hidden-server.net systemd[1]: directslave.service: Service RestartSec=100ms expired, scheduling restart.
Mar 09 06:43:25 ns1.hidden-server.net systemd[1]: directslave.service: Scheduled restart job, restart counter is at 5.
Mar 09 06:43:25 ns1.hidden-server.net systemd[1]: Stopped DirectSlave for DirectAdmin.
Mar 09 06:43:25 ns1.hidden-server.net systemd[1]: directslave.service: Start request repeated too quickly.
Mar 09 06:43:25 ns1.hidden-server.net systemd[1]: directslave.service: Failed with result 'exit-code'.
Mar 09 06:43:25 ns1.hidden-server.net systemd[1]: Failed to start DirectSlave for DirectAdmin.
[root@ns1 ~]#
[root@ns1 ~]#
/usr/local/directslave/bin/directslave --check
DEBUG: Running as root (0), dropping privileges to 25:25
DirectSlave GO/3.4.2 Advanced (c) Roman Mazur <
[email protected]> 2012-2020
Here we do some test to check if your config ...
/usr/local/directslave/etc/directslave.conf is good.
Reading /usr/local/directslave/etc/directslave.conf ... OK
Trying to drop privileges to 25 25 ... OK
Running tests as UID:25, GID:25
Opening/creating file 'pid' -> /usr/local/directslave/run/directslave.pid ... OK
Opening/creating file 'access_log' -> /usr/local/directslave/log/access.log ... OK
Opening/creating file 'error_log' -> /usr/local/directslave/log/error.log ... OK
Opening/creating file 'action_log' -> /usr/local/directslave/log/action.log ... OK
Opening/creating file 'named_conf' -> /etc/namedb/directslave.inc ... OK
SSL is on! Testing CERT and KEY accessibility:
Opening file 'ssl_cert' -> /usr/local/directslave/ssl/fullchain.pem ... OK
Opening file 'ssl_key' -> /usr/local/directslave/ssl/privkey.pem ... OK
Testing named_workdir acesssibility /etc/namedb/secondary ... OK
Testing RNDC util accessibility at path /usr/sbin/rndc ... OK
*** All OK! You can safely run with --run flag.
status directslave is running just a couple second and then they stop working
any idea?