mysqlが起動できなくなったので、調べてみたら、mysql.sockがありませんでした。ログをみると、どうもディスク容量が足りなくなってきたのも関係してるのかなと思います。ディスク容量が足りなくなってくると、急にmysql.sockが消えたりするんでしょうか。
touch /var/lib/mysql/mysql.sock
で強制的に作ったんですが、起動NGで、先にディスク容量の問題解決が先かなと思っています。
mysqld.log
11977543 2016-09-15 04:54:24 10133 [Note] Plugin 'FEDERATED' is disabled. 21977544 2016-09-15 04:54:24 10133 [Note] InnoDB: Using atomics to ref count buffer pool pages 31977545 2016-09-15 04:54:24 10133 [Note] InnoDB: The InnoDB memory heap is disabled 41977546 2016-09-15 04:54:24 10133 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins 51977547 2016-09-15 04:54:24 10133 [Note] InnoDB: Memory barrier is not used 61977548 2016-09-15 04:54:24 10133 [Note] InnoDB: Compressed tables use zlib 1.2.3 71977549 2016-09-15 04:54:24 10133 [Note] InnoDB: Using Linux native AIO 81977550 2016-09-15 04:54:24 10133 [Note] InnoDB: Using CPU crc32 instructions 91977551 2016-09-15 04:54:24 10133 [Note] InnoDB: Initializing buffer pool, size = 128.0M 101977552 2016-09-15 04:54:24 10133 [Note] InnoDB: Completed initialization of buffer pool 111977553 2016-09-15 04:54:24 10133 [Note] InnoDB: Highest supported file format is Barracuda. 121977554 2016-09-15 04:54:24 10133 [Note] InnoDB: 128 rollback segment(s) are active. 131977555 2016-09-15 04:54:24 10133 [Note] InnoDB: Waiting for purge to start 141977556 2016-09-15 04:54:24 10133 [Note] InnoDB: 5.6.20 started; log sequence number 1902918 151977557 2016-09-15 04:54:24 10133 [Note] Server hostname (bind-address): '*'; port: 3306 161977558 2016-09-15 04:54:24 10133 [Note] IPv6 is available. 171977559 2016-09-15 04:54:24 10133 [Note] - '::' resolves to '::'; 181977560 2016-09-15 04:54:24 10133 [Note] Server socket created on IP: '::'. 191977561 2016-09-15 04:54:24 10133 [ERROR] /usr/sbin/mysqld: Error writing file '/var/lib/mysql/localhost.localdomain.pid' (Errcode: 28 - No space left on dev ice) 201977562 2016-09-15 04:54:24 10133 [ERROR] Can't start server: can't create PID file: No space left on device 211977563 160915 04:54:24 mysqld_safe Number of processes running now: 0 221977564 160915 04:54:24 mysqld_safe mysqld restarted 231977565 2016-09-15 04:54:25 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
[vagrant@localhost ~]$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup-lv_root
8.3G 8.1G 0 100% /
tmpfs 499M 0 499M 0% /dev/shm
/dev/sda1 477M 53M 399M 12% /boot
これってまだ使用率12%なんで全然容量足りてるんじゃないかと思うんですが、容量増やす必要ってあるんでしょうか。

回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2016/09/16 15:52
2016/09/16 21:34 編集
2016/09/16 22:13