VPS侦探论坛

 找回密码
 注册
查看: 4237|回复: 7

lnmp vhost add 卡住不动了,怎么解

[复制链接]
发表于 2020-4-8 15:40:48 | 显示全部楼层 |阅读模式


本帖子中包含更多资源

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

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


本帖最后由 一人天 于 2020-4-8 16:19 编辑

等好很久走下去了。麻烦军哥看下下面添加SSL的事
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-4-8 16:16:34 | 显示全部楼层

本帖最后由 一人天 于 2020-4-8 16:24 编辑

ww.llfang.com/3644637_www.llfang.com.key
Test Nginx configure file......
nginx: [warn] conflicting server name "www.llfang.com" on 0.0.0.0:443, ignored
nginx: [warn] conflicting server name "llfang.com" on 0.0.0.0:443, ignored
nginx: [warn] conflicting server name "www.llfang.com" on 0.0.0.0:443, ignored
nginx: [warn] conflicting server name "llfang.com" on 0.0.0.0:443, ignored
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Reload Nginx......
nginx: [warn] conflicting server name "www.llfang.com" on 0.0.0.0:443, ignored
nginx: [warn] conflicting server name "llfang.com" on 0.0.0.0:443, ignored
nginx: [warn] conflicting server name "www.llfang.com" on 0.0.0.0:443, ignored
nginx: [warn] conflicting server name "llfang.com" on 0.0.0.0:443, ignored
nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"


阿里云的免费SSL,添加出这个错。怎么解
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2020-4-8 16:41:18 | 显示全部楼层



nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Reload Nginx......
nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
Gracefully shutting down php-fpm . done
Starting php-fpm  done
Create dhparam.pem...
Generating DH parameters, 2048 bit long safe prime, generator 2
This is going to take a long time
.................+..+...........................................................                                                                                        ......+.........................................................................                                                                                        .....................................................+..........................                                                                                        ................................................................................                                                                                        ................................................................................                                                                                        ................................................................+...............                                                                                        ..................................................+............+................                                                                                        ................................................................................                                                                                        .+...........+.............................................+.........+....++*++*
Test Nginx configure file......
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Reload Nginx......
nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
================================================
Virtualhost infomation:
Your domain: www.llfang.com
Home Directory: /  //
Rewrite: none
Enable log: yes
Create database: no
Create ftp account: no
Enable SSL: yes


Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2020-4-8 20:17:43 | 显示全部楼层

如果网站目录已经存在且目录下面有数据的话,可能会要稍等一会儿,硬盘IO慢的话也可能会造成这种问题

#3
这个的话时提示的这些域名你已经添加过很多次了

军哥运维代购:http://shop63846532.taobao.com/

 楼主| 发表于 2020-4-8 20:19:02 | 显示全部楼层

licess 发表于 2020-4-8 20:17
如果网站目录已经存在且目录下面有数据的话,可能会要稍等一会儿,硬盘IO慢的话也可能会造成这种问题

#3

用的阿里云的免费的SSL,重新生成的SSLKEY和PEM文件,怎么添加上,贴入文件后,提示三楼的错误
ginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"
发表于 2020-4-9 08:45:28 | 显示全部楼层

一人天 发表于 2020-4-8 20:19
用的阿里云的免费的SSL,重新生成的SSLKEY和PEM文件,怎么添加上,贴入文件后,提示三楼的错误
ginx: [err ...

你nginx没启动或启动后pid文件被删除了然后再reload就这个提示
重启nginx就行了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2020-4-10 09:19:26 | 显示全部楼层

谢谢军哥,重装的1.6
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-21 19:33 , Processed in 0.028098 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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