Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Geoip with Maxmind not working in Release 22.1.2_1
« previous
next »
Print
Pages: [
1
]
Author
Topic: Geoip with Maxmind not working in Release 22.1.2_1 (Read 1554 times)
quiksilvercgn
Newbie
Posts: 1
Karma: 0
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 ...
Logged
gpb
Full Member
Posts: 234
Karma: 13
Re: Geoip with Maxmind not working in Release 22.1.2_1
«
Reply #1 on:
March 05, 2022, 01:41:37 am »
Could it be related to this...? See the second post under this topic...although you're getting a different error.
https://forum.opnsense.org/index.php?topic=19117.0
Logged
HP T730/AMD RX-427BB/8GB/500GB SSD
HP NC365T 4-PORT
MagnusN
Newbie
Posts: 2
Karma: 0
Re: Geoip with Maxmind not working in Release 22.1.2_1
«
Reply #2 on:
March 12, 2022, 09:47:22 am »
Hi.
I have the same problem.
2022-03-12T09:45:57 Error configd.py [94af974d-090a-43c8-b54e-9f676c6cef5a] 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.
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
22.1 Legacy Series
»
Geoip with Maxmind not working in Release 22.1.2_1