X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 18A7E9DCAB3 for ; Tue, 29 Nov 2005 17:50:00 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 31152-01 for ; Tue, 29 Nov 2005 17:50:00 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from nproxy.gmail.com (nproxy.gmail.com [64.233.182.201]) by postgresql.org (Postfix) with ESMTP id 868339DCCD9 for ; Tue, 29 Nov 2005 17:49:56 -0400 (AST) Received: by nproxy.gmail.com with SMTP id l23so579325nfc for ; Tue, 29 Nov 2005 13:49:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=ALtX8j0/MRQCc+u3iGF7iChCdvBHzTD8k5R9YmAMiJ3UzY3qMotSyCgg9NDbP2Uror0MleTC+gBPn6TbcWM0MpEEEFRaE4qXAEaUr90xqJR9/M08tHUhc+TiC1yvalgSJcI+Yy8blSNb5m6efkBUS/jzMDhs3caP6cKtQJ8ERNc= Received: by 10.48.248.14 with SMTP id v14mr632780nfh; Tue, 29 Nov 2005 13:49:58 -0800 (PST) Received: by 10.48.108.10 with HTTP; Tue, 29 Nov 2005 13:49:56 -0800 (PST) Message-ID: Date: Tue, 29 Nov 2005 21:49:56 +0000 From: Guido Barosio To: Dan The Man Subject: Re: invalid length of startup packet Cc: pgsql-admin@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_23907_17247376.1133300996614" References: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.139 required=5 tests=[AWL=-0.138, HTML_MESSAGE=0.001, MAILTO_TO_SPAM_ADDR=0.276] X-Spam-Score: 0.139 X-Spam-Level: X-Archive-Number: 200511/335 X-Sequence-Number: 19708 ------=_Part_23907_17247376.1133300996614 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I can notice: < % %2005-11-28 07:31:10 EST>LOG: database system was not properly shut down; automatic recovery in progress At a first sight, you didn't shut down the database as expected. (pg_ctl stop -m smart/fast/immediate). Now I don't know if this is the root cause for that message, but a clean stop, and start should show you if this is related or not. Just 2 cents, every little helps, best regards, Guido Barosio On 11/29/05, Dan The Man wrote: > > Hi, > > I've been using postgresql v810 for a couple of weeks. I notice when I > start it up I get 'invalid lenth of startup packet' On a database that I > just initialized I get ' incomplete startup packet' after I first started > it. This never happened that I can see in 8.0.3. > > Does any one know if that can be safely ignored? > > ~DjK > > > < % %2005-11-28 07:31:10 EST>LOG: database system was interrupted at > 2005-11-28 03:57:12 EST > < % %2005-11-28 07:31:10 EST>LOG: checkpoint record is at 13/89BD9728 > < % %2005-11-28 07:31:10 EST>LOG: redo record is at 13/89BD9728; undo > record is at 0/0; shutdown FALSE > < % %2005-11-28 07:31:10 EST>LOG: next transaction ID: 81691647; next > OID: > 92997625 > < % %2005-11-28 07:31:10 EST>LOG: next MultiXactId: 1; next > MultiXactOffset: 0 > < % %2005-11-28 07:31:10 EST>LOG: database system was not properly shut > down; automatic recovery in progress > < % %2005-11-28 07:31:10 EST>LOG: record with zero length at 13/89BD9778 > < % %2005-11-28 07:31:10 EST>LOG: redo is not required > < % %2005-11-28 07:31:10 EST>LOG: database system is ready > < % %2005-11-28 07:31:10 EST>LOG: transaction ID wrap limit is > 1155432042, > limited by database "dan_test_bum" > <[unknown] %[unknown] %2005-11-28 09:03:07 EST>LOG: invalid length of > startup packet > < % %2005-11-28 09:43:37 EST>LOG: autovacuum: processing database > "initial_db" > < % %2005-11-28 09:53:37 EST>LOG: autovacuum: processing data > > > > ---------------------------(end of broadcast)--------------------------- > TIP 3: Have you checked our extensive FAQ? > > http://www.postgresql.org/docs/faq > -- "Adopting the position that you are smarter than an automatic optimization algorithm is generally a good way to achieve less performance, not more" - Tom Lane. ------=_Part_23907_17247376.1133300996614 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
I can notice:
 
< % %2005-11-28 07:31:10 EST>LOG:  database system was not = properly shut
down; automatic recovery in progress
 
At a first sight, you didn't shut down the database as expected. (pg_c= tl stop -m smart/fast/immediate). Now I don't know if this is the root caus= e for that message, but a clean stop, and start should show you if this is = related or not.
 
Just 2 cents, every little helps, best regards,
Guido Barosio

 
On 11/29/05, Dan The Man <bitsandb= ytes88@hotmail.com> wrote:
Hi,

I've been using postg= resql v810 for a couple of weeks.  I notice when I
start it up= I get 'invalid lenth of startup packet'  On a database that I
just initialized I get ' incomplete startup packet' after I first start= ed
it.   This never happened that I can see in 8.0.3.

D= oes any one know if that can be safely ignored?

~DjK


<= % %2005-11-28 07:31:10 EST>LOG:  database system was interrup= ted at
2005-11-28 03:57:12 EST
< % %2005-11-28 07:31:10 EST>LOG: = ; checkpoint record is at 13/89BD9728
< % %2005-11-28 07:31:10 E= ST>LOG:  redo record is at 13/89BD9728; undo
record is at 0= /0; shutdown FALSE
< % %2005-11-28 07:31:10 EST>LOG:  next transaction ID:= 81691647; next OID:
92997625
< % %2005-11-28 07:31:10 EST>LOG:=   next MultiXactId: 1; next
MultiXactOffset: 0
< % %2005= -11-28 07:31:10 EST>LOG:  database system was not properly shu= t
down; automatic recovery in progress
< % %2005-11-28 07:31:10 EST= >LOG:  record with zero length at 13/89BD9778
< % %2005-= 11-28 07:31:10 EST>LOG:  redo is not required
< % %2005-= 11-28 07:31:10 EST>LOG:  database system is ready
< % %2005-11-28 07:31:10 EST>LOG:  transaction ID wrap = limit is 1155432042,
limited by database "dan_test_bum"
<= ;[unknown] %[unknown] %2005-11-28 09:03:07 EST>LOG:  invalid l= ength of
startup packet
< % %2005-11-28 09:43:37 EST>LOG:  autovacuum: processi= ng database
"initial_db"
< % %2005-11-28 09:53:37 EST>= ;LOG:  autovacuum: processing data



---------------= ------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

   &nb= sp;          http://www.postgresql.org/docs/faq



--
"Adopting the po= sition that you are smarter than an automatic
optimization algorithm is generally a good way to achieve less
perfo= rmance, not more" - Tom Lane.=20 ------=_Part_23907_17247376.1133300996614--