- 积分
- 23
- 威望
-
- 金钱
-
- 注册时间
- 2016-4-17
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
如下显示安装日志,安装成功了 但是无法启动,手动启动也一样报错,安装前在lnmp.conf文件里修改了mysql安装到/datadisk/mysql里面,datadisk目录是我挂载的另一块硬盘。不知道是什么原因,如果不修改安装路径,都按照默认的来,不会报错。请军哥看下。
============================== Check install ==============================
Checking ...
Nginx: OK
MySQL: OK
PHP: OK
PHP-FPM: OK
Clean src directory...
+------------------------------------------------------------------------+
| LNMP V1.4 for CentOS Linux Server, Written by Licess |
+------------------------------------------------------------------------+
| For more information please visit https://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: /datadisk/wwwroot/default |
+------------------------------------------------------------------------+
| MySQL/MariaDB root password: roots01ed01 |
+------------------------------------------------------------------------+
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
nginx (pid 15673 15671 15670 15669 15668) is running...
php-fpm is runing!
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:111 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN
tcp 0 0 192.168.122.1:53 0.0.0.0:* LISTEN
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN
tcp6 0 0 :::111 :::* LISTEN
tcp6 0 0 :::22 :::* LISTEN
tcp6 0 0 ::1:631 :::* LISTEN
Install lnmp takes 70 minutes.
Install lnmp V1.4 completed! enjoy it.
[root@idc-mysql lnmp1.4-full]# lnmp mysql start
+-------------------------------------------+
| Manager for LNMP, Written by Licess |
+-------------------------------------------+
| https://lnmp.org |
+-------------------------------------------+
Starting MySQL.Logging to '/datadisk/mysql/var/idc-mysql.err'.
ERROR! The server quit without updating PID file (/datadisk/mysql/var/idc-mysql.pid). |
|