[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

5.4

PostgreSQL problem (incomplete startup packet)

Asked by Phil_Crusader in PostgreSQL Database

Tags: startup, incomplete, packet, postgresql

I've run into a problem which I'm having a hard time fixing... a few couple of months ago I've switched from a jsp reporting scheme to one using datavision.  I've field tested it for a few weeks and it was ok.  However, when writing a very complex script it started creating errors on the client side which came up something like:

    Could not create Connection: Cannot create PoolableConnectionFactory (
            An I/O error occured while reading from backend - Exception: java.net.SocketException:
            Connection reset Stack Trace: java.net.SocketException:
            Connection reset at java.net.SocketInputStream.read(Unknown Source) at
            java.io.BufferedInputStream.fill(Unknown Source) at
            java.io.BufferedInputStream.read(Unknown Source) at
            org.postgresql.core.PGStream.ReceiveChar(PGStream.java:166) at
            org.postgresql.jdbc1.AbstractJdbc1Connection.openConnectionV3(AbstractJdbc1Connection.java:291) at
            org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:213) at
            org.postgresql.Driver.connect(Driver.java:139) at
            .....

At first, I thought maybe it was my script... so I tried running the script from PgAdmin (at this point I haven't done anything with the connection) and the script ran fine... so I tried restarting postmaster.. which didn't work.  After which I tried restarting the server, this seemed to have remedied the problem.  This was a couple of days after the problem surfaced... now I get this message almost every time and restarting doesn't seem to help, PgAdmin likewise cannot access the database as well.  I've been looking around and initially thought it may be just a jdbc problem... however when I took a look at the postmaster logs I got...

            2005-04-29 20:18:56 LOG:  database system was shut down at 2005-04-29 20:18:34 China Standard Time
            2005-04-29 20:18:56 LOG:  checkpoint record is at 0/201A178
            2005-04-29 20:18:56 LOG:  redo record is at 0/201A178; undo record is at 0/0; shutdown TRUE
            2005-04-29 20:18:56 LOG:  next transaction ID: 6344; next OID: 18598
            2005-04-29 20:18:56 LOG:  database system is ready
            2005-04-29 20:23:47 LOG:  could not receive data from client: An operation was attempted on something that is not a socket.
            2005-04-29 20:23:47 LOG:  incomplete startup packet
            2005-04-29 20:23:48 LOG:  could not receive data from client: An operation was attempted on something that is not a socket.
            2005-04-29 20:23:48 LOG:  incomplete startup packet

I am unsure if my complex scripts had anything to do with this, however, I don't believe this that was the root of the problem.  Has anyone encountered similar scenarios?

I placed this problem on the back-burner since it was for non-essential upgrades... needless to say, I have more time on my hands now so I'm revisiting the problem...

--

Regards,

Kal Chung
[+][-]08/20/05 06:21 AM, ID: 14715529Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/21/05 09:46 AM, ID: 14719446Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/21/05 10:28 PM, ID: 14721935Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/21/05 10:40 PM, ID: 14721968Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/21/05 10:57 PM, ID: 14722020Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/21/05 11:48 PM, ID: 14722169Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/22/05 12:28 AM, ID: 14722302Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08/22/05 01:18 AM, ID: 14722485Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/22/05 01:30 AM, ID: 14722531Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08/22/05 10:44 AM, ID: 14726453Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/09/05 12:25 AM, ID: 14850382Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/11/05 05:12 PM, ID: 14860960Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/12/05 11:51 AM, ID: 14866365Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]09/14/05 08:40 AM, ID: 14881723Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/15/05 06:26 AM, ID: 14889010Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/15/05 07:52 AM, ID: 14889787Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/16/05 01:00 AM, ID: 14896169Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: PostgreSQL Database
Tags: startup, incomplete, packet, postgresql
Sign Up Now!
Solution Provided By: modulo
Participating Experts: 3
Solution Grade: B
 
 
Loading Advertisement...
20091111-EE-VQP-89