0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【Linux】/etc/rc.d/rc.local is not marked excutable,skippingの解決法

Posted at

image.png

現象

しばらく時間が経つと、仮想マシンのプロンプト画面に「/etc/rc.d/rc.local is not marked excutable,skipping」と表示される。

原因

/etc/rc.d/rc.localに実行権限がついていないこと。
実際に確認します。

#ll /etc/rc.d/rc.local
-rw-r--r--. 1 root root 474  1月 14 21:18 /etc/rc.d/rc.local

たしかに実行権限(x)がありません。

対処

/etc/rc.d/rc.localに実行権限をつける。

# chmod 755 /etc/rc.d/rc.local

⇒エラーとならないこと

# ll /etc/rc.d/rc.local
-rwxr-xr-x. 1 root root 474  1月 14 21:18 /etc/rc.d/rc.local

⇒「所有ユーザ」「所有グループ」「その他のユーザ」に実行権限(x)が付されたこと

▼参考URL
https://fullstacklife.net/linux/linux-rclocal-is-not-executed/

0
0
0

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
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?