Re: [GENERAL] Error connecting database

From: Charles Tassell <ctassell(at)isn(dot)net>
To: "C(dot)D(dot) Gan" <cdgan(at)hotmail(dot)com>, pgsql-general(at)postgreSQL(dot)org
Subject: Re: [GENERAL] Error connecting database
Date: 2000-01-16 22:36:50
Message-ID: 4.2.0.58.20000116183519.00a80dd0@mailer.isn.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

You might want to check that you have run initdb. Log in as user postgres
and type:

/usr/local/pgsql/bin/initdb

Then check to make sure that postmaster is actually running, as someone
else suggested.

At 11:21 PM 1/15/00, C.D. Gan wrote:
>I'm just trying to run PGSQL and running the test for it. However I get
>this message,
>
>Connection to database 'template1' failed.
>connectDB() -- connect() failed: No such file or directory
>Is the postmaster running at 'localhost' and accepting connections on Unix
>socket '5432'?
>
>createdb: database creation failed on i-city.
>
>What does that mean? Is it mean that the connect() file is not found under
>my /usr/local/pgsql/bin?
>
>Gan
>______________________________________________________
>Get Your Private, Free Email at http://www.hotmail.com
>
>
>************
>

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message clyde jones 2000-01-16 22:54:32 web frontend for postgres database?
Previous Message Il Paolone 2000-01-16 22:22:26 Re: [GENERAL] Debian php3+postgresql unable to connect