1
22.1 Legacy Series / Geoip with Maxmind not working in Release 22.1.2_1
« on: March 05, 2022, 01:30:45 am »
Hi everybody,
i started to implement GeoIP with maxmind as described here very good an precisely https://techlabs.blog/blog-categories/how-to-guides/set-up-maxmind-geoip-blocking-in-opnsense
I did all this and after entering the Database URL nothing happens, although I can enter this URL in my browser and the necessary files get downloaded. which means that the URL is correct.
Each time I press apply and try to update the country list with that url a message shows up at the backend log with warning level.
2022-03-05T01:19:08 Error configd.py [cf8269a1-a507-496e-8c0f-7a663cf90cd6] Script action failed with Command '/usr/local/bin/flock -n -E 0 -o /tmp/filter_update_tables.lock /usr/local/opnsense/scripts/filter/update_tables.py ' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 478, in execute subprocess.check_call(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.8/subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/usr/local/bin/flock -n -E 0 -o /tmp/filter_update_tables.lock /usr/local/opnsense/scripts/filter/update_tables.py ' returned non-zero exit status 1.
Is it a bug? Any ideas? Thank you very much and stay safe in these dark times ...
i started to implement GeoIP with maxmind as described here very good an precisely https://techlabs.blog/blog-categories/how-to-guides/set-up-maxmind-geoip-blocking-in-opnsense
I did all this and after entering the Database URL nothing happens, although I can enter this URL in my browser and the necessary files get downloaded. which means that the URL is correct.
Each time I press apply and try to update the country list with that url a message shows up at the backend log with warning level.
2022-03-05T01:19:08 Error configd.py [cf8269a1-a507-496e-8c0f-7a663cf90cd6] Script action failed with Command '/usr/local/bin/flock -n -E 0 -o /tmp/filter_update_tables.lock /usr/local/opnsense/scripts/filter/update_tables.py ' returned non-zero exit status 1. at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 478, in execute subprocess.check_call(script_command, env=self.config_environment, shell=True, File "/usr/local/lib/python3.8/subprocess.py", line 364, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '/usr/local/bin/flock -n -E 0 -o /tmp/filter_update_tables.lock /usr/local/opnsense/scripts/filter/update_tables.py ' returned non-zero exit status 1.
Is it a bug? Any ideas? Thank you very much and stay safe in these dark times ...