質問編集履歴
2
システムログの内容を追記しました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -17,10 +17,43 @@
|
|
17
17
|
include "/etc/bind/named.conf.default-zones";
|
18
18
|
|
19
19
|
**<ログ>**
|
20
|
+
May 11 10:43:13 ubuntu named[3216]: running as: named -u bind
|
21
|
+
May 11 10:43:13 ubuntu named[3216]: compiled by GCC 11.3.0
|
22
|
+
May 11 10:43:13 ubuntu named[3216]: compiled with OpenSSL version: OpenSSL 3.0.2 15 Mar 2022
|
23
|
+
May 11 10:43:13 ubuntu named[3216]: linked to OpenSSL version: OpenSSL 3.0.2 15 Mar 2022
|
24
|
+
May 11 10:43:13 ubuntu named[3216]: compiled with libxml2 version: 2.9.13
|
25
|
+
May 11 10:43:13 ubuntu named[3216]: linked to libxml2 version: 20913
|
26
|
+
May 11 10:43:13 ubuntu named[3216]: compiled with json-c version: 0.15
|
27
|
+
May 11 10:43:13 ubuntu named[3216]: linked to json-c version: 0.15
|
28
|
+
May 11 10:43:13 ubuntu named[3216]: compiled with zlib version: 1.2.11
|
29
|
+
May 11 10:43:13 ubuntu named[3216]: linked to zlib version: 1.2.11
|
30
|
+
May 11 10:43:13 ubuntu named[3216]: ----------------------------------------------------
|
31
|
+
May 11 10:43:13 ubuntu named[3216]: BIND 9 is maintained by Internet Systems Consortium,
|
32
|
+
May 11 10:43:13 ubuntu named[3216]: Inc. (ISC), a non-profit 501(c)(3) public-benefit
|
33
|
+
May 11 10:43:13 ubuntu named[3216]: corporation. Support and training for BIND 9 are
|
34
|
+
May 11 10:43:13 ubuntu systemd[1]: named.service: Control process exited, code=exited, status=1/FAILURE
|
35
|
+
May 11 10:43:13 ubuntu named[3216]: available at https://www.isc.org/support
|
36
|
+
May 11 10:43:13 ubuntu systemd[1]: named.service: Failed with result 'exit-code'.
|
37
|
+
May 11 10:43:13 ubuntu named[3216]: ----------------------------------------------------
|
38
|
+
May 11 10:43:13 ubuntu systemd[1]: Failed to start BIND Domain Name Server.
|
39
|
+
May 11 10:43:13 ubuntu named[3216]: adjusted limit on open files from 524288 to 1048576
|
40
|
+
May 11 10:43:13 ubuntu named[3216]: found 4 CPUs, using 4 worker threads
|
41
|
+
May 11 10:43:13 ubuntu named[3216]: using 4 UDP listeners per interface
|
42
|
+
May 11 10:43:13 ubuntu named[3216]: DNSSEC algorithms: RSASHA1 NSEC3RSASHA1 RSASHA256 RSASHA512 ECDSAP256SHA256 ECDSAP384SHA384 ED25519 ED448
|
43
|
+
May 11 10:43:13 ubuntu named[3216]: DS algorithms: SHA-1 SHA-256 SHA-384
|
44
|
+
May 11 10:43:13 ubuntu named[3216]: HMAC algorithms: HMAC-MD5 HMAC-SHA1 HMAC-SHA224 HMAC-SHA256 HMAC-SHA384 HMAC-SHA512
|
45
|
+
May 11 10:43:13 ubuntu named[3216]: TKEY mode 2 support (Diffie-Hellman): yes
|
46
|
+
May 11 10:43:13 ubuntu named[3216]: TKEY mode 3 support (GSS-API): yes
|
47
|
+
May 11 10:43:13 ubuntu named[3216]: config.c: option 'trust-anchor-telemetry' is experimental and subject to change in the future
|
20
|
-
May
|
48
|
+
May 11 10:43:13 ubuntu named[3216]: loading configuration from '/etc/bind/named.conf'
|
21
|
-
May
|
49
|
+
May 11 10:43:13 ubuntu named[3216]: /etc/bind/named.conf:3: missing ';' before 'include'
|
22
|
-
May
|
50
|
+
May 11 10:43:13 ubuntu named[3216]: loading configuration: failure
|
23
|
-
May
|
51
|
+
May 11 10:43:13 ubuntu named[3216]: exiting (due to fatal error)
|
52
|
+
May 11 10:43:13 ubuntu systemd[1]: named.service: Scheduled restart job, restart counter is at 5.
|
53
|
+
May 11 10:43:13 ubuntu systemd[1]: Stopped BIND Domain Name Server.
|
54
|
+
May 11 10:43:13 ubuntu systemd[1]: named.service: Start request repeated too quickly.
|
55
|
+
May 11 10:43:13 ubuntu systemd[1]: named.service: Failed with result 'exit-code'.
|
56
|
+
May 11 10:43:13 ubuntu systemd[1]: Failed to start BIND Domain Name Server.
|
24
57
|
|
25
58
|
**<named.serviceのステータス>*
|
26
59
|
named.service - BIND Domain Name Server
|
1
ステータス、対応したことについて追記いたしました。
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
|
2
|
-
DNSサーバを構築しようとしたところ、DNS設定ファイルのセミコロンが認識されずエラーから抜け出せなくなってしまいました。
|
2
|
+
DNSサーバを構築しようとしたところ、DNS設定ファイルのセミコロンが認識されずエラーから抜け出せなくなってしまい、bind9が起動できない状況になってしまいました。
|
3
3
|
何かご存じの方いたら教えていただきたいです。
|
4
4
|
|
5
5
|
以下にOS情報と設定ファイル、エラーログを記載いたします。
|
@@ -22,4 +22,24 @@
|
|
22
22
|
May 9 16:10:16 ubuntu named[1272]: loading configuration: failure
|
23
23
|
May 9 16:10:16 ubuntu named[1272]: exiting (due to fatal error)
|
24
24
|
|
25
|
+
**<named.serviceのステータス>*
|
26
|
+
named.service - BIND Domain Name Server
|
27
|
+
Loaded: loaded (/lib/systemd/system/named.service; enabled; vendor preset: enabled)
|
28
|
+
Active: failed (Result: exit-code) since Thu 2023-05-11 10:30:24 JST; 2min 35s ago
|
29
|
+
Docs: man:named(8)
|
30
|
+
Process: 3103 ExecStart=/usr/sbin/named $OPTIONS (code=exited, status=1/FAILURE)
|
31
|
+
CPU: 18ms
|
32
|
+
|
33
|
+
5月 11 10:30:23 ubuntu systemd[1]: Failed to start BIND Domain Name Server.
|
34
|
+
5月 11 10:30:24 ubuntu systemd[1]: named.service: Scheduled restart job, restart counter is at 5.
|
35
|
+
5月 11 10:30:24 ubuntu systemd[1]: Stopped BIND Domain Name Server.
|
36
|
+
5月 11 10:30:24 ubuntu systemd[1]: named.service: Start request repeated too quickly.
|
37
|
+
5月 11 10:30:24 ubuntu systemd[1]: named.service: Failed with result 'exit-code'.
|
38
|
+
5月 11 10:30:24 ubuntu systemd[1]: Failed to start BIND Domain Name Server.
|
39
|
+
|
25
40
|
※記載した内容はすべてコピーしてきたものとなっております。
|
41
|
+
|
42
|
+
**<現時点で対応してみたこと>**
|
43
|
+
・セミコロンの打ち直し
|
44
|
+
・無駄な空白がないことの確認
|
45
|
+
|