I will look in to it. thanks@bdacus01 I think you can add some systemd automation into your installation script.
I will look in to it. thanks@bdacus01 I think you can add some systemd automation into your installation script.
I checked I had already added it.@bdacus01 I think you can add some systemd automation into your installation script.
Thanks, Brent!I have updated the script and tested it should be all good on centos 7
There is no privilege separation between users, so any user can edit master IP record.Do you consider to add ability to overwrite master IP for example per user which created an entry?
Usually it's normal way primary->secondary DNS interacts. You can setup DNS notification for existing zones.Hello Guys,
When I update a DNS record trough DA, it does not reflect properly on the DS server, I have to issue the command "/usr/sbin/rndc reload domain.com" to get it updated.
Is there anything I have to do?
PS. I used the lastest script from bdacus01 and I am on Centos 7.
Thanks !
Dear All,
I get the bellow error in the DS error.log when shutdown directslave.
2021/04/01 00:00:12 SHUTDOWN: SIGTERM received, exiting...
2021/04/01 00:00:12 Cant' delete pidfile: remove /usr/local/directslave/run/directslave.pid: no such file or directory
I have found no pid file in /usr/local/directsave/run
But I can find "pid /usr/local/directslave/run/directslave.pid" in /usr/local/directslave.conf
Anyone have any idea?
I am using CentOS 7 and the latest version directslave 3.4.1 Advanced
Dear Roman,Check /usr/local/directslave/run permissions, is it owned by directslave user (uid in /usr/local/directslave/etc/directslave.conf)
Is it writable?
Dear Roman,Try to stop directslave via systemd then run it directly
[root@ds directslave]# /usr/local/directslave/bin/directslave --run
then check if pidfile available now.
May be...Yes. It will generate the pid file when run it directly. But the service seems not runnng when I run "/usr/local/directslave/bin/directslave --status". The problem is systemd?
[Unit]
Description=DirectSlave for DirectAdmin
After=network.target
[Service]
Type=simple
User=named
ExecStart=/usr/local/directslave/bin/directslave --run
Restart=always
[Install]
WantedBy=multi-user.target
[root@ds /]# vi /etc/systemd/system/directslave.serviceMay be...
Please check if DirectSlave installed as systemd native service in /etc/systemd/system/ (file directslave.service)
If not, please install it as directslave.service with following content:
Code:[Unit] Description=DirectSlave for DirectAdmin After=network.target [Service] Type=simple User=named ExecStart=/usr/local/directslave/bin/directslave --run Restart=always [Install] WantedBy=multi-user.target
Also delete legacy directslave service from /etc/init.d/ if any.
Then start ds via systemctl and all should be fine now.
Dear Roman,Please check last service exit status via
systemctl status directslave
and post output here.
Thanks!
Thanks a lot for your great affort!!! We appreciate that so much!Yes, I approve, it's a systemd issue. Now investigating it.
Thanks a lot for your great affort!!! We appreciate that so much!