LINUX.ORG.RU

проблемы с mysqld


0

1

Не было печали апдейтов накачали. Вообщем после обновления, у меня перестал работать kmail. При этом вылезала окошко самодиагностики Akonadi сервера, что он не может стартовать. После копания в логах, выяснилось, что проблемы с mysql. Вот что в логе, самодиагностики

110304 21:13:05 [Note] Plugin 'FEDERATED' is disabled.
110304 21:13:05  InnoDB: Initializing buffer pool, size = 80.0M
110304 21:13:06  InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile1 is of different size 0 0 bytes
InnoDB: than specified in the .cnf file 0 67108864 bytes!
110304 21:13:06 [ERROR] Plugin 'InnoDB' init function returned error.
110304 21:13:06 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
110304 21:13:06 [ERROR] Unknown/unsupported table type: innodb
110304 21:13:06 [ERROR] Aborting

110304 21:13:06 [Note] /usr/sbin/mysqld: Shutdown complete

Загуглив понял, что это какой-то древний баг.

Если же запустить демон ручками получим следующее:

koirn-debianbook:/var/lib/mysql# 110304 21:18:29 [Note] Plugin 'FEDERATED' is disabled.
mysqld: Table 'mysql.plugin' doesn't exist
110304 21:18:29 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
110304 21:18:29  InnoDB: Initializing buffer pool, size = 8.0M
110304 21:18:29  InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file ./ibdata1 did not exist:
InnoDB: a new database to be created!
110304 21:18:29  InnoDB: Setting file ./ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
110304 21:18:29  InnoDB: Log file ./ib_logfile0 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
110304 21:18:29  InnoDB: Log file ./ib_logfile1 did not exist: new to be created
InnoDB: Setting log file ./ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
110304 21:18:30  InnoDB: Started; log sequence number 0 0
110304 21:18:30 [ERROR] Can't open and lock privilege tables: Table 'mysql.servers' doesn't exist
110304 21:18:30 [ERROR] Column count of mysql.db is wrong. Expected 22, found 20. Created with MySQL 50051, now running 50155. Please use mysql_upgrade to fix this error.
110304 21:18:30 [ERROR] mysql.user has no `Event_priv` column at position 29
110304 21:18:30 [ERROR] Cannot open mysql.event
110304 21:18:30 [ERROR] Event Scheduler: An error occurred when initializing system tables. Disabling the Event Scheduler.
110304 21:18:30 [Note] mysqld: ready for connections.
Version: '5.1.55-1'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  (Debian)

Вообщем толи это бага, то ли полетели все таблицы. Как это пофиксить?


Ответ на: комментарий от guilder

> Я думаю стоит откатиться

Из-за одного mysql откатываться? Это злая шутка, да?

Какая версия mysql была до апдейтов и какая стала после?

Solaris10
()

/var/lib/mysql

ЕМНИП Akonadi использует mysql из ~/.local/share/akonadi

leave ★★★★★
()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.