VPS侦探论坛

 找回密码
 注册
查看: 3000|回复: 1

一键安装完成后 服务起不来 菜鸟求教

[复制链接]
发表于 2017-2-16 16:45:17 | 显示全部楼层 |阅读模式

操作系统 CENTOS6.5 试过删除各种文件 始终没有PID出来 make[1]: 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:[  OK  ]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 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-fpm  done============================== 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.[root@localhost lnmp1.3-full]# mysql -u rootERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)[root@localhost lnmp1.3-full]# mysqlERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)[root@localhost lnmp1.3-full]# netstat -ntlp  | grep 3306[root@localhost lnmp1.3-full]# udo /Library/StartupItems/MySQLCOM/MySQLCOM start -bash: udo: command not found[root@localhost lnmp1.3-full]# sudo /Library/StartupItems/MySQLCOM/MySQLCOM start sudo: /Library/StartupItems/MySQLCOM/MySQLCOM: command not found[root@localhost lnmp1.3-full]# cd /usr/local/mysql[root@localhost mysql]# sudo ./bin/mysqld_safe 2017-02-16T05:48:16.055151Z mysqld_safe Logging to



补了日志 之前上传没打包失败了 没注意

[ 本帖最后由 yiyllove 于 2017-2-17 09:40 编辑 ]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-2-16 19:10:10 | 显示全部楼层


没完整日志没法说
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-27 21:30 , Processed in 0.027588 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表