Page 1 of 2
PostGreswill not start
Posted:
Wed Jul 27, 2011 1:09 am
by RiverOfJustice
It is set to auto in the services, my windows firewall is set to allow it, yet I still can not start postgres and get PT3 up and running. This problem seems specific to postgres 9.0. No events in the event log that I could find
Re: PostGreswill not start
Posted:
Wed Jul 27, 2011 9:04 am
by kraada
Check in the C:\Program Files (x86)\PostgreSQL\9.0\data\pg_log folder - are there any files there? If so, look in the most recent one, are there any errors mentioned in the file?
Re: PostGreswill not start
Posted:
Wed Jul 27, 2011 1:20 pm
by RiverOfJustice
From the event log. I included a lot of other stuff in there because there seem to be a lot of errors going on that I don't understand. Maybe this could be part of the reason for uberslow imports? Am I also seeing suggestions in here to increase checkpoint segments?-
2011-07-26 20:54:24 EDT STATEMENT: COPY holdem_hand_summary FROM STDIN;
2011-07-26 20:54:24 EDT ERROR: duplicate key value violates unique constraint "hhs-unique_hand_no"
2011-07-26 20:54:24 EDT DETAIL: Key (id_site, hand_no)=(2100, 3792597300377) already exists.
2011-07-26 20:54:24 EDT CONTEXT: COPY holdem_hand_summary, line 1: "2000 2100 1 14 3792597300377 2011/07/23 06:28:33 2011/07/26 20:54:24 5 0 0 0 9.95 0.00 0.00 0.00 0.2..."
2011-07-26 20:54:24 EDT STATEMENT: COPY holdem_hand_summary FROM STDIN;
2011-07-26 21:01:00 EDT LOG: checkpoints are occurring too frequently (3 seconds apart)
2011-07-26 21:01:00 EDT HINT: Consider increasing the configuration parameter "checkpoint_segments".
2011-07-26 21:01:04 EDT LOG: checkpoints are occurring too frequently (4 seconds apart)
2011-07-26 21:01:04 EDT HINT: Consider increasing the configuration parameter "checkpoint_segments".
2011-07-26 21:01:08 EDT LOG: checkpoints are occurring too frequently (4 seconds apart)
2011-07-26 21:01:08 EDT HINT: Consider increasing the configuration parameter "checkpoint_segments".
2011-07-26 21:01:12 EDT LOG: checkpoints are occurring too frequently (4 seconds apart)
2011-07-26 21:01:12 EDT HINT: Consider increasing the configuration parameter "checkpoint_segments".
2011-07-26 21:01:17 EDT LOG: checkpoints are occurring too frequently (5 seconds apart)
2011-07-26 21:01:17 EDT HINT: Consider increasing the configuration parameter "checkpoint_segments".
2011-07-26 21:01:24 EDT LOG: checkpoints are occurring too frequently (7 seconds apart)
2011-07-26 21:01:24 EDT HINT: Consider increasing the configuration parameter "checkpoint_segments".
2011-07-26 21:02:37 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2011-07-26 21:02:37 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2011-07-26 21:02:37 EDT LOG: unexpected EOF on client connection
2011-07-26 21:02:37 EDT LOG: unexpected EOF on client connection
2011-07-26 21:02:37 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2011-07-26 21:02:37 EDT LOG: unexpected EOF on client connection
2011-07-26 21:02:37 EDT LOG: could not receive data from client: No connection could be made because the target machine actively refused it.
2011-07-26 21:02:37 EDT LOG: unexpected EOF on client connection
2011-07-26 21:02:45 EDT LOG: received fast shutdown request
2011-07-26 21:02:45 EDT LOG: aborting any active transactions
2011-07-26 21:02:45 EDT LOG: autovacuum launcher shutting down
2011-07-26 21:02:45 EDT FATAL: terminating autovacuum process due to administrator command
2011-07-26 21:02:45 EDT ERROR: canceling statement due to user request
2011-07-26 21:02:46 EDT LOG: autovacuum launcher shutting down
2011-07-26 21:02:47 EDT LOG: shutting down
2011-07-26 21:02:47 EDT LOG: database system is shut down
Re: PostGreswill not start
Posted:
Wed Jul 27, 2011 1:24 pm
by RiverOfJustice
Here are some other errors from the log-
2011-07-26 16:55:46 EDT ERROR: table "holdem_cache" does not exist
2011-07-26 16:55:46 EDT STATEMENT: DROP TABLE holdem_cache;
2011-07-26 16:55:46 EDT ERROR: table "tourney_holdem_cache" does not exist
2011-07-26 16:55:46 EDT STATEMENT: DROP TABLE tourney_holdem_cache;
2011-07-26 16:55:46 EDT ERROR: table "omaha_cache" does not exist
2011-07-26 16:55:46 EDT STATEMENT: DROP TABLE omaha_cache;
2011-07-26 16:55:47 EDT ERROR: table "tourney_omaha_cache" does not exist
2011-07-26 16:55:47 EDT STATEMENT: DROP TABLE tourney_omaha_cache;
2011-07-26 18:27:27 EDT ERROR: duplicate key value violates unique constraint "settings_primary_key"
2011-07-26 18:27:27 EDT DETAIL: Key (setting_name)=(icon_desc_2) already exists.
2011-07-26 18:27:27 EDT STATEMENT: INSERT INTO settings VALUES('icon_desc_2', 'Loose | Passive | Stubborn | Straightforward (Never-Folding Fish)');
2011-07-26 18:27:27 EDT ERROR: duplicate key value violates unique constraint "settings_primary_key"
2011-07-26 18:27:27 EDT DETAIL: Key (setting_name)=(icon_desc_3) already exists.
2011-07-26 18:27:27 EDT STATEMENT: INSERT INTO settings VALUES('icon_desc_3', 'Loose | Passive | Timid | Straightforward (Fit-or-Fold ATM)');
2011-07-26 18:27:27 EDT ERROR: duplicate key value violates unique constraint "settings_primary_key"
2011-07-26 18:27:27 EDT DETAIL: Key (setting_name)=(icon_desc_4) already exists.
2011-07-26 18:27:27 EDT STATEMENT: INSERT INTO settings VALUES('icon_desc_4', 'Semi-Loose | Limps/Calls Preflop | Folds Postflop (Another Fit-or-Fold ATM)');
2011-07-26 18:27:27 EDT ERROR: duplicate key value violates unique constraint "settings_primary_key"
2011-07-26 18:27:27 EDT DETAIL: Key (setting_name)=(icon_desc_5) already exists.
2011-07-26 18:27:27 EDT STATEMENT: INSERT INTO settings VALUES('icon_desc_5', 'Semi-Loose | Limps/Calls Preflop | Doesn''t Fold Postflop (Another Fish/Weak Player)');
2011-07-26 18:27:27 EDT ERROR: duplicate key value violates unique constraint "settings_primary_key"
2011-07-26 18:27:27 EDT DETAIL: Key (setting_name)=(icon_desc_8) already exists.
2011-07-26 18:27:27 EDT STATEMENT: INSERT INTO settings VALUES('icon_desc_8', 'Loose | Aggressive | Straightforward (Donk)');
2011-07-26 18:27:27 EDT ERROR: duplicate key value violates unique constraint "settings_primary_key"
2011-07-26 18:27:27 EDT DETAIL: Key (setting_name)=(icon_desc_9) already exists.
2011-07-26 18:27:27 EDT STATEMENT: INSERT INTO settings VALUES('icon_desc_9', 'Tight | Passive | Straightforward (Misses Value, Lets You Draw, Plays Face-Up)');
2011-07-26 18:27:27 EDT ERROR: duplicate key value violates unique constraint "settings_primary_key"
Re: PostGreswill not start
Posted:
Wed Jul 27, 2011 1:31 pm
by RiverOfJustice
FYI, this is a small sample of errors that I posted..there must be 1000 of them in there, all pretty much the same
Re: PostGreswill not start
Posted:
Wed Jul 27, 2011 1:39 pm
by kraada
How big is this database?
Re: PostGreswill not start
Posted:
Wed Jul 27, 2011 4:19 pm
by RiverOfJustice
I just bought the computer and I'm starting fresh---the database has nothing in it. I'm guessing the errors are from my previous import attempts, which I purged the data
Re: PostGreswill not start
Posted:
Wed Jul 27, 2011 5:30 pm
by kraada
And now as soon as you start Postgres it shuts down?
Re: PostGreswill not start
Posted:
Wed Jul 27, 2011 5:53 pm
by RiverOfJustice
I can't start it at all unless I reinstall it. Then it does whatever its doing. The logs I sent you have some stuff in there about it. If I use postgres 8 i have no issues (other than the slow import issue which u guys are also looking into, but I have that problem with 9.0 as well)
Re: PostGreswill not start
Posted:
Wed Jul 27, 2011 6:51 pm
by kraada
Please attach the full log to a
support ticket so that we can investigate further for you.