# systemctl restart named chroot 不具合   
-----------------------------------

[root@falcon21 ~]# systemctl restart named chroot
Failed to restart chroot.service: Unit not found.
Job for named.service failed because the control process exited with error code. See "systemctl status named.service" and "journalctl -xe" for details.

[root@falcon21 ~]# systemctl status named.service
 named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; disabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since 日 2020-02-09 00:24:30 JST; 11s ago
  Process: 7645 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=1/FAILURE)
  Process: 7642 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=0/SUCCESS)

 2月 09 00:24:30 falcon21.space named[7649]: binding TCP socket: address in use
 2月 09 00:24:30 falcon21.space named[7649]: listening on IPv4 interface virbr0, 192.168.122.1#53
 2月 09 00:24:30 falcon21.space named[7649]: binding TCP socket: address in use
 2月 09 00:24:30 falcon21.space named[7649]: unable to listen on any configured interfaces
 2月 09 00:24:30 falcon21.space named[7649]: loading configuration: failure
 2月 09 00:24:30 falcon21.space named[7649]: exiting (due to fatal error)
 2月 09 00:24:30 falcon21.space systemd[1]: named.service: control process exited, code=exited status=1
 2月 09 00:24:30 falcon21.space systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
 2月 09 00:24:30 falcon21.space systemd[1]: Unit named.service entered failed state.
 2月 09 00:24:30 falcon21.space systemd[1]: named.service failed.

[root@falcon21 ~]# reboot

[root@falcon21 ~]#  systemctl status named.service
 named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; disabled; vendor preset: disabled)
   Active: inactive (dead)

[root@falcon21 ~]# systemctl restart named chroot
Failed to restart chroot.service: Unit not found.

[root@falcon21 ~]# systemctl restart named
[root@falcon21 ~]# systemctl status named
 named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; disabled; vendor preset: disabled)
   Active: active (running) since 日 2020-02-09 07:51:53 JST; 20s ago
  Process: 1736 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)
  Process: 1753 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=0/SUCCESS)
  Process: 1751 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=0/SUCCESS)
 Main PID: 1757 (named)
    Tasks: 5
   CGroup: /system.slice/named.service
           └─1757 /usr/sbin/named -u named -c /etc/named.conf -4

 2月 09 07:51:53 falcon21.space named[1757]: zone 10.168.192.in-addr.arpa/IN/internal: loaded serial 2020012917
 2月 09 07:51:53 falcon21.space named[1757]: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN/...erial 0
 2月 09 07:51:53 falcon21.space named[1757]: zone localhost/IN/internal: loaded serial 0
 2月 09 07:51:53 falcon21.space named[1757]: zone falcon21.space/IN/internal: loaded serial 2020012717
 2月 09 07:51:53 falcon21.space named[1757]: zone localhost.localdomain/IN/internal: loaded serial 0
 2月 09 07:51:53 falcon21.space named[1757]: zone falcon21.space/IN/external: loaded serial 2020012717
 2月 09 07:51:53 falcon21.space named[1757]: all zones loaded
 2月 09 07:51:53 falcon21.space named[1757]: running
 2月 09 07:51:53 falcon21.space named[1757]: managed-keys-zone/internal: Key 20326 for zone . acceptance timer complete: key now trusted
 2月 09 07:51:53 falcon21.space named[1757]: resolver priming query complete
Hint: Some lines were ellipsized, use -l to show in full.

[root@falcon21 ~]# yum -y reinstall bind bind-chroot
読み込んだプラグイン:fastestmirror, langpacks, priorities, show-leaves
Loading mirror speeds from cached hostfile
 * base: ftp-srv2.kddilabs.jp
 * extras: ftp-srv2.kddilabs.jp
 * remi-safe: merlin.fit.vutbr.cz
 * updates: ftp-srv2.kddilabs.jp
 * webtatic: uk.repo.webtatic.com
milter-manager_repos/x86_64/signature                                                                             |  833 B  00:00:00
milter-manager_repos/x86_64/signature                                                                             | 1.0 kB  00:00:00 !!!
milter-manager_repos-source/signature                                                                             |  833 B  00:00:00
milter-manager_repos-source/signature                                                                             | 1.0 kB  00:00:00 !!!
340 packages excluded due to repository priority protections
依存性の解決をしています
--> トランザクションの確認を実行しています。
---> パッケージ bind.x86_64 32:9.11.4-9.P2.el7 を 再インストール
---> パッケージ bind-chroot.x86_64 32:9.11.4-9.P2.el7 を 再インストール
--> 依存性解決を終了しました。

依存性を解決しました

=========================================================================================================================================
 Package                          アーキテクチャー            バージョン                                 リポジトリー               容量
=========================================================================================================================================
再インストール中:
 bind                             x86_64                      32:9.11.4-9.P2.el7                         base                      2.3 M
 bind-chroot                      x86_64                      32:9.11.4-9.P2.el7                         base                       90 k

トランザクションの要約
=========================================================================================================================================
再インストール  2 パッケージ

総ダウンロード容量: 2.4 M
インストール容量: 5.4 M
Downloading packages:
(1/2): bind-chroot-9.11.4-9.P2.el7.x86_64.rpm                                                                     |  90 kB  00:00:00
(2/2): bind-9.11.4-9.P2.el7.x86_64.rpm                                                                            | 2.3 MB  00:00:00
-----------------------------------------------------------------------------------------------------------------------------------------
合計                                                                                                     3.8 MB/s | 2.4 MB  00:00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  インストール中          : 32:bind-9.11.4-9.P2.el7.x86_64                                                                           1/2
  インストール中          : 32:bind-chroot-9.11.4-9.P2.el7.x86_64                                                                    2/2
  検証中                  : 32:bind-chroot-9.11.4-9.P2.el7.x86_64                                                                    1/2
  検証中                  : 32:bind-9.11.4-9.P2.el7.x86_64                                                                           2/2

インストール:
  bind.x86_64 32:9.11.4-9.P2.el7                                  bind-chroot.x86_64 32:9.11.4-9.P2.el7

完了しました!


[root@falcon21 ~]# systemctl restart named chroot
Failed to restart chroot.service: Unit not found.

[root@falcon21 ~]# systemctl status named chroot
 named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; disabled; vendor preset: disabled)
   Active: active (running) since 日 2020-02-09 07:55:29 JST; 22s ago
  Process: 2092 ExecStop=/bin/sh -c /usr/sbin/rndc stop > /dev/null 2>&1 || /bin/kill -TERM $MAINPID (code=exited, status=0/SUCCESS)
  Process: 2117 ExecStart=/usr/sbin/named -u named -c ${NAMEDCONF} $OPTIONS (code=exited, status=0/SUCCESS)
  Process: 2114 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=0/SUCCESS)
 Main PID: 2121 (named)
    Tasks: 5
   CGroup: /system.slice/named.service
           └─2121 /usr/sbin/named -u named -c /etc/named.conf -4

 2月 09 07:55:29 falcon21.space named[2121]: zone 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa/IN/...erial 0
 2月 09 07:55:29 falcon21.space named[2121]: zone 1.0.0.127.in-addr.arpa/IN/internal: loaded serial 0
 2月 09 07:55:29 falcon21.space named[2121]: zone localhost.localdomain/IN/internal: loaded serial 0
 2月 09 07:55:29 falcon21.space named[2121]: zone falcon21.space/IN/internal: loaded serial 2020012717
 2月 09 07:55:29 falcon21.space named[2121]: zone localhost/IN/internal: loaded serial 0
 2月 09 07:55:29 falcon21.space named[2121]: zone falcon21.space/IN/external: loaded serial 2020012717
 2月 09 07:55:29 falcon21.space named[2121]: all zones loaded
 2月 09 07:55:29 falcon21.space named[2121]: running
 2月 09 07:55:30 falcon21.space named[2121]: managed-keys-zone/internal: Key 20326 for zone . acceptance timer complete: key now trusted
 2月 09 07:55:30 falcon21.space named[2121]: resolver priming query complete
Unit chroot.service could not be found.
Hint: Some lines were ellipsized, use -l to show in full.
  
投票数:0 平均点:0.00

 
Back to Top