- 积分
- 92
- 威望
-
- 金钱
-
- 注册时间
- 2016-8-20
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
LNMP1.3装了4次,同样的故障。
故障环境:ESXI 下配置LINUX虚拟机 4核处理器,4GB内存,20GB空间,selinux关闭,Centos 6.6 64位新安装的系统,打开数据库就报错,报错如下- ============================phpMyAdmin install completed=======================
- iptables: Saving firewall rules to /etc/sysconfig/iptables: [60G[[0;32m OK [0;39m]
- Add Startup and Starting LNMP...
- Add nginx service at system startup...
- Starting nginx... nginx: [emerg] invalid number of arguments in "root" directive in /usr/local/nginx/conf/nginx.conf:66
- failed
- Add mysql service at system startup...
- Starting MySQL. ERROR! The server quit without updating PID file (/bogon.pid).
- Add php-fpm service at system startup...
- Starting php-fpm done
- ============================== Check install ==============================
复制代码 然后,我把 /etc/my.cnf 里面datadir指定了环境,然后service mysql start,依旧报错,- [root@bogon data]# service mysql start
- Starting MySQL. ERROR! The server quit without updating PID file (/usr/local/mysql/data/bogon.pid).
复制代码 data目录下面bogon.err信息如下:- 160823 17:00:13 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/data
- 160823 17:00:13 [Note] /usr/local/mysql/bin/mysqld (mysqld 5.5.48-log) starting as process 18749 ...
- 160823 17:00:13 [Note] Plugin 'FEDERATED' is disabled.
- /usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
- 160823 17:00:13 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
- 160823 17:00:13 [ERROR] syntax error in innodb_log_group_home_dir, or a wrong number of mirrored log groups
- 160823 17:00:13 [ERROR] Plugin 'InnoDB' init function returned error.
- 160823 17:00:13 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
- 160823 17:00:13 [ERROR] Unknown/unsupported storage engine: InnoDB
- 160823 17:00:13 [ERROR] Aborting
- 160823 17:00:13 [Note] /usr/local/mysql/bin/mysqld: Shutdown complete
- 160823 17:00:13 mysqld_safe mysqld from pid file /usr/local/mysql/data/bogon.pid ended
复制代码 在网上找了很多修改方案,都不行,还有一个问题就是mysqladmin 和mysqldump这两个好像LN的链接都没有做, 安装日志见附件。
[ 本帖最后由 zhuzhu0628 于 2016-8-23 17:27 编辑 ] |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注册
x
|