Re: BUG #1156: Database is not initializing - Mailing list pgsql-bugs

From Richard Huxton
Subject Re: BUG #1156: Database is not initializing
Date
Msg-id 40B4C35F.6090205@archonet.com
Whole thread Raw
In response to BUG #1156: Database is not initializing  ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>)
List pgsql-bugs
Please cc: the pgsql-bugs mailing list as well as myself

Mr sangameswar m wrote:
> Hello sir,
>         Whenever i attempt to login
> with already created database by entering the command
> ./psql student then it showing the error as i had
> specifed in my earlier mail. Even it is not getting
> login when i enter the command
> ./psql
> The error is same in the both cases

The error message says that it has problems with the pg_hba.conf file
and you should look in your logs. So, to repeat:
>>  1. What does the log show?
>>  2. Where is your pg_hba.conf file?
>>  3. Does it contain any errors?

You should have a log file called /var/log/postgresql or /var/log/pgsql
(or similar). That log file should contain lines indicating the details
of the problem.

You should have a pg_hba.conf file, probably in /var/lib/pgsql/... or
/etc. What does this contain?

--
   Richard Huxton
   Archonet Ltd

pgsql-bugs by date:

Previous
From: Richard Huxton
Date:
Subject: Re: BUG #1156: Database is not initializing
Next
From: Vic Ricker
Date:
Subject: Question regarding 'not in' and subselects