LoginSignup
17

More than 5 years have passed since last update.

posted at

"/etc/sysconfig/network: No such file or directory"

Docker上のCentOSでMySQLを起動できなかった時のめも。
下記のようなエラーが出ていました。

# /etc/init.d/mysqld start

/etc/init.d/mysqld: line 23: /etc/sysconfig/network: No such file or directory

どうやらDocker上のCentOSのあるあるらしいので下記コマンドで対応する。

# echo "NETWORKING=yes" >/etc/sysconfig/network

理由は調べ中です。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
17