Thread: BUG #1786: error in establishing connection
The following bug has been logged online: Bug reference: 1786 Logged by: mohammed talat el shambakey Email address: shambakey1@yahoo.com PostgreSQL version: 8.0.3 Operating system: fedora project Description: error in establishing connection Details: hi' i have two problems:- the first problem:- when i try to execute the command:- [shambakey1@shambakey1 shambakey1]$ postmaster -D /usr/local/pgsql/data it gives me the following error:- OG: could not translate host name "localhost", service "5432" to address: Temporary failure in name resolution WARNING: could not create listen socket for "localhost" LOG: could not resolve "localhost": Temporary failure in name resolution LOG: disabling statistics collector for lack of working socket LOG: database system was shut down at 2005-07-26 14:16:55 EEST LOG: checkpoint record is at 0/A32BD4 LOG: redo record is at 0/A32BD4; undo record is at 0/0; shutdown TRUE LOG: next transaction ID: 544; next OID: 17230 LOG: database system is ready i tried to change th PGHOST for the the user named "shambakey1"- knowing that "shambakey1" has write access to the /usr/local/pgsql/data the second problem:- when i try to execute the command:- [shambakey1@shambakey1 shambakey1]$ postmaster -D /usr/local/pgsql/data -i it gives me the following error:- LOG: could not create IPv6 socket: Address family not supported by protocol LOG: could not resolve "localhost": Temporary failure in name resolution LOG: disabling statistics collector for lack of working socket LOG: database system was shut down at 2005-07-26 14:20:01 EEST LOG: checkpoint record is at 0/A32C4C LOG: redo record is at 0/A32C4C; undo record is at 0/0; shutdown TRUE LOG: next transaction ID: 544; next OID: 17230 LOG: database system is ready i appreciate ur help thanx in advance
mohammed talat el shambakey wrote: > Bug reference: 1786 > Operating system: fedora project > [shambakey1@shambakey1 shambakey1]$ postmaster -D /usr/local/pgsql/data > OG: could not translate host name "localhost", service "5432" to address: > Temporary failure in name resolution Name-lookup isn't working. It's strange that you can't resolve "localhost", but you should look at your DNS setup. -- Richard Huxton Archonet Ltd