Topic: iRedAPD stops working
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): 1.4.0 OPENLDAP edition.
- Deployed with the downloadable installer.
- Linux/BSD distribution name and version: Debian 10.10
- Store mail accounts in which backend: LDAP
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? YES
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi,
I have a problem with iredapd, it stops working after some hours.
When problem exists I can't send any e-mail.
Some information from: /var/log/mail.log:
Jul 23 23:18:36 mail postfix/submission/smtpd[10030]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 23 23:19:42 mail postfix/submission/smtpd[10102]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 23 23:20:17 mail postfix/submission/smtpd[10030]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 23 23:21:23 mail postfix/submission/smtpd[10102]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 24 18:18:47 mail postfix/submission/smtpd[30371]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 24 18:20:19 mail postfix/submission/smtpd[30461]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 24 18:20:28 mail postfix/submission/smtpd[30371]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 24 18:20:48 mail postfix/submission/smtpd[30509]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 24 18:22:00 mail postfix/submission/smtpd[30461]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 24 18:22:29 mail postfix/submission/smtpd[30509]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 24 19:13:09 mail postfix/submission/smtpd[1063]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 24 19:14:50 mail postfix/submission/smtpd[1063]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 24 19:15:21 mail postfix/submission/smtpd[1225]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 24 19:17:02 mail postfix/submission/smtpd[1225]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 24 21:24:25 mail postfix/submission/smtpd[8622]: warning: problem talking to server 127.0.0.1:7777: Connection timed out
Jul 24 21:25:41 mail postfix/submission/smtpd[8622]: warning: problem talking to server 127.0.0.1:7777: Connection reset by peer
###
But if I'll check processes, it looks fine:
root@mail:~# ps aux | grep iredap
iredapd 1408 0.0 0.1 58768 34732 ? S 19:18 0:00 /usr/bin/python3 /opt/iredapd/iredapd.py
root 8680 0.0 0.0 6224 824 pts/0 S+ 21:23 0:00 grep iredap
root@mail:~# systemctl status iredapd.service
● iredapd.service - iRedAPD (A simple posfix policy server)
Loaded: loaded (/lib/systemd/system/iredapd.service; enabled; vendor preset: enabled)
Active: active (running) since Sat 2021-07-24 19:18:53 CEST; 2h 5min ago
Process: 687 ExecStart=/usr/bin/python3 /opt/iredapd/iredapd.py (code=exited, status=0/SUCCESS)
Main PID: 1408 (python3)
Tasks: 1 (limit: 4915)
Memory: 39.1M
CGroup: /system.slice/iredapd.service
└─1408 /usr/bin/python3 /opt/iredapd/iredapd.py
###
And also iredapd is listening:
root@mail:~# netstat -tulnp | grep 777
tcp 1 0 127.0.0.1:7777 0.0.0.0:* LISTEN 1408/python3
tcp 0 0 127.0.0.1:7778 0.0.0.0:* LISTEN 1408/python3
tcp 0 0 127.0.0.1:7779 0.0.0.0:* LISTEN 1408/python3
###
I can tenlnet to port 7777:
root@mail:~# telnet 0 7777
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'
I have no idea why it happens.
Kind regards
----
Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.