(注:このブログはもう更新していません)この日記は私的なものであり所属会社の見解とは無関係です。 GitHub: takahashikzn

[クラウド帳票エンジンDocurain]

"RTNETLINK answers: File exists"を解消する

Linuxで、ネットワークアダプタを活性化した時に

# service network start
Bringing up loopback interface:      [  OK  ]
Bringing up interface eth0:          [  OK  ]

RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists
RTNETLINK answers: File exists

のように表示される時があります。
ネットワークは問題なく使えるのですが、"RTNETLINK..."の表示がうざったい。


僕の場合、解消するには、

# ip addr flush dev eth0

とすればOKでした。

参考
https://unix.stackexchange.com/questions/100588/using-ip-addr-instead-of-ifconfig-reports-rtnetlink-answers-file-exists-on-de