frame

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In Register

Container VPS- Services like postfix, netfilter fails after a reboot

Hello,

I'm running Ubuntu 20.04 in a container VPS with ISPConfig but since the beginning I'm having troubles when it restarts.

First I have an error
[email protected] loaded failed failed User Manager for UID 1000

Also ach time Postfix stops working with the status:

postfix.service                                          loaded active exited    Postfix Mail Transport Agent                                            
[email protected]                                        loaded failed failed    Postfix Mail Transport Agent (instance -)    

in it's logs:

    Apr  9 18:45:45 server01 dovecot: auth: Error: auth worker: Aborted PASSV request for [email protected]: Lookup timed out
    Apr  9 18:45:45 server01 dovecot: auth: Warning: auth workers: Auth request was queued for 54 seconds, 3 left in queue (see auth_worker_max_count)
    Apr  9 18:45:45 server01 dovecot: auth-worker(547): Error: sql([email protected],2a01:xxxxx:xxxx:xxxx:xxx:ba27,<6TSwbTvcm+Qxxxxxx>): Password query failed: Not connected to database
    Apr  9 18:45:45 server01 dovecot: auth-worker(547): Warning: conn unix:auth-worker (pid=542,uid=0): auth-worker<1>: Auth master disconnected us while handling request for [email protected] for 60 secs (result=FAIL)
    Apr  9 18:45:45 server01 dovecot: auth-worker(772): Error: mysql(localhost): Connect failed to database (dbispconfig): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) - waiting for 1 seconds before retry
    Apr  9 18:45:45 server01 dovecot: auth-worker(772): Error: mysql(localhost): Connect failed to database (dbispconfig): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) - waiting for 1 seconds before retry
    Apr  9 18:45:46 server01 dovecot: auth-worker(772): Error: mysql(localhost): Connect failed to database (dbispconfig): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) - waiting for 5 seconds before retry
    Apr  9 18:45:46 server01 dovecot: auth-worker(772): Error: mysql(localhost): Connect failed to database (dbispconfig): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) - waiting for 5 seconds before retry

then if I reboot it manually it works
I checked mariadb it is working.

I have the same problem with netfilter-persistent, after a reboot it stops working.

Apr 01 05:01:35 server01.XXXX.com netfilter-persistent[140]: run-parts: executing /usr/share/netfilter-persistent/plugins.d/15-ip4tables start
Apr 01 05:01:35 server01.XXXX.com netfilter-persistent[143]: Another app is currently holding the xtables lock. Perhaps you want to use the -w option?
Apr 01 05:01:35 server01.XXXX.com netfilter-persistent[140]: run-parts: /usr/share/netfilter-persistent/plugins.d/15-ip4tables exited with return code 4
Apr 01 05:01:35 server01.XXXX.com netfilter-persistent[140]: run-parts: executing /usr/share/netfilter-persistent/plugins.d/25-ip6tables start
Apr 01 05:01:35 server01.XXXX.com netfilter-persistent[145]: Another app is currently holding the xtables lock. Perhaps you want to use the -w option?
Apr 01 05:01:35 server01.XXXX.com netfilter-persistent[140]: run-parts: /usr/share/netfilter-persistent/plugins.d/25-ip6tables exited with return code 4

I searched for a solution for a long time but all the ones I tried didn't work.

Thanks

Sign In or Register to comment.

Time4VPS

Learn how to install a web and database server, email, FTP client or other applications. Discover and share information on server security or optimization recommendations.
Feel free to join our constantly expanding community, participate in discussions, strengthen your knowledge on Linux and Windows server management!
© 2013 - 2024 Time4VPS. All rights reserved.

Get In Touch