PDA

View Full Version : postgresql 8.4 can not be installed



abam
11-19-2009, 12:50 AM
Hi,

I had a database for postgre but I deleted it (deleted postgre folder).

I did everything as written here to install new database http://forums.holdemmanager.com/showthread.php?t=20755 including downloading 8.4 postgre but it says in the end after installing(unpacking) everything 'sorry, postgre cannot be installed'.

When I try to install postgre 8.3 it says that database already exists however I deleted it and windows search doesnt find any postgre folders!

Patvs
11-19-2009, 01:07 AM
click on Start and go to Programs -> Accessories -> Command Prompt

* If you are on Vista, rightclick and choose "Run as Administrator".


A black box should appear. Type 'net user postgres /del' (without the quotes) and press enter.

The user is now deleted and you can (re)install PostgreSQL.

abam
11-19-2009, 01:21 AM
thanks a lot for your response, but

now it says something like internal error of searching accounts and something about security codes.

p.s. it says in Russian so not sure it's exactly so in english

abam
11-19-2009, 01:30 AM
p.s. installing 8.3

Patvs
11-19-2009, 01:46 AM
You need to do -2 things.
-1 completely delete the postgres user account.
Simply uninstalling PostgreSQL, or deleting the PostgreSQL folder will NOT accomplish that.

So try the 'net user postgres /delete' again at the DOS prompt.

-2 Please try this PostgreSQL version: http://www.holdemmanager.com/downloads/pginstaller.exe (it's our new installer!)

---

If you used "postgrespass" during installation before as a password, you could also ignore the "database already exists" error and try to install PostgreSQL again with the exact same settings as your previous database.

abam
11-19-2009, 02:48 AM
i'm doing the following:

1)start -> run -> cmd -> 'net user postgres /delete'

It works as when I retype it it says noo users found so it deletes my database.

2) doouble check there is no postgre folders and at control panel there is no postgre in installed programms.

3) download postgreSQL installation from this link http://www.holdemmanager.com/downloads/pginstaller.exe

and run it. it starts unpacking and installing files and when it almost done the following message appears:

'sorry, can't install postgre ( with no error code or whatever).

Installation end with a black screen (same like in cmd with password postgrepass and username postgre).

When I check C/Program files after the installation of postgre 8.4 (which fails with a message 'sorry, can't install postgre') there is folder postgresql created though.

4) I install holdemmanager (latest version from this site) and it asks me to connect to postgresql. I leave everything default, click on connect and the following message appears:

'a connection with postgresql could not be made. Would you like to make holdemmanager attempt to start the service?'

i click on yes and it says 'sorry, holdemmanager was unable to start the service'.


So please help as I have purchased a license today:)

Patvs
11-19-2009, 02:56 AM
Check the following three things:

-1 Is the secondary logon service started? You need to start it via control panel > administrative tools > services. (and find: secondary logon)

-2 Please verify that UAC (user account control) is still off. - http://www.holdemmanager.net/faq/afmmain.aspx?faqid=73. If it is on, please turn it off and reboot.

-3 Do this http://holdemmanager.net/forum/showthread.php?t=8182 (checking your .hosts file)


Which Windows version are you using? Also install Microsoft .Net Framework 3.5
1) Go to Control Panel -> Add/Remove Software and uninstall every Microsoft .NET Framework you can find in the list
2) Install this one: http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe

Uninstall (or disable) a antivirus program /Windows Defender / and forward (open) port 5432 in your firewall.
Test if you can manually start the SQL server, by clicking Start-->PostgreSQL--->Start Server (also try restart server)

More help:
http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=171
http://forums.holdemmanager.com/showthread.php?t=8261

abam
11-19-2009, 04:52 AM
Hi,

UAC is off and also secondary logon service is started.

I believe that postgresql doesnt install in proper way

abam
11-19-2009, 12:37 PM
any ideas?

Patvs
11-19-2009, 01:14 PM
pm sent