Re: Postgresql server does not start!:( -Re: PostgreSQl newbie!

From: Chris Travers <chris(at)metatrontech(dot)com>
To: lmyho <lm_yho(at)yahoo(dot)com>
Cc: Chris Travers <chris(at)travelamericas(dot)com>, pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgresql server does not start!:( -Re: PostgreSQl newbie!
Date: 2006-03-30 01:36:03
Message-ID: 442B3603.7030309@metatrontech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Things to check when PostgreSQL doesn't seem to start:

1) Are there any postmaster programs running (ps -A | grep postmaster
is useful here)
2) If not, is there a postmaster.pid file n the postgresql data
directory? (do a search for the file if you have to-- if no postmaster
processes are running delete the file and try again)
3) What are the final entries in the serverlog in the data directory?

In your case, if PostgreSQL is hanging, I would suspect that the problem
is likely to be with something else. Hopefully there would be info in
the serverlog that would help.

Best Wishes,
Chris Travers
Metatron Technology Consulting

lmyho wrote:

>
>
>
>>Perhaps I wasn't clear.
>>
>>
>.
>
>
>>With identd authentication a username is still specified. But you have
>>to own the process to login with that username. So generally speaking
>>(absent sudo and the like) you can generally login only with the same
>>username as your OS username.
>>
>>
>
>
>
>>The documentation of PostgreSQL goes into a bit of depth on
>>authentication, but if you want a little bit to get started, you might
>>find the following article helpful:
>>
>>
>
>
>
>>http://www.metatrontech.com/sql-ledger-wiki/index.php?UnderstandingPostgreSQLAuthentication
>>
>>
>
>Hi Chris,
>
>Hope you are on line and can see this mail soon. Just turned on the Debian system computer today but got trouble at system booting time when it's trying to start the PostgreSQL server!!
>
>What I did yesterday was: changed the system created password of user postgres, by "alter user postgres password 'blabal...' ", and changed the ident method to md5, in order to login as postgres through pgAdmin3 into the database. Everything seemed fine yesterday while I was in the system. I loged out after 1am this very morning, and just to login again today right now.
>
>However, the system doesn't work anymore.:(( When the Debian systen booting, it stoped at "Starting PostgreSQL 8.1 database server: main", and hung there forever...
>I tried to start againfrom the Recovery mode, was able to login as root, but don't know what to do at the command line mode.:(( When I exit from the recovery mode, the system tried to switch to the login point and seemed to use the standard process to approach the login point, so it went to the point of starting the Postgresql server again and hung there again with the same info: "Starting PostgreSQL 8.1 database server: main", and goes nowhere:(((
>
>What is the problem?? Is there angthing has gone wrong with my change of the password of user postgres yesterday? Is there anyway to make the system booting go through?? By the way it has been impossible to reverse the password of user postgres because the original password was generated by the system during installation, and I don't even have a clue about what it is:((
>
>Any help idea would be greatly appreciated!! Thank you for help very much!!!
>
>leo
>
>---------------------------(end of broadcast)---------------------------
>TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>
>
>
>

Attachment Content-Type Size
chris.vcf text/x-vcard 171 bytes

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message German Raul Hoyos Parravicino 2006-03-30 02:23:50 Client Connection - PGAdmin
Previous Message lmyho 2006-03-30 01:26:56 Postgresql server does not start!:( -Re: PostgreSQl newbie! -PLease help, pgAdmin3 on Debian!