-
-
Notifications
You must be signed in to change notification settings - Fork 129
Description
Hi!
I just installed OwnTracks on my Raspberry Pi 2 (with freshly installed Raspberry Pi OS) using quick setup and bootstrap.sh
. Everything went well, with no error.
However, part of OwnTracks does'nt work: ot-recorder service isn't started, with this error message:
Jul 26 07:35:23 raspberrypi systemd[1]: Starting ot-recorder.service - OwnTracks Recorder...
Jul 26 07:35:26 raspberrypi systemd[1]: Started ot-recorder.service - OwnTracks Recorder.
Jul 26 07:35:26 raspberrypi ot-recorder[32074]: version 0.9.8 starting with STORAGEDIR=/var/spool/owntracks/recorder/store
Jul 26 07:35:26 raspberrypi ot-recorder[32074]: gcache_open: mdb_env_open: Cannot allocate memory
Jul 26 07:35:26 raspberrypi ot-recorder[32074]: Can't initialize gcache in /var/spool/owntracks/recorder/store/ghash
Jul 26 07:35:26 raspberrypi systemd[1]: ot-recorder.service: Main process exited, code=exited, status=1/FAILURE
Jul 26 07:35:26 raspberrypi systemd[1]: ot-recorder.service: Failed with result 'exit-code'.
I thought using the solution described in #404 and #348 would solve this problem, but it doesn't. I add Environment="OTR_LMDBSIZE=10485760"
in [Service]
part of /etc/systemd/system/ot-recorder.service
, deleted /var/spool/owntracks/recorder/store/ghash/*.mdb
files, exported OTR_LMDBSIZE=10485760
in the shell before running ot-recorder --initialize
(which created new mdb
files), but when I start ot-recorder (with sudo systemctl start ot-recorder
), the same error happens.
Do you know what I could try in order to run ot-recorder?