0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VirtualBoxがディスク容量不足で起動しない

Last updated at Posted at 2017-11-21

概要

VirtualBoxで error.log のファイル容量が肥大化して仮想環境内での容量が足りなくなるとMySQLが起動せず、VirtualBoxが起動しなくなります。

対応手順

仮想環境を「シングルモード」で起動する

1.通常起動中に F8 ボタンを押します
2.起動コマンド画面になります。 「kernel~」の行を選択して、[E]キーを押す
3.起動コマンドの編集画面になります。 「 single」(先頭にスペースを入れる)と入力して[Enter]キーを押す
4.起動コマンド画面に戻ります。 「kernel~」の行末に「 single」が追加されていることを確認したら[b]キーを押す
仮想環境でディスク容量が足りなくなったら_virtualbox.png

MySQLの常時起動を止めます。

「chkconfig mysqld off」と入力して[Enter]キーを押す

肥大化したエラーログを削除する

「cd /var/log/httpd/」 と入力して[Enter]キーを押す
「rm error.log」 と入力して[Enter]キーを押す
※ 他にも肥大化したログファイルがあれば消しておく

仮想マシンメニューのリセットボタンで再起動する

0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?