Hello
i am trying install mhn on fresh install of ubuntu 18.04.6
Get an error.
Initializing database, please be patient. This can take several minutes
python initdatabase.py
Traceback (most recent call last):
File "initdatabase.py", line 1, in
from mhn import create_clean_db
File "/opt/mhn/server/mhn/init.py", line 42, in
from mhn.ui.views import ui
File "/opt/mhn/server/mhn/ui/views.py", line 10, in
from mhn.ui.utils import get_flag_ip, get_sensor_name
File "/opt/mhn/server/mhn/ui/utils.py", line 15, in
geoip2_reader = geoip2.database.Reader(MHN_SERVER_HOME+'/../../GeoLite2-City.mmdb')
File "/opt/mhn/env/lib/python2.7/site-packages/geoip2/database.py", line 86, in init
self._db_reader = maxminddb.open_database(fileish, mode)
File "/opt/mhn/env/lib/python2.7/site-packages/maxminddb/init.py", line 46, in open_database
return maxminddb.reader.Reader(database, mode)
File "/opt/mhn/env/lib/python2.7/site-packages/maxminddb/reader.py", line 51, in init
with open(database, "rb") as db_file:
IOError: [Errno 2] No such file or directory: '/opt/mhn/server/../../GeoLite2-City.mmdb'
Hello i am trying install mhn on fresh install of ubuntu 18.04.6 Get an error.
Initializing database, please be patient. This can take several minutes