Salve a tutti
è un po che ci sto provando ma non riesco a far partire postmaster, in effetti parte ma poi subito crolla.
ho installato la versione su FC5(la distro che ho) con yum.
ho provato a modificare alcuni file di configurazione ma con esito sempre negativo
in realta non ho idea da che cosa dipernda il problema , perche non riesco a capirlo del tutto e quindi a risolverlo. pultroppo nel manuale di postgresql non sono riusciuto a trovare indicazioni per questo errore quindi penso che possa dipendere da qualcosaltro.
comunque posto alcuni file che possono dare una idea piu chiare del problema.
$PGHOME/pgstartup.log __________________
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.
The database cluster will be initialized with locale it_IT.UTF-8.
The default database encoding has accordingly been set to UTF8.
modifica dei permessi sulla directory esistente /var/lib/pgsql/data ... ok
creazione directory /var/lib/pgsql/data/global ... ok
creazione directory /var/lib/pgsql/data/pg_xlog ... ok
creazione directory /var/lib/pgsql/data/pg_xlog/archive_status ... ok
creazione directory /var/lib/pgsql/data/pg_clog ... ok
creazione directory /var/lib/pgsql/data/pg_subtrans ... ok
creazione directory /var/lib/pgsql/data/pg_twophase ... ok
creazione directory /var/lib/pgsql/data/pg_multixact/members ... ok
creazione directory /var/lib/pgsql/data/pg_multixact/offsets ... ok
creazione directory /var/lib/pgsql/data/base ... ok
creazione directory /var/lib/pgsql/data/base/1 ... ok
creazione directory /var/lib/pgsql/data/pg_tblspc ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 1000
creazione dei file di configurazione ... ok
creating template1 database in /var/lib/pgsql/data/base/1 ... ok
initializing pg_authid ... ok
enabling unlimited row size for system tables ... ok
initializing dependencies ... ok
creazione delle viste di sistema ...ok
loading pg_description ... ok
creazione delle conversioni ...ok
impostazione dei privilegi per gli oggetti incorporati ...ok
creazione dello schema informazioni ... ok
vacuum del database template1 ... ok
copia di template1 a template0 ... ok
copying template1 to postgres ... ok
Success. You can now start the database server using:
/usr/bin/postmaster -D /var/lib/pgsql/data
or
/usr/bin/pg_ctl -D /var/lib/pgsql/data -l logfile start
LOG: could not translate host name "localhost", service "5432" to address: Temporary failure in name resolution
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets
LOG: could not translate host name "localhost", service "5432" to address: Temporary failure in name resolution
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets
LOG: could not translate host name "localhost", service "5432" to address: Temporary failure in name resolution
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets
LOG: could not translate host name "localhost", service "5432" to address: Temporary failure in name resolution
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets
LOG: could not translate host name "localhost", service "5432" to address: Temporary failure in name resolution
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets
__________________________________________________ _________
$PGDATA/pg_hba.conf con che le mie modifiche che non hanno portato cambiamenti _______
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all 127.0.0.1 255.255.255.255 ident sameuser
# IPv4 local connections:
host all all 127.0.0.1/32 ident sameuser
# IPv6 local connections:
host all all ::1/128 ident sameuser
__________________________________________________ _______________________________
quando digito
pg_ctl start
mi dice dopo poco che ha avviato postmaster:
could not translate host name "localhost", service "5432" to address: Temporary failure in name resolution
WARNING: could not create listen socket for "localhost"
FATAL: could not create any TCP/IP sockets
avete qualche idea di cosa sucede o come si puo risolvere?
grazie in anticipo a tutti quelli che proveranno a darmi una mano