Добрый вечер, коллеги.
У меня он уже не добрый, т.к. на одном из моих бывших почтовых серверов произошла неприятная вещь - fsck.ext4 корня при монтированной системе. Страшное позади, систему возродил, только вот dovecot с mysql не запускаются.
Debian Wheezy + iRedMail 0.8.5
Что получаю:
root@mail:~# service dovecot restart doveconf: error while loading shared libraries: libdovecot.so.0: cannot open shared object file: No such file or directory [....] Restarting IMAP/POP3 mail server: dovecot/usr/sbin/dovecot: error while loading shared libraries: libdovecot.so.0: cannot open shared object file: No such file or directory failed! root@mail:~# service mysql restart [ ok ] Stopping MySQL database server: mysqld. [FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! root@mail:~# cat /var/log/mysql-error.log 141027 22:59:40 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql 141027 22:59:40 [ERROR] Can't find messagefile '/usr/share/mysql/errmsg.sys' 141027 22:59:40 [Note] Plugin 'FEDERATED' is disabled. 141027 22:59:40 InnoDB: The InnoDB memory heap is disabled 141027 22:59:40 InnoDB: Mutexes and rw_locks use GCC atomic builtins 141027 22:59:40 InnoDB: Compressed tables use zlib 1.2.7 141027 22:59:40 InnoDB: Using Linux native AIO 141027 22:59:40 InnoDB: Initializing buffer pool, size = 128.0M 141027 22:59:40 InnoDB: Completed initialization of buffer pool 141027 22:59:40 InnoDB: highest supported file format is Barracuda. 141027 22:59:40 InnoDB: Waiting for the background threads to start 141027 22:59:41 InnoDB: 5.5.31 started; log sequence number 200725974 141027 22:59:41 [ERROR] Aborting 141027 22:59:41 InnoDB: Starting shutdown... 141027 22:59:42 InnoDB: Shutdown completed; log sequence number 200725974 141027 22:59:42 [Note] 141027 22:59:42 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended root@mail:~# cat /etc/mysql/my.cnf | grep -v '^#' [client] port = 3306 socket = /var/run/mysqld/mysqld.sock [mysqld_safe] socket = /var/run/mysqld/mysqld.sock nice = 0 [mysqld] user = mysql pid-file = /var/run/mysqld/mysqld.pid socket = /var/run/mysqld/mysqld.sock port = 3306 basedir = /usr datadir = /var/lib/mysql tmpdir = /tmp lc-messages-dir = /usr/share/mysql skip-external-locking log-error=/var/log/mysql-error.log bind-address = 127.0.0.1 key_buffer = 16M max_allowed_packet = 16M thread_stack = 192K thread_cache_size = 8 myisam-recover = BACKUP query_cache_limit = 1M query_cache_size = 16M expire_logs_days = 10 max_binlog_size = 100M [mysqldump] quick quote-names max_allowed_packet = 16M [mysql] [isamchk] key_buffer = 16M !includedir /etc/mysql/conf.d/mysqld.sock отсутствует, права на /var/lib/mysql у mysql есть. Поднять бы в первую очередь mysql.