自上次重启以来,我的gitlab安装无法启动。
mysqld.pid文件也不存在。
131111 18:20:57 mysqld_safe Logging to '/opt/bitnami/mysql/data/mysqld.log'.
131111 18:20:57 mysqld_safe Starting mysqld.bin daemon with databases from /opt/bitnami/mysql/data
131111 18:20:58 mysqld_safe mysqld from pid file /opt/bitnami/mysql/data/mysqld.pid ended
我查看了mysqld.log
tail -f mysql/data/mysqld.log
131111 18:30:24 InnoDB: Using Linux native AIO
131111 18:30:24 InnoDB: Initializing buffer pool, size = 128.0M
131111 18:30:24 InnoDB: Completed initialization of buffer pool
131111 18:30:24 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ib_logfile0
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
131111 18:30:24 mysqld_safe mysqld from pid file /opt/bitnami/mysql/data/mysqld.pid ended
这是否意味着,mysqld使用没有/ opt / bitnami / mysql / data
的访问权限我现在也看到了这个错误
tail -f mysql/data/mysqld.log
InnoDB: Error: log file ./ib_logfile1 is of different size 0 327680 bytes
InnoDB: than specified in the .cnf file 0 5242880 bytes!
131111 18:34:57 [ERROR] Plugin 'InnoDB' init function returned error.
131111 18:34:57 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
131111 18:34:57 [ERROR] Unknown/unsupported storage engine: InnoDB
131111 18:34:57 [ERROR] Aborting
131111 18:34:57 [Note] /opt/bitnami/mysql/bin/mysqld.bin: Shutdown complete
131111 18:34:57 mysqld_safe mysqld from pid file /opt/bitnami/mysql/data/mysqld.pid ended
答案 0 :(得分:1)
我自己修理了
并使用sh ctlscript.sh start重新启动服务器,它就像魅力一样开始。