【已完成】Nginx防火墙 9.4.9
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:面板版本:
9.1.0
插件版本:
Nginx防火墙 9.4.9
系统版本:
CentOS 7.9.2009 x86_64(Py3.7.9)
问题描述:
无法正常使用Nginx防火墙 9.4.9,已经尝试修复无果,是最新版本
相关截图(日志、错误):
已恢复,感谢技术人员! 可能没有安装上,可以尝试卸载重新安装一下插件 阿珂 发表于 2024-7-27 09:41
可能没有安装上,可以尝试卸载重新安装一下插件
已经重新安装了,还是没有配置文件,原先卸载过一次nginx 安装过程有没有错误信息
bash -x /www/server/panel/plugin/btwaf/install.sh install
执行这个命令,结果截图 + PATH=/www/server/panel/pyenv/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin
+ export PATH
+ install_tmp=/tmp/bt_install.pl
+ pluginPath=/www/server/panel/plugin/btwaf
+ remote_dir=total2
++ python -c 'import sys;print(sys.version_info);'
+ pyVersion=3
++ python -c 'import sys;print(sys.version_info);'
+ py_zi=7
+ pluginPath2=/www/server/panel/plugin/webshell_san
++ uname -a
++ grep -Po aarch64
++ awk NR==1
+ aacher=
++ cat /etc/redhat-release
++ grep ' 6.'
++ grep -i centos
+ Centos6Check=
+ '[' install == install ']'
+ Install_btwaf
+ mkdir /www/server/panel/plugin/webshell_san
mkdir: cannot create directory ‘/www/server/panel/plugin/webshell_san’: File exists
+ mkdir -p /www/server/panel/plugin/btwaf
+ '[' -d /www/server/btwaf/ ']'
+ echo ''
+ wget -O /www/server/panel/plugin/btwaf/btwaf_static.zip http://download.bt.cn/btwaf_rule/btwaf_static.zip
--2024-07-27 18:16:50--http://download.bt.cn/btwaf_rule/btwaf_static.zip
Resolving download.bt.cn (download.bt.cn)... 42.157.129.47, 2001:19f0:7001:54fc:5400:2ff:fe9b:97f9
Connecting to download.bt.cn (download.bt.cn)|42.157.129.47|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11348115 (11M)
Saving to: ‘/www/server/panel/plugin/btwaf/btwaf_static.zip’
100%[==================================================================================================================================================>] 11,348,115 816KB/s in 14s
2024-07-27 18:17:04 (815 KB/s) - ‘/www/server/panel/plugin/btwaf/btwaf_static.zip’ saved
++ ls -l /www/server/panel/plugin/btwaf/btwaf_static.zip
++ awk '{print $5}'
+ count=11348115
+ '[' 11348115 -lt 32564250 ']'
+ echo 下载失败
+ echo ERROR:安装失败
+ '[' -d /www/server/panel/plugin/btwaf/btwaf_static ']'
+ cd /www/server/panel/plugin/btwaf
+ unzip /www/server/panel/plugin/btwaf/btwaf_static.zip
Archive:/www/server/panel/plugin/btwaf/btwaf_static.zip
creating: btwaf_static/
inflating: btwaf_static/captcha.zip
inflating: btwaf_static/GeoLite2-City-reduce.mmdb
inflating: btwaf_static/lsqlite3_fsl09y.zip
extracting: btwaf_static/lua-5.1.5.tar.gz
extracting: btwaf_static/lua-cjson-2.1.0.tar.gz
inflating: btwaf_static/lua-cjson-2.1.0.tar.gz.bak
inflating: btwaf_static/LuaJIT-2.1.0-beta3.tar.gz
extracting: btwaf_static/luarocks-3.5.0.tar.gz
creating: btwaf_static/static/
creating: btwaf_static/static/fonts/
inflating: btwaf_static/static/fonts/YouSheBiaoTiHei-2.ttf
creating: btwaf_static/static/img/
creating: btwaf_static/static/img/feedback/
inflating: btwaf_static/static/img/feedback/QA_banner.png
extracting: btwaf_static/static/img/feedback/QA_close.png
inflating: btwaf_static/static/img/feedback/QA_emoj.png
extracting: btwaf_static/static/img/feedback/QA_like.png
extracting: btwaf_static/static/img/feedback/QA_logo.png
extracting: btwaf_static/static/img/feedback/QA_straw.png
creating: btwaf_static/static/img/ng-waf/
inflating: btwaf_static/static/img/ng-waf/attack-source-bg.svg
inflating: btwaf_static/static/img/ng-waf/attack-source-header.svg
inflating: btwaf_static/static/img/ng-waf/dd.gif
inflating: btwaf_static/static/img/ng-waf/defense-dynamics-bg.svg
inflating: btwaf_static/static/img/ng-waf/defense-dynamics-header.svg
extracting: btwaf_static/static/img/ng-waf/dun.png
extracting: btwaf_static/static/img/ng-waf/dun1.png
inflating: btwaf_static/static/img/ng-waf/dun_bg.png
inflating: btwaf_static/static/img/ng-waf/icon-all-intercept.svg
inflating: btwaf_static/static/img/ng-waf/icon-day-intercept.svg
inflating: btwaf_static/static/img/ng-waf/icon-scrollbar-bg.svg
inflating: btwaf_static/static/img/ng-waf/icon-scrollbar-bottom.svg
inflating: btwaf_static/static/img/ng-waf/icon-scrollbar-top.svg
inflating: btwaf_static/static/img/ng-waf/icon-tag-swiched.png
inflating: btwaf_static/static/img/ng-waf/icon-view-report.svg
inflating: btwaf_static/static/img/ng-waf/intercept-trend-chart.svg
inflating: btwaf_static/static/img/ng-waf/logo_bg.png
extracting: btwaf_static/static/img/ng-waf/ng-logo.png
extracting: btwaf_static/static/img/ng-waf/ng-logo1.png
inflating: btwaf_static/static/img/ng-waf/ng-waf.png
inflating: btwaf_static/static/img/ng-waf/site-block-header.svg
creating: btwaf_static/static/moment/
creating: btwaf_static/static/src/
+ '[' -d /www/server/panel/plugin/btwaf/btwaf_static ']'
+ echo 解压成功
解压成功
宝塔用户_vlunlc 发表于 2024-7-27 18:30
+ PATH=/www/server/panel/pyenv/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/roo ...
https://www.bt.cn/bbs/data/attachment/forum/202407/27/183240iupgc85co1uu18o0.jpg 已解决,感谢宝塔工作人员 问题已解决,感谢客服 宝塔用户_vlunlc 发表于 2024-7-27 18:35
您好,您这边修复一下nginx防火墙的插件,然后再查看一下,
页:
[1]