系统相关
首页 > 系统相关> > The program ‘nginx‘ can be found in the following packages: * nginx-core * nginx-extras * nginx-f

The program ‘nginx‘ can be found in the following packages: * nginx-core * nginx-extras * nginx-f

作者:互联网

若报错:

The program 'nginx' can be found in the following packages:
 * nginx-core
 * nginx-extras
 * nginx-full
 * nginx-light
Try: apt install <selected package>

使用绝对路径使用命令:
在这里插入图片描述

nginx: [error] invalid PID number "" in "/usr/local/nginx/logs/nginx.pid"

ps -ef | grep nginx

然后杀掉进程
在这里插入图片描述

标签:core,nginx,program,following,packages,extras
来源: https://blog.51cto.com/u_14175378/2759892