使用 systemctl restart pnds 命令系统告诉我你应该使用 systemctl status pnds ı 显示此失败消息。我看到 code=exited, status=1/failure 你知道吗?
我可以成功创建数据库,我写了一些 mysql 查询。我可以在 mysql 中看到我的表,稍后我尝试安装 pdns 并安装,但后来我看到此错误代码
oot@goktug-virtual-machine:/home/goktug# journalctl -xe
Automatic restarting of the unit pdns.service has been scheduled, as the result for
the configured Restart= setting for the unit.
Ağu 15 16:25:36 goktug-virtual-machine systemd[1]: Stopped PowerDNS Authoritative Server.
Subject: A stop job for unit pdns.service has finished
Defined-By: systemd
Support: http://www.ubuntu.com/support
A stop job for unit pdns.service has finished.
The job identifier is 195344 and the job result is done.
Ağu 15 16:25:36 goktug-virtual-machine systemd[1]: Starting PowerDNS Authoritative Server...
Subject: A start job for unit pdns.service has begun execution
Defined-By: systemd
Support: http://www.ubuntu.com/support
A start job for unit pdns.service has begun execution.
The job identifier is 195344.
Ağu 15 16:25:36 goktug-virtual-machine pdns_server[14698]: Loading '/usr/lib/x86_64-linux-gnu/pdns/libgmysqlbackend.so'
Ağu 15 16:25:36 goktug-virtual-machine pdns_server[14698]: Unable to load module '/usr/lib/x86_64-linux-gnu/pdns/libgmysqlbackend.so': /usr/lib/x86_64-linux-gnu/pdns/libgmysqlback>
Ağu 15 16:25:36 goktug-virtual-machine pdns_server[14698]: DNSBackend unable to load module in gmysql
Ağu 15 16:25:36 goktug-virtual-machine systemd[1]: pdns.service: Main process exited, code=exited, status=1/FAILURE
Subject: Unit process exited
Defined-By: systemd
Support: http://www.ubuntu.com/support
An ExecStart= process belonging to unit pdns.service has exited.
The process' exit code is 'exited' and its exit status is 1.
Ağu 15 16:25:36 goktug-virtual-machine systemd[1]: pdns.service: Failed with result 'exit-code'.
Subject: Unit failed
Defined-By: systemd
Support: http://www.ubuntu.com/support
The unit pdns.service has entered the 'failed' state with result 'exit-code'.
Ağu 15 16:25:36 goktug-virtual-machine systemd[1]: Failed to start PowerDNS Authoritative Server.
Subject: A start job for unit pdns.service has failed
Defined-By: systemd
Support: http://www.ubuntu.com/support
A start job for unit pdns.service has finished with a failure.
The job identifier is 195344 and the job result is failed.
gnu/pdns/libgmysqlbackend.so'
/x86_64-linux-gnu/pdns/libgmysqlbackend.so': /usr/lib/x86_64-linux-gnu/pdns/libgmysqlbackend.so: cannot open shared object file: No such file or directory
e in gmysql
=exited, status=1/FAILURE
code'.
Server.
ESCOC
nd.so: cannot open shared object file: No such file or directory
ESCOC
my command;
Launch=gmysql
gmysql-host=localhost
gmysql-user=goktug
gmysql-password=xxxxx
gmydwl-dbname=powerdns