Mac installation problem

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

Mac installation problem

Postby 0bey » Thu Aug 19, 2010 6:41 pm

After PT3 is installed and is attempting to connect to PostgreSQL i get this "Unable to connect to this database. Please check the configuration."

I have a feeling that PostrgreSQL did not install properly to begin with.

The default settings are set.

I'm lost.

Any ideas as to what this could be?

I'm running leopard.
0bey
 
Posts: 6
Joined: Sun Aug 15, 2010 1:45 pm

Re: Mac installation problem

Postby 0bey » Thu Aug 19, 2010 8:29 pm

Also, when attempting to install PostgreSQL on its own it says

"problem running post install step, installation may not complete correctly, the database cluster initialization failed."
0bey
 
Posts: 6
Joined: Sun Aug 15, 2010 1:45 pm

Re: Mac installation problem

Postby WhiteRider » Fri Aug 20, 2010 2:57 am

If you have a PostgreSQL 8.4 folder in the Applications folder drag it to the Trash and run PT3 again - that should install postgres for you, but if not you can install it manually from the PostgreSQL download page.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Mac installation problem

Postby 0bey » Fri Aug 20, 2010 5:09 pm

POSTGRESQL is not in my applications folder. However when i run pt3 it still attempts to connect to it instead of install it. And when I attempt to install postgreSQL on its own it gives an error message saying "problem running post install step. installation may not complete correctly, the database cluster installation failed." Any idea what this could be?
0bey
 
Posts: 6
Joined: Sun Aug 15, 2010 1:45 pm

Re: Mac installation problem

Postby kraada » Fri Aug 20, 2010 5:41 pm

PostgreSQL needs to be installed in order for PT3 to function properly.

If it exists, please run /Library/PostgreSQL/8.4/uninstall-postgresql, then please run the following three commands in Terminal (in Applications -> Utilities) - just paste each line and enter your mac password when prompted and hit enter (it won't show *s but it is working):

sudo /sbin/SystemStarter stop postgresql-8.4
sudo rm -rf "/Applications/PostgreSQL 8.4" /etc/postgres-reg.ini /Library/StartupItems/postgresql-8.4 /Library/PostgreSQL/8.4
sudo dscl . delete /users/postgres

Then reboot your machine and reinstall from a direct download available here and it should install and then everything should work.
kraada
Moderator
 
Posts: 54431
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 14 guests

cron