前提・実現したいこと
http://freestyle.nvo.jp/archives/2609
上記サイトを参考にPowerDNSの構築を行い動作確認をしようと思いました。
CentOS7.7を最小インストールし、PowerDNS4.3とMariaDB5.5をインストールして設定を行いました。
systemctl start pdns.serviceで起動しようとしたところ以下のエラーメッセージが発生しました。
発生している問題・エラーメッセージ
Job for pdns.service failed because the control process exited with error code. See "systemctl status pdns.service" and "journalctl -xe" for details.
上記エラーで見なさいと言われた中身が下記です。
journalctl -xe
# journalctl -xe | grep pdns 4月 16 22:24:18 localhost.localdomain pdns_server[34625]: Unable to launch, no backends configured for querying 4月 16 22:24:18 localhost.localdomain systemd[1]: pdns.service: main process exited, code=exited, status=99/n/a -- Subject: Unit pdns.service has failed -- Unit pdns.service has failed. 4月 16 22:24:18 localhost.localdomain systemd[1]: Unit pdns.service entered failed state. 4月 16 22:24:18 localhost.localdomain systemd[1]: pdns.service failed. 4月 16 22:24:19 localhost.localdomain systemd[1]: pdns.service holdoff time over, scheduling restart. -- Subject: Unit pdns.service has finished shutting down -- Unit pdns.service has finished shutting down. -- Subject: Unit pdns.service has begun start-up -- Unit pdns.service has begun starting up.
systemctl status pdns.service
● pdns.service - PowerDNS Authoritative Server Loaded: loaded (/usr/lib/systemd/system/pdns.service; disabled; vendor preset: disabled) Active: activating (auto-restart) (Result: exit-code) since 木 2020-04-16 21:54:58 JST; 926ms ago Docs: man:pdns_server(1) man:pdns_control(1) https://doc.powerdns.com Process: 29916 ExecStart=/usr/sbin/pdns_server --guardian=no --daemon=no --disable-syslog --log-timestamp=no --write-pid=no (code=exited, status=99) Main PID: 29916 (code=exited, status=99) 4月 16 21:54:58 localhost.localdomain systemd[1]: pdns.service: main process exited, code=exited, s...n/a 4月 16 21:54:58 localhost.localdomain systemd[1]: Failed to start PowerDNS Authoritative Server. 4月 16 21:54:58 localhost.localdomain systemd[1]: Unit pdns.service entered failed state. 4月 16 21:54:58 localhost.localdomain systemd[1]: pdns.service failed. Hint: Some lines were ellipsized, use -l to show in full.
試したこと
エラーメッセージで検索したところ、pdns.confの権限がないことが原因と書かれているサイトが見つかったので、777で権限を付与しましたがエラーが解消されませんでした。
回答1件
あなたの回答
tips
プレビュー