[SOLVED] Nach reboot von PMG Postgresql

LyriC

Member
Jan 4, 2021
21
5
23
49
Hallo,

habe ein kleineres Problem, nach dem reboot des servers, bekomme ich folgende meldungen und die services laufen nicht. :-(
Ich hoffe Ihr könnt mir hier ein wenig helfen.

Code:
Apr  6 19:47:45 pmg pmgpolicy[1004]: Group Not Defined.  Defaulting to EGID '0'
Apr  6 19:47:45 pmg pmgpolicy[1004]: User Not Defined.  Defaulting to EUID '0'
Apr  6 19:47:45 pmg pmgpolicy[1004]: Setting up serialization via flock
Apr  6 19:47:45 pmg pmgpolicy[1004]: Policy daemon (re)started
Apr  6 19:47:45 pmg pmgpolicy[1004]: Beginning prefork (5 processes)
Apr  6 19:47:45 pmg pmgpolicy[1004]: Starting "5" children
Apr  6 19:47:45 pmg pmgpolicy[1006]: ERROR: unable to load database : DBI connect('dbname=Proxmox_ruledb;host=/var/run/postgresql;port=5432','root',...) failed: could not connect to server: No such file or directory#012#011Is the server running locally and accepting#012#011connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? at /usr/share/perl5/PMG/DBTools.pm line 79.
Apr  6 19:47:45 pmg pmgpolicy[1005]: ERROR: unable to load database : DBI connect('dbname=Proxmox_ruledb;host=/var/run/postgresql;port=5432','root',...) failed: could not connect to server: No such file or directory#012#011Is the server running locally and accepting#012#011connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? at /usr/share/perl5/PMG/DBTools.pm line 79.
Apr  6 19:47:45 pmg pmgpolicy[1009]: ERROR: unable to load database : DBI connect('dbname=Proxmox_ruledb;host=/var/run/postgresql;port=5432','root',...) failed: could not connect to server: No such file or directory#012#011Is the server running locally and accepting#012#011connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? at /usr/share/perl5/PMG/DBTools.pm line 79.
Apr  6 19:47:45 pmg pmgpolicy[1007]: ERROR: unable to load database : DBI connect('dbname=Proxmox_ruledb;host=/var/run/postgresql;port=5432','root',...) failed: could not connect to server: No such file or directory#012#011Is the server running locally and accepting#012#011connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? at /usr/share/perl5/PMG/DBTools.pm line 79.
Apr  6 19:47:45 pmg pmgpolicy[1010]: ERROR: unable to load database : DBI connect('dbname=Proxmox_ruledb;host=/var/run/postgresql;port=5432','root',...) failed: could not connect to server: No such file or directory#012#011Is the server running locally and accepting#012#011connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? at /usr/share/perl5/PMG/DBTools.pm line 79.
Apr  6 19:47:48 pmg pmg-smtp-filter[1002]: Beginning prefork (2 processes)
Apr  6 19:47:48 pmg pmg-smtp-filter[1002]: Starting "2" children
Apr  6 19:47:58 pmg pmg-smtp-filter[1026]: DBI connect('dbname=Proxmox_ruledb;host=/var/run/postgresql;port=5432','root',...) failed: could not connect to server: No such file or directory#012#011Is the server running locally and accepting#012#011connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? at /usr/share/perl5/PMG/DBTools.pm line 79.
Apr  6 19:47:58 pmg pmg-smtp-filter[1027]: DBI connect('dbname=Proxmox_ruledb;host=/var/run/postgresql;port=5432','root',...) failed: could not connect to server: No such file or directory#012#011Is the server running locally and accepting#012#011connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"? at /usr/share/perl5/PMG/DBTools.pm line 79.

Danke im Voraus.
 
Hab den Fehler gefunden :-D
Ein Trottel hat in der /etc/hosts den Eintrag 127.0.0.1 localhost auskommentiert '#'
Oh man. :-)
 
Danke, dass Du die Lösung zu dem Problem nochmal hier teilst und den thread auf SOLVED setzt! - Hilft anderen mit dem selben Problem.

in der /etc/hosts den Eintrag 127.0.0.1 localhost auskommentiert '#'
ay - ja ist mir auch schon mal passiert - da geht dann einiges nicht :)