From: Chris Travers <chris@metatrontech.com>
To: lmyho <lm_yho@yahoo.com>
Cc: Chris Travers <chris@travelamericas.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Postgresql server does not start!:( -Re: PostgreSQl newbie!
Date: Wed, 29 Mar 2006 17:36:03 -0800
Message-ID: <442B3603.7030309@metatrontech.com> (raw)
In-Reply-To: <20060330012656.87991.qmail@web30808.mail.mud.yahoo.com>
References: <20060330012656.87991.qmail@web30808.mail.mud.yahoo.com>
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@postgresql.org so that your
> message can get through to the mailing list cleanly
>
>
>
>
Attachments:chris.vcf (text/x-vcard, 169B) download
begin:vcard
fn:Chris Travers
n:Travers;Chris
email;internet:chris@metatrontech.com
tel;work:509-888-0220
tel;cell:509-630-7794
x-mozilla-html:FALSE
version:2.1
end:vcard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: chris@metatrontech.com, lm_yho@yahoo.com, chris@travelamericas.com
Subject: Re: Postgresql server does not start!:( -Re: PostgreSQl newbie!
In-Reply-To: <442B3603.7030309@metatrontech.com>
References: <20060330012656.87991.qmail@web30808.mail.mud.yahoo.com> <442B3603.7030309@metatrontech.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox