Topic: iRedApd service not found after updating to 2.1
Dear Forum members,
I've upgraded from iRedmail 0.9.6 to 0.9.7 with iRedAdmin-Pro 2.7.0 SQL (from 2.6.0), on an Ubuntu 16.04 LTS.
After updated iRedApd from 2.0 to 2.1 iredapd service is missing, but with daemon-reload problem disappears:
root@mail:/home# systemctl iredapd status
Unknown operation iredapd.
root@mail:/home# systemctl status iredapd
● iredapd.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
root@mail:/home# systemctl daemon-reload
root@mail:/home# systemctl status iredapd
● iredapd.service - iRedAPD (A simple posfix policy server)
Loaded: loaded (/opt/iredapd/rc_scripts/iredapd.service; bad; vendor preset:
Active: inactive (dead)
root@mail:/home# systemctl start iredapd
root@mail:/home# systemctl status iredapd
● iredapd.service - iRedAPD (A simple posfix policy server)
Loaded: loaded (/opt/iredapd/rc_scripts/iredapd.service; bad; vendor preset:
Active: active (running) since Sun 2017-08-06 13:42:16 CEST; 2s ago
Process: 2553 ExecStart=/usr/bin/python /opt/iredapd/iredapd.py (code=exited,
Main PID: 2558 (python)
Tasks: 1
Memory: 18.6M
CPU: 256ms
CGroup: /system.slice/iredapd.service
└─2558 /usr/bin/python /opt/iredapd/iredapd.py
Aug 06 13:42:14 mail systemd[1]: Starting iRedAPD (A simple posfix policy server
Aug 06 13:42:16 mail systemd[1]: iredapd.service: PID file /run/iredapd.pid not
Aug 06 13:42:16 mail systemd[1]: iredapd.service: Supervising process 2558 which
Aug 06 13:42:16 mail systemd[1]: Started iRedAPD (A simple posfix policy server)
lines 1-15/15 (END)...skipping...
● iredapd.service - iRedAPD (A simple posfix policy server)
Loaded: loaded (/opt/iredapd/rc_scripts/iredapd.service; bad; vendor preset: enabled)
Active: active (running) since Sun 2017-08-06 13:42:16 CEST; 2s ago
Process: 2553 ExecStart=/usr/bin/python /opt/iredapd/iredapd.py (code=exited, status=0/SUCCESS)
Main PID: 2558 (python)
Tasks: 1
Memory: 18.6M
CPU: 256ms
CGroup: /system.slice/iredapd.service
└─2558 /usr/bin/python /opt/iredapd/iredapd.py
Aug 06 13:42:14 mail systemd[1]: Starting iRedAPD (A simple posfix policy server)...
Aug 06 13:42:16 mail systemd[1]: iredapd.service: PID file /run/iredapd.pid not readable (yet?) after start: No such file or directory
Aug 06 13:42:16 mail systemd[1]: iredapd.service: Supervising process 2558 which is not our child. We'll most likely not notice when it exits.
Aug 06 13:42:16 mail systemd[1]: Started iRedAPD (A simple posfix policy server).
Please advise!
Thanks,
Balazs
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.