PDA

View Full Version : Problem installing postgres



jaysu
08-30-2009, 11:11 PM
Hi,

I'm having trouble installing postgres. I got to the "initialize database cluster" part. I then get this error message:

"The specified data directory is not empty. If you have an existing database with the same major version number, you do not need to initialize a database cluster. If you have an existing database with a different major version you need to back up your old database and create a new one."

I had a pokertracker 3 database because I used that program in the past. In July I got a new desktop computer so I bought HEM because I wanted to switch. This computer I am having trouble with is my laptop, which I am now trying to install HEM on.

I thought that I could just uninstall postgres and then reinstall it using the directions in the guide on your website for installing HEM. However I guess that is not the case, because it didn't work. I really can't figure out what to do so any help would be appreciated.

I am not concerned with keeping my pokertracker 3 database, I wanted to start fresh.

fozzy71
08-31-2009, 01:14 AM
Whenever you uninstall postgresql it does NOT delete your \data folder. This is so you can reinstall Postgresql and use your existing DB when you have postgresql issues.

Vista: Turn off UAC - http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=73

Turn off Windows Firewall for installing HM and PostgreSQL. Once you get those installed you can add exceptions to the firewall. If you have a 3rd party firewall, uninstall it completely before installing HM/SQL - http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=171

For uninstalling SQL please follow these steps:

1) Uninstall PostgreSQL from the Windows Control Panel.
2) manually delete the Program Files\Postgresql folders
3) run the command - start > run > cmd >

net user postgres /delete
4) reboot.
5) install PostgreSQL again, with your firewall uninstalled or turned off if windows firewall, using these directions and postgresql.zip version. - [url]http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=176

jaysu
08-31-2009, 05:06 PM
Ok thank you, that was very helpful. I have both installed now.

I was having trouble getting hero name to come up but I just realized this was because I needed the beta download, which I now fixed.