Слетел сервер баз данных, судя по всему из-за переполнения дискового пространства. Сайт не смог подключиться к серверу баз данных, отдав: Can't connect to local MySQL server through socket '/var/lib/mysqld/mysqld.sock' (2) Ребут не помог. Из под рута, на команду: "service mysqld start" Сервер баз данных не запускается: Starting Mysqld[FAILED] Из лог-файла ошибок имею такие блоки:
ошибка в MySQL
180527 15:40:36 mysqld_safe Starting mysqld daemon with databases fr om /var/lib/mysql 180527 15:40:36 InnoDB: Initializing buffer pool, size = 128.0M 180527 15:40:36 InnoDB: Completed initialization of buffer pool InnoDB: Log scan progressed past the checkpoint lsn 11 4129397968 180527 15:40:36 InnoDB: Database was not shut down normally! InnoDB: Starting crash recovery. InnoDB: Reading tablespace information fr om the .ibd files... InnoDB: Restoring possible half-written data pages from the doublewrite InnoDB: buffer... InnoDB: Warning: database page corruption or a failed InnoDB: file read of page 732. InnoDB: Trying to recover it from the doublewrite buffer. InnoDB: Dump of the page: 180527 15:40:36 InnoDB: Page dump in ascii and hex (16384 bytes): len 16384; hex be44428d000002dc000002dbffffffff0000000bf6219ad545bf000000000000000000000e78001e0b708077000000000b5e0002007400..............dI ! _;InnoDB: End of page dump 180527 15:40:37 InnoDB: Page checksum 3192144525, prior-to-4.0.14-form checksum 887731727 InnoDB: stored checksum 3192144525, prior-to-4.0.14-form stored checksum 1682556626 InnoDB: Page lsn 11 4129397461, low 4 bytes of lsn at page end 4129400415 InnoDB: Page number (if stored to page already) 732, InnoDB: space id (if created with >= MySQL-4.1.1 and stored already) 3704 InnoDB: Page may be an index page wh ere index id is 0 13062 InnoDB: Dump of corresponding page in doublewrite buffer: 180527 15:40:37 InnoDB: Page dump in ascii and hex (16384 bytes): len 16384; hex be44428d000002dc000002dbffffffff0000000bf6219ad545bf000000000000000000000e78001e0b219ad545bf0000000000000000070.............01 4 ! ;InnoDB: End of page dump 180527 15:40:37 InnoDB: Page checksum 1385786082, prior-to-4.0.14-form checksum 887731727 InnoDB: stored checksum 3192144525, prior-to-4.0.14-form stored checksum 808554292 InnoDB: Page lsn 11 4129397461, low 4 bytes of lsn at page end 4129400462 InnoDB: Page number (if stored to page already) 732, InnoDB: space id (if created with >= MySQL-4.1.1 and stored already) 3704 InnoDB: Page may be an index page wh ere index id is 0 13062 InnoDB: Also the page in the doublewrite buffer is corrupt. InnoDB: Cannot continue operation. InnoDB: You can try to recover the database with the my.cnf InnoDB: option: InnoDB: innodb_force_recovery=6 180527 15:40:37 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
Предварительно еще надо запустить восстановление файловой системы, т.к. присутствуют несколько сбойных файлов, к которым система не смогла получить доступ (директория кеша не удаляется/измерялка занятого места, команда du, ругается):
Сбойные файлы и ошибки
du: cannot access `/home/bitrix/ext_www/site.com/bitrix/cache/s2/bitrix/forum.topic.reviews/ba/baf0c3c51623ae20d7648a01a955ade3.php': Input/output error du: cannot access `/home/bitrix/ext_www/site.com/bitrix/cache/s2/bitrix/menu/345/70/7084f89dd56620a3dad2c1a720ab1905.php': Input/output error du: cannot access `/home/bitrix/ext_www/site.com/bitrix/cache/s2/bitrix/menu/345/6b/6b3f5c7934e9b063f5c593c1595715f3.php': Input/output error du: cannot access `/home/bitrix/ext_www/site.com/bitrix/cache/s2/bitrix/menu/06f/b8/b82a83e8ca591053c6e0255fe93b5006.php': Input/output error du: cannot access `/proc/12321/task/12321/fd/4': No such file or directory du: cannot access `/proc/12321/task/12321/fdinfo/4': No such file or directory du: cannot access `/proc/12321/fd/4': No such file or directory du: cannot access `/proc/12321/fdinfo/4': No such file or directory
Больше, в силу отсутствия опыта в администрировании серверов, может кто то сможет помочь в реанимации сервера? Лучше с Украины, чтобы проще было оплатить услугу. Но буду признателен и за описание действий и набора команд, которые выполнить на сервере.