openstack keystone service 에서 쓰는 mariadb를 올리다가 문제가 생겼다…
이것저것 해보다가 다 날리고 새로 package를 지우고 깔았는데도
”’
151231 18:13:31 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
151231 18:13:31 [Note] /usr/libexec/mysqld (mysqld 5.5.44-MariaDB) starting as process 4355 …
151231 18:13:31 InnoDB: The InnoDB memory heap is disabled
151231 18:13:31 InnoDB: Mutexes and rw_locks use GCC atomic builtins
151231 18:13:31 InnoDB: Compressed tables use zlib 1.2.7
151231 18:13:31 InnoDB: Using Linux native AIO
151231 18:13:31 InnoDB: Initializing buffer pool, size = 128.0M
151231 18:13:31 InnoDB: Completed initialization of buffer pool
InnoDB: Error: log file ./ib_logfile0 is of different size 0 50331648 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
InnoDB: Possible causes for this error:
(a) Incorrect log file is used or log file size is changed
(b) In case default size is used this log file is from 10.0
(c) Log file is corrupted or there was not enough disk space
In case (b) you need to set innodb_log_file_size = 48M
151231 18:13:31 [ERROR] Plugin ‘InnoDB’ init function returned error.
151231 18:13:31 [ERROR] Plugin ‘InnoDB’ registration as a STORAGE ENGINE failed.
151231 18:13:31 [Note] Plugin ‘FEEDBACK’ is disabled.
151231 18:13:31 [ERROR] Unknown/unsupported storage engine: innodb
151231 18:13:31 [ERROR] Aborting
”’
이런 log를 띄우면서 안되는거다… 그래서 찾아보니…
# rm -rf /var/lib/mysql/ib_logfile*
이런게 있어서 해보니까 잘 되더라…
mariadb 를 지우고 새로 깔면 저 log 파일을 지워줘야 하나보다…