1.3 安装出错
Starting LAMP...start apache... Syntax error on line 161 of /usr/local/apache/conf/httpd.conf:
DocumentRoot takes one argument, Root directory of the document tree
failed
Starting MySQL. ERROR! The server quit without updating PID file (/xx.com.pid).linode的 centos6.5安装lamp报上面的错,试过2次都报错,装1.2没问题。安装日志传不了啊
报防火墙问题 上传安装日志报以下信息:网站防火墙
您的请求带有不合法参数,已被网站管理员设置拦截!
可能原因:您提交的内容包含危险的攻击请求
如何解决:
[*]1)检查提交内容;[*]2)如网站托管,请联系空间提供商;[*]3)普通网站访客,请联系网站管理员; ============================Install PHPMyAdmin=================================
============================phpMyAdmin install completed=======================
iptables: Saving firewall rules to /etc/sysconfig/iptables:
Add Startup and Starting LAMP...
Add httpd service at system startup...
start apache... Syntax error on line 161 of /usr/local/apache/conf/httpd.conf:
DocumentRoot takes one argument, Root directory of the document tree
failed
Add mysql service at system startup...
Starting MySQL. ERROR! The server quit without updating PID file (/xx.com.pid).
[0;32mApache: OK[0m
[0;32mMySQL: OK[0m
[0;32mPHP: OK[0m
+------------------------------------------------------------------------+
| LNMP V1.3 for CentOS Linux Server, Written by Licess |
+------------------------------------------------------------------------+
| For more information please visit http://www.lnmp.org |
+------------------------------------------------------------------------+
| lnmp status manage: lnmp {start|stop|reload|restart|kill|status} |
+------------------------------------------------------------------------+
|phpMyAdmin: http://IP/phpmyadmin/ |
|phpinfo: http://IP/phpinfo.php |
|Prober:http://IP/p.php |
+------------------------------------------------------------------------+
|Add VirtualHost: lnmp vhost add |
+------------------------------------------------------------------------+
|Default directory: |
+------------------------------------------------------------------------+
|MySQL/MariaDB root password: aWKGgx5db8rB6Hrs |
+------------------------------------------------------------------------+
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| http://lnmp.org |
+-------------------------------------------+
Apache is stopped.
ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) exists
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 :::22 :::* LISTEN
mysql的错误日志:151124 23:23:09 mysqld_safe Starting mysqld daemon with databases from
151124 23:23:09 /usr/local/mysql/bin/mysqld (mysqld 5.5.46-log) starting as process 24448 ...
/usr/local/mysql/bin/mysqld: File './mysql-bin.index' not found (Errcode: 13)
151124 23:23:09 Aborting
151124 23:23:09 /usr/local/mysql/bin/mysqld: Shutdown complete
151124 23:23:09 mysqld_safe mysqld from pid file /xx.com.pid ended
151124 23:23:10 mysqld_safe Starting mysqld daemon with databases from
151124 23:23:10 /usr/local/mysql/bin/mysqld (mysqld 5.5.46-log) starting as process 24991 ...
/usr/local/mysql/bin/mysqld: File './mysql-bin.index' not found (Errcode: 13)
151124 23:23:10 Aborting
151124 23:23:10 /usr/local/mysql/bin/mysqld: Shutdown complete
151124 23:23:10 mysqld_safe mysqld from pid file /xx.com.pid ended
151124 23:23:11 mysqld_safe Starting mysqld daemon with databases from
151124 23:23:11 /usr/local/mysql/bin/mysqld (mysqld 5.5.46-log) starting as process 25536 ...
/usr/local/mysql/bin/mysqld: File './mysql-bin.index' not found (Errcode: 13)
151124 23:23:11 Aborting
151124 23:23:11 /usr/local/mysql/bin/mysqld: Shutdown complete
151124 23:23:11 mysqld_safe mysqld from pid file /xx.com.pid ended
151124 23:37:25 mysqld_safe Starting mysqld daemon with databases from
151124 23:37:25 /usr/local/mysql/bin/mysqld (mysqld 5.5.46-log) starting as process 14910 ...
/usr/local/mysql/bin/mysqld: File './mysql-bin.index' not found (Errcode: 13)
151124 23:37:25 Aborting
151124 23:37:25 /usr/local/mysql/bin/mysqld: Shutdown complete
151124 23:37:25 mysqld_safe mysqld from pid file /xx.com.pid ended
151125 07:14:55 mysqld_safe Starting mysqld daemon with databases from
1511257:14:55 /usr/local/mysql/bin/mysqld (mysqld 5.5.46-log) starting as process 15522 ...
/usr/local/mysql/bin/mysqld: File './mysql-bin.index' not found (Errcode: 13)
1511257:14:55 Aborting
1511257:14:55 /usr/local/mysql/bin/mysqld: Shutdown complete
151125 07:14:55 mysqld_safe mysqld from pid file /xx.com.pid ended
151125 12:51:23 mysqld_safe Starting mysqld daemon with databases from
151125 12:51:23 /usr/local/mysql/bin/mysqld (mysqld 5.5.46-log) starting as process 16085 ...
/usr/local/mysql/bin/mysqld: File './mysql-bin.index' not found (Errcode: 13)
151125 12:51:23 Aborting
151125 12:51:23 /usr/local/mysql/bin/mysqld: Shutdown complete
151125 12:51:23 mysqld_safe mysqld from pid file /xx.com.pid ended
151125 12:55:12 mysqld_safe Starting mysqld daemon with databases from
151125 12:55:12 /usr/local/mysql/bin/mysqld (mysqld 5.5.46-log) starting as process 16601 ...
151125 12:55:12 Plugin 'FEDERATED' is disabled.
/usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
151125 12:55:12 Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
151125 12:55:12 syntax error in innodb_log_group_home_dir, or a wrong number of mirrored log groups
151125 12:55:12 Plugin 'InnoDB' init function returned error.
151125 12:55:12 Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151125 12:55:12 Unknown/unsupported storage engine: InnoDB
151125 12:55:12 Aborting
151125 12:55:12 /usr/local/mysql/bin/mysqld: Shutdown complete
151125 12:55:12 mysqld_safe mysqld from pid file /xx.com.pid ended
151125 12:58:42 mysqld_safe Starting mysqld daemon with databases from
151125 12:58:42 /usr/local/mysql/bin/mysqld (mysqld 5.5.46-log) starting as process 17116 ...
151125 12:58:42 Plugin 'FEDERATED' is disabled.
/usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
151125 12:58:42 Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
151125 12:58:42 syntax error in innodb_log_group_home_dir, or a wrong number of mirrored log groups
151125 12:58:42 Plugin 'InnoDB' init function returned error.
151125 12:58:42 Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151125 12:58:42 Unknown/unsupported storage engine: InnoDB
151125 12:58:42 Aborting
151125 12:58:42 /usr/local/mysql/bin/mysqld: Shutdown complete
151125 12:58:42 mysqld_safe mysqld from pid file /xx.com.pid ended
151125 12:59:22 mysqld_safe Starting mysqld daemon with databases from
151125 12:59:22 /usr/local/mysql/bin/mysqld (mysqld 5.5.46-log) starting as process 17631 ...
151125 12:59:22 Plugin 'FEDERATED' is disabled.
/usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
151125 12:59:22 Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
151125 12:59:22 syntax error in innodb_log_group_home_dir, or a wrong number of mirrored log groups
151125 12:59:22 Plugin 'InnoDB' init function returned error.
151125 12:59:22 Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151125 12:59:22 Unknown/unsupported storage engine: InnoDB
151125 12:59:22 Aborting
151125 12:59:22 /usr/local/mysql/bin/mysqld: Shutdown complete
151125 12:59:22 mysqld_safe mysqld from pid file /xx.com.pid ended
151125 12:59:57 mysqld_safe Starting mysqld daemon with databases from
151125 12:59:57 /usr/local/mysql/bin/mysqld (mysqld 5.5.46-log) starting as process 18146 ...
151125 12:59:57 Plugin 'FEDERATED' is disabled.
/usr/local/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
151125 12:59:57 Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
151125 12:59:57 syntax error in innodb_log_group_home_dir, or a wrong number of mirrored log groups
151125 12:59:57 Plugin 'InnoDB' init function returned error.
151125 12:59:57 Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
151125 12:59:57 Unknown/unsupported storage engine: InnoDB
151125 12:59:57 Aborting
151125 12:59:57 /usr/local/mysql/bin/mysqld: Shutdown complete
151125 12:59:57 mysqld_safe mysqld from pid file /xx.com.pid ended 再问一下军哥,1.3自动优化,是根据硬件来优化?是否就是主要优化mysql配置? 日志要完整的,需要压缩后上传 军哥,请看附件。
回复 7# 的帖子
Installing MySQL system tables...151124 23:23:08 /usr/local/mysql/bin/mysqld (mysqld 5.5.46-log) starting as process 23930 ...
/usr/local/mysql/bin/mysqld: File './mysql-bin.index' not found (Errcode: 13)
151124 23:23:08 Aborting
你ls -la 你的数据库目录看看,应该是权限有问题,你数据库目录设到哪了?
start apache... Syntax error on line 161 of /usr/local/apache/conf/httpd.conf:
DocumentRoot takes one argument, Root directory of the document tree
failed
你修改过默认网站目录吧? 默认安装,没改目录 军哥,在腾讯云上安装1.3的lamp 仍然是报这错
[ 本帖最后由 monface 于 2015-12-9 16:00 编辑 ]
页:
[1]