Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] "[emerg] limit_conn_zone "bot2_connlimit" is already bound to key "$bot_iplimit" in /etc/nginx/conf.d/globalblacklist.conf:19300" after recent update #532

Open
12 tasks
Danrancan opened this issue Aug 29, 2023 · 1 comment
Assignees
Labels

Comments

@Danrancan
Copy link

Danrancan commented Aug 29, 2023

Describe the bug

After a recent update to badbotblocker nginx -t is showing the following error:

[emerg] limit_conn_zone "bot2_connlimit" is already bound to key "$bot_iplimit" in /etc/nginx/conf.d/globalblacklist.conf:19300

To Reproduce

Install Nginx Mainline for Ubuntu 22.04. Run nginx -t

Expected behavior

I expect this error to not appear.

Server (please complete the following information):

  • Operating System:

  • [ X] Ubuntu

  • Alpine

  • Arch Linux

  • Debian

  • CentOS

  • Fedora

  • Deepin

  • Windows

  • Other

  • Specify Exact Version of OS:


Linux mail.facl.xyz 5.15.0-1035-raspi #38-Ubuntu SMP PREEMPT Tue Jul 18 12:17:11 UTC 2023 aarch64 aarch64 aarch64 GNU/Linux

  • nginx version: nginx/1.25.2

  • Other Environments [include Version information]

  • Plesk

  • CPanel

  • Synology NAS

  • Other

  • Specify Other / Specific Version Information Here:

  • Any other applicable log / error messages that may help us to help you.


Paste any log / error messages here (paste in between the ```     ``` markers)

Additional information

Add any other context about the problem here.

@Sharlyll
Copy link

Hi, This error is back after a recent install in a new ubuntu22 nginx 1.18.0 server
It is NOT a manual install.

nginx: [emerg] "server_names_hash_max_size" directive is duplicate in /etc/nginx/conf.d/botblocker-nginx-settings.conf:17
I ended up commenting all of the configuration, it next gave these errors:

nginx: [emerg] limit_conn_zone "bot2_connlimit" is already bound to key "$bot_iplimit" in /etc/nginx/conf.d/globalblacklist.conf:19311
nginx: [emerg] limit_conn_zone "bot2_connlimit" is already bound to key "$bot_iplimit" in /etc/nginx/conf.d/globalblacklist.conf:19312

Please help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants