赞
踩
其中一种原因:
nginx -s reload
nginx: [error] invalid PID number "" in "/var/run/nginx.pid"
"/run/nginx.pid"
-
- ps -aux | grep "nginx: master process"
- pid
- 11122
- sudo echo 11122> /run/nginx.pid
Could not choose appropriate plugin: The nginx plugin is not working; there may be problems with your existing configuration.
5114 The error was: NoInstallationError("Could not find a usable 'nginx' binary. Ensure nginx exists, the binary is executable, and your PATH is set correctly.",)
5115 Failed to renew certificate test.store.zhenligroup.com with error: The nginx plugin is not working; there may be problems with your existing configuration.
5116 The error was: NoInstallationError("Could not find a usable 'nginx' binary. Ensure nginx exists, the binary is executable, and your PATH is set correctly.",)
指定 nginx path:--nginx-ctl /usr/sbin/nginx
/usr/bin/certbot --nginx-ctl /usr/sbin/nginx renew
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。