Can't make new database

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

Can't make new database

Postby slyfrank » Sat Jan 15, 2011 4:10 pm

Hi - I have not used PT3 (Mac) for a few months, but it was working fine. I booted it up today and upgraded to the latest PT3 version. Then it asked me to use database (none available, which I don't know why) or create a new one. So I try to create a new one and get the following error message:

Unable to create PostgreSQL database:
PT3_2011_01_15_140621
Reason: Unable to login to database (template1). Reason:
could not connect to server: No such file or directory Is
the server running locally and accepting connections on
Unix domain socket "/temp/.s.PGSQL.5432"?

I have PostgreSQL 8.4, but I can't seem to be able to start the server from the start server app. It gives me "The command exited with a non-zero status."

So, I'm stumped. Any ideas.

Thanks
slyfrank
 
Posts: 2
Joined: Sun Jan 10, 2010 7:30 pm

Re: Can't make new database

Postby WhiteRider » Sat Jan 15, 2011 4:53 pm

That indicates that your PostgreSQL service isn't working. If you haven't already, try rebooting as that can often get the PostgreSQL service going again.
Did you do anything to PostgreSQL? If you deleted any files it could cause problems.
Are you still logging in as the same user, with Admin rights?

You could also try installing the latest 8.4.x version of PostgreSQL from the PostgreSQL download page, but if that doesn't help you may need to uninstall and re-install it - see this post for directions.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Can't make new database

Postby slyfrank » Sat Jan 15, 2011 5:30 pm

Thanks for the reply. Yes, I did try rebooting. It is possible that in the upgrade to this new Mac, some critical files didn't make it over from the old Mac using Migration Assistant. I'm thinking that I may need to do the uninstall/re-install thing.
slyfrank
 
Posts: 2
Joined: Sun Jan 10, 2010 7:30 pm

Re: Can't make new database

Postby WhiteRider » Sat Jan 15, 2011 5:59 pm

Ah, yes - if you've migrated I think you'll need to re-install PostgreSQL.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 11 guests

cron