Postgres server don't start

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Postgres server don't start

Postby joooo » Thu May 06, 2010 4:42 am

joooo
 
Posts: 4
Joined: Sun Dec 27, 2009 3:34 pm

Re: Postgres server don't start

Postby WhiteRider » Thu May 06, 2010 5:51 am

There are a lot of suggestions in that thread - have you tried them all?
What is your exact problem?
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Postgres server don't start

Postby joooo » Fri May 07, 2010 4:56 am

I have installed latest postgreSQL. I run pokertracker and it says: Error connecting to default database. Then I try to create a new database and it says:
Unable to create PostgreSQL database:
PT3_2010_05_01_101946
Reason: Unable to login to database (template1). Reason:
could not connect to server: Connection refused
(0x0000274D-10061) Is the server running on host "???" and
accepting TCP/IP connections on port 5433?

I try to start sql server and it says:
The PostgreSQL Server 8.4 service is starting...................................................
The PostgreSQL Server 8.4 service could not be started.

The service did not report an error.

More help is available by typing NET HELPMSG 3534.

Press <return> to continue...

I define firewall trusted application these file:
C:\Program Files\PokerTracker 3\PokerTracker.exe
C:\Program Files\PokerTracker 3\PokerTrackerHud.exe
C:\Program Files\PostgreSQL\8.x\bin\pg_ctl.exe
C:\Program Files\PostgreSQL\8.x\bin\postgres.exe

I have reinstalled postgres. Still it won't work.
joooo
 
Posts: 4
Joined: Sun Dec 27, 2009 3:34 pm

Re: Postgres server don't start

Postby kraada » Fri May 07, 2010 8:50 am

Click Start --> Control Panel --> Administrative Tools --> Event Viewer. Go to the Application logs in the top left pane. Do you see any errors listed in the top middle pane for PostgreSQL (you may need to resize the window to make it easier to read)? If you do, double click on them and paste the error contents here and that should help a lot in diagnosing the cause.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Postgres server don't start

Postby joooo » Fri May 07, 2010 8:57 am

There is error. It says:
2010-05-07 08:47:33 GMT FATAL: could not create lock file "postmaster.pid": Permission denied
joooo
 
Posts: 4
Joined: Sun Dec 27, 2009 3:34 pm

Re: Postgres server don't start

Postby kraada » Fri May 07, 2010 9:14 am

Click Start --> Computer -> C: -> Program Files (x86) and right click on PostgreSQL. Click Properties. On the Security tab click Add, then Advanced, then Find Now, located postgres in the list and click ok. Click on the postgres user in the top window and give them Full Control over the folder. Then try restarting the server again and it should work.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Postgres server don't start

Postby joooo » Sat May 08, 2010 3:35 am

I click folder PostgreSQL on right button and choose properties. There are 3 tab: general,sharing and customize. I can't find security tab.
joooo
 
Posts: 4
Joined: Sun Dec 27, 2009 3:34 pm

Re: Postgres server don't start

Postby kraada » Sat May 08, 2010 11:17 am

Then follow this tutorial and after that you'll be able to see that tab.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests