Skip site navigation (1) Skip section navigation (2)

Re: Problem with createdb

From: Durgaprasad Pawar <durgaprasad(dot)pawar(at)yahoo(dot)co(dot)in>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Problem with createdb
Date: 2007-10-30 17:00:04
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-novice
Hi Tom,
     You are right. If I try to ping, it gives destination unreachable. Something seriously wrong with network configuration.

# ping
ICMP Host Unreachable from gateway XXXX (y.y.y.y)
 for icmp from XXXX (y.y.y.y) to localhost (
ICMP Host Unreachable from gateway XXXX (y.y.y.y)
 for icmp from XXXX (y.y.y.y) to localhost (

[XXXX - Host name,
 y.y.y.y - Actual address of the interface of this machine]

I am running Solaris 10 on SPARC.


----- Original Message ----
From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Durgaprasad Pawar <durgaprasad(dot)pawar(at)yahoo(dot)co(dot)in>
Cc: pgsql-novice(at)postgresql(dot)org
Sent: Tuesday, 30 October, 2007 8:52:35 PM
Subject: Re: [NOVICE] Problem with createdb 

Durgaprasad Pawar <durgaprasad(dot)pawar(at)yahoo(dot)co(dot)in> writes:
> bin # ./createdb -U dpgres -p 9999 -h -q mydb
> createdb: could not connect to database postgres: could not 
> connect to server: No route to host

"No route to host" for ???

There's something seriously hosed about your networking configuration.
This isn't a Postgres-specific problem --- no doubt you'll find that
TCP-based connection fails similarly, eg telnet.  Since you didn't
mention what platform this is, there's not much help we can give, but
in any case you should find an OS-specific help list for it.

            regards, tom lane

      Forgot the famous last words? Access your message archive online at


pgsql-novice by date

Next:From: Wright, GeorgeDate: 2007-10-31 14:07:52
Subject: timestamp problem
Previous:From: Tom LaneDate: 2007-10-30 15:22:35
Subject: Re: Problem with createdb

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group