Problem 127.0.0.1[127.0.0.1]:10023: Connection refused

itrube

New Member
Jun 27, 2018
1
0
1
40
Guten Morgen Proxmox Community.

Wir nutzen seit neuesten den PMG5 aus der virtuelle Appliance. (Frisch aufgesetzt)

Wir haben des öfteren das Problem, das der PMG keine E-Mails mehr versendet.
Aus der Syslog ist ersichtlich, dass wohl ein "database maintainance" stattfindet und anschließend ein dienst abstürzt.

Gibt es hierfür eine Lösung?

Syslog:
----------------------------------------------------------------------------------------------------------------------------------------------

27.06.2018 04:02:44 192.168.60.9 /lmtp[23726]: BDD4F180894: to=, relay=none, delay=0.02, delays=0.01/0.01/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10023: Connection refused) spamfw 06-27 04:02:43 2 postfix 6
27.06.2018 04:02:43 192.168.60.9 /lmtp[23726]: connect to 127.0.0.1[127.0.0.1]:10023: Connection refused spamfw 06-27 04:02:43 2 postfix 6
27.06.2018 04:02:43 192.168.60.9 /qmgr[532]: BDD4F180894: from=<>, size=29092, nrcpt=1 (queue active) spamfw 06-27 04:02:43 2 postfix 6
27.06.2018 04:02:43 192.168.60.9 /cleanup[23725]: BDD4F180894: message-id= spamfw 06-27 04:02:43 2 postfix 6
27.06.2018 04:02:21 192.168.60.9 [23431]: end policy database maintainance (6 ms, 1 ms) spamfw 06-27 04:02:21 2 pmgpolicy 5
27.06.2018 04:02:16 192.168.60.9 [23431]: starting policy database maintainance (greylist, rbl) spamfw 06-27 04:02:16 2 pmgpolicy 5

Gruß
Sebastian
 
Last edited:
Hallo Sebastian,
wir haben hier das gleiche Problem.
Auch hier scheint das Greylisting (oder was auch immer auf Port 10023 läuft) abzustürzen.
Gerade eben wieder.

Aug 30 09:32:10 mailgw1 postfix/lmtp[879]: 52BE9C1240: to=<abc@xyz.de>, relay=none, delay=1049, delays=1049/0.02/0/0, dsn=4.4.1, status=deferred (connect to 127.0.0.1[127.0.0.1]:10023: Connection refused)

Konntest du herausfinden, woran das liegt?
Kann es sein, dass die Maintainance zu häufig läuft und sich die Durchläufe überschneiden?


Markus
 
Läuft die aktuelleste Version? Bitte prüfen mit:

> pmgversion -v

Wieviel RAM stehen zur Verfügung?
 
Hallo Tom.

root@mailgw1:~# pmgversion -v
proxmox-mailgateway: 5.0-9 (API: 5.0-71/a0907ff5, running kernel: 4.13.16-3-pve)
pmg-api: 5.0-71
pmg-gui: 1.0-38
proxmox-spamassassin: 3.4.1-55
proxmox-widget-toolkit: 1.0-18
pve-kernel-4.13.16-3-pve: 4.13.16-49
pve-kernel-4.13.16-1-pve: 4.13.16-46
pve-kernel-4.13: 5.1-45
pve-kernel-4.13.13-5-pve: 4.13.13-38
libpve-http-server-perl: 2.0-9
lvm2: 2.02.168-2
pve-firmware: 2.0-4
libpve-common-perl: 5.0-32
pmg-docs: 5.0-14
pve-xtermjs: 1.0-5
libarchive-perl: 3.2.1-1
libxdgmime-perl: 0.01-3
zfsutils-linux: 0.7.9-pve1~bpo9
libpve-apiclient-perl: 2.0-2

root@mailgw1:~# free
total used free shared buff/cache available
Mem: 4040292 1458504 1703180 61296 878608 2291776
Swap: 4194300 0 4194300


Kann ich eigentlich den Dienst ohne Reboot neu starten?


Bis dann,
Markus
 
..
Kann ich eigentlich den Dienst ohne Reboot neu starten?

Ja, siehe "Administration - Services".

Abstürze des Filterservices sollte nicht vorkommen, sind im Syslog noch irgendwelche anderen Fehler/Hinweise?
 
Hier ein Auszug aus /var/log/syslog:

Aug 30 08:53:38 mailgw1 pmgpolicy[10975]: starting policy database maintainance (greylist, rbl)
Aug 30 08:53:38 mailgw1 systemd[1]: pmgpolicy.service: Main process exited, code=exited, status=111/n/a
Aug 30 08:53:38 mailgw1 systemd[1]: pmgpolicy.service: Killing process 32376 (pmgpolicy child) with signal SIGKILL.
Aug 30 08:53:38 mailgw1 systemd[1]: pmgpolicy.service: Killing process 32377 (pmgpolicy child) with signal SIGKILL.
Aug 30 08:53:38 mailgw1 systemd[1]: pmgpolicy.service: Killing process 32378 (pmgpolicy child) with signal SIGKILL.
Aug 30 08:53:38 mailgw1 systemd[1]: pmgpolicy.service: Killing process 32379 (pmgpolicy child) with signal SIGKILL.
Aug 30 08:53:38 mailgw1 systemd[1]: pmgpolicy.service: Killing process 32380 (pmgpolicy child) with signal SIGKILL.
Aug 30 08:53:38 mailgw1 systemd[1]: pmgpolicy.service: Unit entered failed state.
Aug 30 08:53:38 mailgw1 systemd[1]: pmgpolicy.service: Failed with result 'exit-code'.
Aug 30 08:54:53 mailgw1 pmg-smtp-filter[30203]: starting database maintainance
Aug 30 08:54:53 mailgw1 systemd[1]: pmg-smtp-filter.service: Main process exited, code=exited, status=111/n/a
Aug 30 08:54:53 mailgw1 systemd[1]: pmg-smtp-filter.service: Killing process 453 (pmg-smtp-filter) with signal SIGKILL.
Aug 30 08:54:53 mailgw1 systemd[1]: pmg-smtp-filter.service: Killing process 32716 (pmg-smtp-filter) with signal SIGKILL.
Aug 30 08:54:53 mailgw1 systemd[1]: pmg-smtp-filter.service: Unit entered failed state.
Aug 30 08:54:53 mailgw1 systemd[1]: pmg-smtp-filter.service: Failed with result 'exit-code'.

Danach kommen die "connection refused"-Meldungen.
 
Gleiches Problem vor 2 wochen bei einer installation, seit Freitag bei einer weiteren.
Proxmox sollte mit einer dienste-Überwachung erweitert werden...
 
Gleiches Problem vor 2 wochen bei einer installation, seit Freitag bei einer weiteren.
Proxmox sollte mit einer dienste-Überwachung erweitert werden...

Und bei beiden Installationen mit den neuesten Version?
(Die Version auf der ISO hat hier einen Bug, der ist aber schon länge gefixt)
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!