当前位置:论坛首页 > Linux面板 > 求助

【待反馈】nginx防火墙安装错误

发表在 Linux面板3 天前 [复制链接] 1 41

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:[size=1.2][url=]9.2.0 ,所有版本都试过了
[/url]

系统版本:ubuntu20

问题描述:nginx防火墙安装错误

相关截图(日志、错误):

安装失败: <pre>Starting nginx... nginx: [warn] only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.cloudream.top.conf:5 nginx: [warn] only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.tomzhao.top.conf:5 done Stoping nginx... nginx: [warn] only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.cloudream.top.conf:5 nginx: [warn] only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.tomzhao.top.conf:5 done Starting nginx... nginx: [warn] only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.cloudream.top.conf:5 nginx: [warn] only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.tomzhao.top.conf:5 done install.sh: line 670: netstat: command not found Stopping Bt-ipFilter service... done Stopping Bt-ipFilter service... done Starting Bt-ipFilter service... done Bt-ipFilter service (pid 520099) already running Stopping Bt-ipFilter service... done Starting Bt-ipFilter service... done install.sh: line 794: netstat: command not found shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Stoping nginx... nginx: [warn] only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.cloudream.top.conf:5 nginx: [warn] only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.tomzhao.top.conf:5 done shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Starting nginx... nginx: [warn] only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.cloudream.top.conf:5 nginx: [warn] only the last index in "index" directive should be absolute in /www/server/panel/vhost/nginx/cdn.tomzhao.top.conf:5 done 安装失败,可以重新安装一次试试 安装失败,可能不兼容该Nginx、请切换一个Nginx版本后重新安装 5秒后结束安装进程!!!!</pre>
使用道具 举报 只看该作者 回复
发表于 3 天前 | 显示全部楼层
您好,执行下面命令安装netstat命令,然后再安装nginx防火墙
apt-get update  -y
apt-get install net-tools -y
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

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