Reputation: 235
I have started learning RoR, now i am trying to install PostgreSQL for performing backend operation with the database.
I have two machines where i installed Postgresql, it runs well in one machine. In another machine i uninstalled the PostgreSQL and re installed it. After re installing i could not able to start the PostgreSQL service.
Below is the error log that i see in PostgreSQL log file
2011-12-02 04:40:53 PST LOG: incomplete startup packet
2011-12-02 04:40:53 PST LOG: database system was not properly shut down; automatic recovery in progress
2011-12-02 04:40:54 PST LOG: consistent recovery state reached at 0/15F44E0
2011-12-02 04:40:54 PST LOG: record with zero length at 0/15F44E0
2011-12-02 04:40:54 PST LOG: redo is not required
2011-12-02 04:40:54 PST LOG: database system is ready to accept connections
2011-12-02 04:40:54 PST LOG: autovacuum launcher started
2011-12-02 04:40:54 PST LOG: could not receive data from client: An operation was attempted on something that is not a socket.
I have been trying several ways to solve this, but no use on all the steps. Could any one please give me a hand on this?
I am installing PostgreSQL Version 9.0.5 in Windows 7 machine (64 bit)
Upvotes: 1
Views: 1833
Reputation: 9290
Am I correct in saying that you once had a working installation of Postgres on the same machine? But you uninstalled it and are now trying to install it on the same machine again?
I was in a similar situation once but it had to do with the service account the installer creates. Did you create a new service account for postgres, or are you trying to re-use the old one? If so, are you sure you are using the right password for the account?
Another hunch I got; the port on which the new Postgres server is listening, is it really free? It appears to me that it cannot open the listening port specified in postgresql.conf.
Or, yet another hunch; if I read the log correct I get the feeling that you are re-using the old data directory. Is this true? And if so, what was the version of the previous Postgres installation?
Sorry I don't have answer, but I do have questions that might lead you to a solution.
Upvotes: 1