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

From: "Jason Minion" <jason(dot)minion(at)sigler(dot)com>
To: "lmyho" <lm_yho(at)yahoo(dot)com>, "Scott Marlowe" <smarlowe(at)g2switchworks(dot)com>
Cc: "Chris Travers" <chris(at)metatrontech(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Postgresql server does not start!:( -Re: PostgreSQl
Date: 2006-03-30 19:50:56
Message-ID: 261CF9EEB14F5442894AB6DDA93AA6F40F284B@mail.siglercompanies.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

If by "broken connection" you are referring to the "invalid startup
packet" lines - that has been known to be caused by pretty much anything
other than a postgresql client connecting to the pg server port, ie
portscanner, someone telnetting, net bot, etc.

Jason Minion

-----Original Message-----
From: pgsql-admin-owner(at)postgresql(dot)org
[mailto:pgsql-admin-owner(at)postgresql(dot)org] On Behalf Of lmyho
Sent: Thursday, March 30, 2006 1:46 PM
To: Scott Marlowe
Cc: Chris Travers; Tom Lane; pgsql-admin(at)postgresql(dot)org
Subject: Re: Postgresql server does not start!:( -Re: [ADMIN] PostgreSQl

> >
> > Great Scott!! Thank you!! This system was just installed on Debian
> > (2 days),
> and
> > the original pg_hba.conf file authen method was "ident sameuser" and

> > appears not allow it to be changed!
> >
> > Look forward to your information!! Thanks a lot!!
>
> Can't find the thread right now (my search-fu is not strong today) but

> I think this thread has covered all the basic points. Does anyone
> know if it is possible for the startup script to read the ~/.pgpass
> file of the postgres user on startup and use that if you absolutely
> have to have the main postgres user have a password on it in debian?
>
> My guess is that you could also just comment out the lines in the init

> script that are hanging, as the actual db startup should not require a

> password.
>
That's right. And seems like the init script does not check about
password either.

I also heard that Bebian install Posqtgresql with a locked password.
Actually there is no .pgpass under ~/ of postgres. the pgAdmin3
generate one after I altered the original password (which I don't know
what it is) of progres and used pgAdmin to login using the new password.

But still, the broken connection is always there in anycase! How can I
find out what caused the broken connection? Anyone has any ideas? I
need your help! as I haven't worked on *nix for years and have forgot
how to do such things. Just come back recently for Debian, but got so
many troubles on the new system.:( I don't want to run the system on a
possibly harmful environment!

I am working on it, but I need your help please! If you have any idea
for what I should do, please let me know. Thank you!!

leo

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message lmyho 2006-03-30 20:09:34 Re: Postgresql server does not start!:( -Re: PostgreSQl
Previous Message lmyho 2006-03-30 19:45:56 Re: Postgresql server does not start!:( -Re: PostgreSQl