Portál AbcLinuxu, 14. května 2025 05:38
# Database administrative login by UNIX sockets local all ucetni ident sameuser # TYPE DATABASE USER CIDR-ADDRESS METHOD # "local" is for Unix domain socket connections only local sameuser all trust # IPv4 local connections: host all all 127.0.0.1/32 md5 # IPv6 local connections: host all all ::1/128 md5
* Starting PostgreSQL 9.1 database server * The PostgreSQL server failed to start. Please check the log output: 2012-06-19 16:14:33 CEST LOG: authentication option not in name=value format: sameuser 2012-06-19 16:14:33 CEST CONTEXT: line 85 of configuration file "/etc/postgresql/9.1/main/pg_hba.conf" 2012-06-19 16:14:33 CEST FATAL: could not load pg_hba.conf
Řešení dotazu:
/etc/postgresql/8.3/main/pg_hba.confvs
/etc/postgresql/9.1/main/pg_hba.conf
# Database administrative login by UNIX sockets local all ucetni ident sameuser LOG: authentication option not in name=value format: sameuser CONTEXT: line 85 of configuration file "/etc/postgresql/9.1/main/pg_hba.conf"To
sameuser
na konci nemá co dělat nemá v řádku local
co dělat -- je to na místě voleb (option), které se zapisují ve formátu jméno=hodnota.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.