ZhangHuangbin wrote:restart “iredadmin” and “netdata” services then try again.
How much RAM does your RPi have?
Raspberry is with just 1GB. iredapd is the service I did not check. Attached you will find the systemctl and journalctl extract. Does this really make an issue? So I'll need to wait and test again on a NUC VM but with 16GB.
systemctl:
● iredapd.service - iRedAPD (A simple posfix policy server)
Loaded: loaded (/lib/systemd/system/iredapd.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-03-31 14:05:34 CEST; 9s ago
Process: 15483 ExecStart=/usr/bin/python2 /opt/iredapd/iredapd.py (code=exited, status=1/FAILURE)
Mär 31 14:05:33 maxmail.xxx.de systemd[1]: Starting iRedAPD (A simple posfix policy server)...
Mär 31 14:05:34 maxmail.xxx.de python2[15483]: Traceback (most recent call last):
Mär 31 14:05:34 maxmail.xxx python2[15483]: File "/opt/iredapd/iredapd.py", line 20, in <module>
Mär 31 14:05:34 maxmail.xxx.de python2[15483]: from libs import __version__, daemon, utils
Mär 31 14:05:34 maxmail.xxx.de python2[15483]: File "/opt/iRedAPD-3.5/libs/utils.py", line 17, in <module>
Mär 31 14:05:34 maxmail.xxx.de python2[15483]: from web import sqlquote
Mär 31 14:05:34 maxmail.xxx.de python2[15483]: ImportError: No module named web
Mär 31 14:05:34 maxmail.xxx.de systemd[1]: iredapd.service: Control process exited, code=exited, status=1/FAILURE
Mär 31 14:05:34 maxmail.xxx.de systemd[1]: iredapd.service: Failed with result 'exit-code'.
Mär 31 14:05:34 maxmail.xxx.de systemd[1]: Failed to start iRedAPD (A simple posfix policy server).
journalctl:
-- The job identifier is 3822.
Mär 31 14:05:34 maxmail.xxx.de python2[15483]: Traceback (most recent call last):
Mär 31 14:05:34 maxmail.xxx.de python2[15483]: File "/opt/iredapd/iredapd.py", line 20, in <module>
Mär 31 14:05:34 maxmail.xxx.de python2[15483]: from libs import __version__, daemon, utils
Mär 31 14:05:34 maxmail.xxx.de python2[15483]: File "/opt/iRedAPD-3.5/libs/utils.py", line 17, in <module>
Mär 31 14:05:34 maxmail.xxx.de python2[15483]: from web import sqlquote
Mär 31 14:05:34 maxmail.xxx.de python2[15483]: ImportError: No module named web
Mär 31 14:05:34 maxmail.xxx.de systemd[1]: iredapd.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- An ExecStart= process belonging to unit iredapd.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
Mär 31 14:05:34 maxmail.xxx.de systemd[1]: iredapd.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- The unit iredapd.service has entered the 'failed' state with result 'exit-code'.
Mär 31 14:05:34 maxmail.xxx.de systemd[1]: Failed to start iRedAPD (A simple posfix policy server).
-- Subject: A start job for unit iredapd.service has failed
-- Defined-By: systemd
-- Support: https://www.debian.org/support
--
-- A start job for unit iredapd.service has finished with a failure.
--
-- The job identifier is 3822 and the job result is failed.
Mär 31 14:05:34 maxmail.xxx.de sudo[15453]: pam_unix(sudo:session): session closed for user root
Mär 31 14:05:39 maxmail.xxx.de dhcpcd[520]: eth0: Router Advertisement from fe80::3a10:d5ff:feb8:646c
Mär 31 14:05:43 maxmail.xxx.de sudo[15504]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/systemctl status iredapd.service
Mär 31 14:05:43 maxmail.xxx.de sudo[15504]: pam_unix(sudo:session): session opened for user root by pi(uid=0)
Mär 31 14:05:43 maxmail.xxx.de sudo[15504]: pam_unix(sudo:session): session closed for user root
Mär 31 14:05:50 maxmail.xxx.de dhcpcd[520]: eth0: Router Advertisement from fe80::3a10:d5ff:feb8:646c
Mär 31 14:07:07 maxmail.xxx.de sudo[15535]: pi : TTY=pts/0 ; PWD=/home/pi ; USER=root ; COMMAND=/bin/journalctl -xe
Mär 31 14:07:07 maxmail.xxx.de sudo[15535]: pam_unix(sudo:session): session opened for user root by pi(uid=0)