kamosica.jp

« BindのSecurity Update | メイン | 「北朝鮮は自民大敗を願っている」森元首相、金沢で演説 »

2007年7月26日

CentOS5でBind9をUpdateしたらファイルが壊される・・・ >>DNS 

CentOS5でBind9をUpdateしたらファイルが壊されました。

あがるのは
Updated: bind.i386 30:9.3.3-9.0.1.el5 bind-libs.i386 30:9.3.3-9.0.1.el5 bind-utils.i386 30:9.3.3-9.0.1.el5 caching-nameserver.i386 30:9.3.3-9.0.1.el5

ですが、

Updating : caching-nameserver ####################### [ 5/10]
/bin/mv: cannot move `/var/named/localdomain.zone' to `/var/named/run-root//var/named/localdomain.zone': No such file or directory
/bin/mv: cannot stat `/var/named/run-root//var/named/localdomain.zone': No such file or directory
/bin/mv: cannot move `/var/named/localdomain.zone' to `/var/named/run-root//var/named/localdomain.zone': No such file or directory
/bin/mv: cannot move `/var/named/localhost.zone' to `/var/named/run-root//var/named/localhost.zone': No such file or directory
/bin/mv: cannot stat `/var/named/run-root//var/named/localhost.zone': No such file or directory
/bin/mv: cannot move `/var/named/localhost.zone' to `/var/named/run-root//var/named/localhost.zone': No such file or directory
/bin/mv: cannot move `/var/named/named.broadcast' to `/var/named/run-root//var/named/named.broadcast': No such file or directory
/bin/mv: cannot stat `/var/named/run-root//var/named/named.broadcast': No such file or directory
/bin/mv: cannot move `/var/named/named.broadcast' to `/var/named/run-root//var/named/named.broadcast': No such file or directory
/bin/mv: cannot move `/var/named/named.ca' to `/var/named/run-root//var/named/named.ca': No such file or directory
/bin/mv: cannot stat `/var/named/run-root//var/named/named.ca': No such file or directory
/bin/mv: cannot move `/var/named/named.ca' to `/var/named/run-root//var/named/named.ca': No such file or directory
/bin/mv: cannot move `/var/named/named.ip6.local' to `/var/named/run-root//var/named/named.ip6.local': No such file or directory
/bin/mv: cannot stat `/var/named/run-root//var/named/named.ip6.local': No such file or directory
/bin/mv: cannot move `/var/named/named.ip6.local' to `/var/named/run-root//var/named/named.ip6.local': No such file or directory
/bin/mv: cannot move `/var/named/named.local' to `/var/named/run-root//var/named/named.local': No such file or directory
/bin/mv: cannot stat `/var/named/run-root//var/named/named.local': No such file or directory
/bin/mv: cannot move `/var/named/named.local' to `/var/named/run-root//var/named/named.local': No such file or directory
/bin/mv: cannot move `/var/named/named.zero' to `/var/named/run-root//var/named/named.zero': No such file or directory
/bin/mv: cannot stat `/var/named/run-root//var/named/named.zero': No such file or directory
/bin/mv: cannot move `/var/named/named.zero' to `/var/named/run-root//var/named/named.zero': No such file or directory

とかっていうのがエラーで出ます。
/var/named/ にあった、
localdomain.zone
localhost.zone
named.broadcast
named.ca
named.ip6.local
named.local
named.zero
をrun-root以下にmvするのに失敗したあげく、シンボリックリンクをrun-root配下に張るためにrmしてしまっているようです。 

lrwxrwxrwx 1 root named 47 Jul 26 06:52 localdomain.zone -> /var/named/run-root//var/named/localdomain.zone
lrwxrwxrwx 1 root named 45 Jul 26 06:52 localhost.zone -> /var/named/run-root//var/named/localhost.zone
lrwxrwxrwx 1 root named 46 Jul 26 06:52 named.broadcast -> /var/named/run-root//var/named/named.broadcast
lrwxrwxrwx 1 root named 39 Jul 26 06:52 named.ca -> /var/named/run-root//var/named/named.ca
lrwxrwxrwx 1 root named 46 Jul 26 06:52 named.ip6.local -> /var/named/run-root//var/named/named.ip6.local
lrwxrwxrwx 1 root named 42 Jul 26 06:52 named.local -> /var/named/run-root//var/named/named.local
lrwxrwxrwx 1 root named 41 Jul 26 06:52 named.zero -> /var/named/run-root//var/named/named.zero

...実体がねーがな。

Virtuozzo環境でなったんでどの環境でもなるのかわかりませんけど、なった時のために
上記7ファイルを固めたのをおいときます。chrootのところに解凍して入れましょう。binddat.tgz

twitterこの記事をTwitterでみんなに教える。

投稿者 debizoh : 2007年7月26日 07:16



トラックバック

現在、この記事はトラックバックを受け付けておりません。


コメント

現在、この記事はコメントを受け付けておりません。