一键安装完成后 服务起不来 菜鸟求教
操作系统 CENTOS6.5 试过删除各种文件 始终没有PID出来 make: Leaving directory `/root/lnmp1.3-full/src/nginx-1.10.0'mkdir: missing operandTry `mkdir --help' for more information.chmod: missing operand after `+w'Try `chmod --help' for more information.chown: missing operand after `www:www'Try `chown --help' for more information.Create PHP Info Tool...Copy PHP Prober...Copy Opcache Control Panel...============================Install PHPMyAdmin=============================================================phpMyAdmin install completed=======================iptables: Saving firewall rules to /etc/sysconfig/iptables:Add Startup and Starting LNMP...Add nginx service at system startup...Starting nginx... nginx: invalid number of arguments in "root" directive in /usr/local/nginx/conf/nginx.conf:66 failedAdd mysql service at system startup...Starting MySQL. ERROR! The server quit without updating PID file (/localhost.localdomain.pid).Add php-fpm service at system startup...Starting php-fpmdone============================== Check install ==============================Checking ...Nginx: OKMySQL: OKPHP: OKPHP-FPM: OKClean src directory...+------------------------------------------------------------------------+| 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: 123456 |+------------------------------------------------------------------------++-------------------------------------------+| Manager for LNMP, Written by Licess |+-------------------------------------------+| http://lnmp.org |+-------------------------------------------+nginx is stoppedphp-fpm is runing! ERROR! MySQL is not running, but lock file (/var/lock/subsys/mysql) existsActive 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:22 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:60182 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp 0 0 :::35339 :::* LISTEN tcp 0 0 ::ffff:127.0.0.1:8015 :::* LISTEN tcp 0 0 :::111 :::* LISTEN tcp 0 0 :::6640 :::* LISTEN tcp 0 0 :::8080 :::* LISTEN tcp 0 0 :::6610 :::* LISTEN tcp 0 0 :::8019 :::* LISTEN tcp 0 0 :::22 :::* LISTEN tcp 0 0 ::1:631 :::* LISTEN tcp 0 0 :::8090 :::* LISTEN tcp 0 0 :::6620 :::* LISTEN tcp 0 0 ::ffff:127.0.0.1:8005 :::* LISTEN tcp 0 0 :::6630 :::* LISTEN tcp 0 0 :::8009 :::* LISTEN Install lnmp V1.3 completed! enjoy it.# mysql -u rootERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)# mysqlERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)# netstat -ntlp| grep 3306# udo /Library/StartupItems/MySQLCOM/MySQLCOM start -bash: udo: command not found# sudo /Library/StartupItems/MySQLCOM/MySQLCOM start sudo: /Library/StartupItems/MySQLCOM/MySQLCOM: command not found# cd /usr/local/mysql# sudo ./bin/mysqld_safe 2017-02-16T05:48:16.055151Z mysqld_safe Logging to补了日志 之前上传没打包失败了 没注意
[ 本帖最后由 yiyllove 于 2017-2-17 09:40 编辑 ] 没完整日志没法说
页:
[1]