pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Help needed
7+ messages / 6 participants
[nested] [flat]

* Help needed
@ 2002-06-10 22:54  John McMaster <john@axion.net>
  0 siblings, 0 replies; 7+ messages in thread

From: John McMaster @ 2002-06-10 22:54 UTC (permalink / raw)
  To: pgsql-admin

Hi
I keep getting the following error when I try to connect the te db.

"Warning: Unable to connect to PostgreSQL server: (null) in /var/www/html/mysite/tv_lib/db_mysql.php on line 48
Database error: Link-ID == false, pconnect failed
PostgreSQL Error: 0 ()
Session halted.

Any ideas on how I fix this. It started after I rebooted my linux system. It was working before I rebooted.

John McMaster

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: Help needed
@ 2002-06-11 17:36  Felipe Nascimento <Felipe.Nascimento@multivalor.com.br>
  0 siblings, 0 replies; 7+ messages in thread

From: Felipe Nascimento @ 2002-06-11 17:36 UTC (permalink / raw)
  To: 'John McMaster' <john@axion.net>; pgsql-admin

try to start the postgres daemon
/etc/init.d/postgres start

-----Original Message-----
From: John McMaster [mailto:john@axion.net]
Sent: segunda-feira, 10 de junho de 2002 19:55
To: pgsql-admin@postgresql.org
Subject: [ADMIN] Help needed


Hi
I keep getting the following error when I try to connect the te db.
 
"Warning: Unable to connect to PostgreSQL server: (null) in
/var/www/html/mysite/tv_lib/db_mysql.php on line 48

Database error: Link-ID == false, pconnect failed
PostgreSQL Error: 0 ()
Session halted.
 
Any ideas on how I fix this. It started after I rebooted my linux system. It
was working before I rebooted.
 
John McMaster

^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* help needed!!!
@ 2003-09-22 18:44  Priya G <sreepriya@hotmail.com>
  0 siblings, 1 reply; 7+ messages in thread

From: Priya G @ 2003-09-22 18:44 UTC (permalink / raw)
  To: pgsql-admin

<html><div style='background-color:'><DIV>
<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;The following message was found in the postgres log</DIV>postgres[20563]: [73256] FATAL 1: invalid length of startup packet 
<DIV>&nbsp;what does this mean?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks</DIV></DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMBENUS/2746??PS=">Add MSN 8 Internet Software to your existing Internet access and enjoy patented spam protection and more.  Sign up now! </a> </html>



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: help needed!!!
@ 2003-09-22 18:46  Bruce Momjian <pgman@candle.pha.pa.us>
  parent: Priya G <sreepriya@hotmail.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Bruce Momjian @ 2003-09-22 18:46 UTC (permalink / raw)
  To: Priya G <sreepriya@hotmail.com>; +Cc: pgsql-admin

Priya G wrote:
[ text/html is unsupported, treating like TEXT/PLAIN ]

> <html><div style='background-color:'><DIV>
> <DIV>Hi all,</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>&nbsp;The following message was found in the postgres log</DIV>postgres[20563]: [73256]


	FATAL 1: invalid length of startup packet 


> <DIV>&nbsp;what does this mean?</DIV>
> <DIV>&nbsp;</DIV>
> <DIV>Thanks</DIV></DIV></div><br clear=all><hr> <a href="http://g.msn.com/8HMBENUS/2746??PS=">Add MSN 8 Internet Software to your existing Internet access and enjoy patented spam protection and more.  Sign up now! </a> </html>

Odds are you have a mismatch between the client version and the server
version.

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073



^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: help needed!!!
@ 2003-09-23 17:16  Priya G <sreepriya@hotmail.com>
  0 siblings, 1 reply; 7+ messages in thread

From: Priya G @ 2003-09-23 17:16 UTC (permalink / raw)
  To: pgman@candle.pha.pa.us; +Cc: pgsql-admin


Since I am a novice can you explain more about this version mismatch?

>From: Bruce Momjian <pgman@candle.pha.pa.us>
>To: Priya G <sreepriya@hotmail.com>
>CC: pgsql-admin@postgresql.org
>Subject: Re: [ADMIN] help needed!!!
>Date: Mon, 22 Sep 2003 14:46:27 -0400 (EDT)
>
>Priya G wrote:
>[ text/html is unsupported, treating like TEXT/PLAIN ]
>
> > <html><div style='background-color:'><DIV>
> > <DIV>Hi all,</DIV>
> > <DIV>&nbsp;</DIV>
> > <DIV>&nbsp;The following message was found in the postgres 
>log</DIV>postgres[20563]: [73256]
>
>
>	FATAL 1: invalid length of startup packet
>
>
> > <DIV>&nbsp;what does this mean?</DIV>
> > <DIV>&nbsp;</DIV>
> > <DIV>Thanks</DIV></DIV></div><br clear=all><hr> <a 
>href="http://g.msn.com/8HMBENUS/2746??PS=">Add MSN 8 Internet Software to 
>your existing Internet access and enjoy patented spam protection and more.  
>Sign up now! </a> </html>
>
>Odds are you have a mismatch between the client version and the server
>version.
>
>--
>   Bruce Momjian                        |  http://candle.pha.pa.us
>   pgman@candle.pha.pa.us               |  (610) 359-1001
>   +  If your life is a hard drive,     |  13 Roberts Road
>   +  Christ can be your backup.        |  Newtown Square, Pennsylvania 
>19073

_________________________________________________________________
Instant message with integrated webcam using MSN Messenger 6.0. Try it now 
FREE!  http://msnmessenger-download.com




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: help needed!!!
@ 2003-09-23 19:58  scott.marlowe <scott.marlowe@ihs.com>
  parent: Priya G <sreepriya@hotmail.com>
  0 siblings, 1 reply; 7+ messages in thread

From: scott.marlowe @ 2003-09-23 19:58 UTC (permalink / raw)
  To: Priya G <sreepriya@hotmail.com>; +Cc: pgman@candle.pha.pa.us; pgsql-admin

Sure, basically, modern versions of the client library can talk to older 
versions of the database backend up to a point (i.e. the 7.4 library in 
beta can go back to 6.5 or 6.4 or something like that.  Support for 6.2 or 
thereabouts was recently dropped.)

However, going the other way, old connect libs and newer postgresql back 
end versions can result in an issue where the old lib can't connect.

the normal solution is to link to / use the newer connection libraries 
that come with a late model pgsql (7.3, 7.4 etc...)

On Tue, 23 Sep 2003, Priya G wrote:

> 
> Since I am a novice can you explain more about this version mismatch?
> 
> >From: Bruce Momjian <pgman@candle.pha.pa.us>
> >To: Priya G <sreepriya@hotmail.com>
> >CC: pgsql-admin@postgresql.org
> >Subject: Re: [ADMIN] help needed!!!
> >Date: Mon, 22 Sep 2003 14:46:27 -0400 (EDT)
> >
> >Priya G wrote:
> >[ text/html is unsupported, treating like TEXT/PLAIN ]
> >
> > > <html><div style='background-color:'><DIV>
> > > <DIV>Hi all,</DIV>
> > > <DIV>&nbsp;</DIV>
> > > <DIV>&nbsp;The following message was found in the postgres 
> >log</DIV>postgres[20563]: [73256]
> >
> >
> >	FATAL 1: invalid length of startup packet
> >
> >
> > > <DIV>&nbsp;what does this mean?</DIV>
> > > <DIV>&nbsp;</DIV>
> > > <DIV>Thanks</DIV></DIV></div><br clear=all><hr> <a 
> >href="http://g.msn.com/8HMBENUS/2746??PS=">Add MSN 8 Internet Software to 
> >your existing Internet access and enjoy patented spam protection and more.  
> >Sign up now! </a> </html>
> >
> >Odds are you have a mismatch between the client version and the server
> >version.
> >
> >--
> >   Bruce Momjian                        |  http://candle.pha.pa.us
> >   pgman@candle.pha.pa.us               |  (610) 359-1001
> >   +  If your life is a hard drive,     |  13 Roberts Road
> >   +  Christ can be your backup.        |  Newtown Square, Pennsylvania 
> >19073
> 
> _________________________________________________________________
> Instant message with integrated webcam using MSN Messenger 6.0. Try it now 
> FREE!  http://msnmessenger-download.com
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 3: 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
> 




^ permalink  raw  reply  [nested|flat] 7+ messages in thread

* Re: help needed!!!
@ 2003-09-24 00:02  Peter Eisentraut <peter_e@gmx.net>
  parent: scott.marlowe <scott.marlowe@ihs.com>
  0 siblings, 0 replies; 7+ messages in thread

From: Peter Eisentraut @ 2003-09-24 00:02 UTC (permalink / raw)
  To: scott.marlowe <scott.marlowe@ihs.com>; +Cc: Priya G <sreepriya@hotmail.com>; pgman@candle.pha.pa.us; pgsql-admin

scott.marlowe writes:

> Sure, basically, modern versions of the client library can talk to older
> versions of the database backend up to a point (i.e. the 7.4 library in
> beta can go back to 6.5 or 6.4 or something like that.  Support for 6.2 or
> thereabouts was recently dropped.)
>
> However, going the other way, old connect libs and newer postgresql back
> end versions can result in an issue where the old lib can't connect.

This is not correct.  Old client libraries can connect to new servers.
In any case, the error message in case of a version mismatch is not
"invalid length of startup packet", so this whole discussion is not the
solution to the original question.

-- 
Peter Eisentraut   peter_e@gmx.net




^ permalink  raw  reply  [nested|flat] 7+ messages in thread


end of thread, other threads:[~2003-09-24 00:02 UTC | newest]

Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-06-10 22:54 Help needed John McMaster <john@axion.net>
2002-06-11 17:36 Re: Help needed Felipe Nascimento <Felipe.Nascimento@multivalor.com.br>
2003-09-22 18:44 help needed!!! Priya G <sreepriya@hotmail.com>
2003-09-22 18:46 ` Re: help needed!!! Bruce Momjian <pgman@candle.pha.pa.us>
2003-09-23 17:16 Re: help needed!!! Priya G <sreepriya@hotmail.com>
2003-09-23 19:58 ` Re: help needed!!! scott.marlowe <scott.marlowe@ihs.com>
2003-09-24 00:02   ` Re: help needed!!! Peter Eisentraut <peter_e@gmx.net>

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