![]() |
sponsored links |
|
|
sponsored links
|
|
1
21st April 09:37
External User
Posts: 1
|
Hi,
I've been using Postgresql 7.3.2 -5 mdk successfully until a major power outage that had forced my box to reboot (under voltage conditions) unsuccessfully twice. As a result, now when I try to access my db, I get: psql: could not connect to server: Connection refused Is the server running locally and accepting connections on Unix domain socket "/tmp/.s.PGSQL.5432"? error message. Reading the archives, it was suggested to delete /tmp/.s.PGSQL.5432, but it doesn't exist! Running ps -ef, obviously there are no PID for the db connection that refuses to connect. I uninstalled the whole mess, and re-installed Postgresql, but I now cannot createdb since I get the same error message. Are there hidden file(s) to look for and delete? My config: pg_hba.conf set to 'local all trust' postmaster.pid and postmaster .opts -- both empty I'm at a total loss of what to do, or where to look --- any ideas? Tia, Andre ---------------------------(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 |
|
|
|
5
21st April 09:37
External User
Posts: 1
|
Hi Tom,
Well ain't that the cat's meow! I did that earlier (before I trashed the db and re-installed postgresql) and nothing happened. . . . sigh! Now: LOG: database system was interrupted at 2003-11-15 07:22:45 EST LOG: checkpoint record is at 0/14E7F80 LOG: redo record is at 0/14E7F80; undo record is at 0/0; shutdown TRUE LOG: next transaction id: 20462; next oid: 58755 LOG: database system was not properly shut down; automatic recovery in progress LOG: ReadRecord: record with zero length at 0/14E7FC0 LOG: redo is not required LOG: database system is ready Life ain't fair no how! Now, all I have to do is to restore the dump file -- another learning experience! Thanks again. Andre ---------------------------(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 |
|