PDA

View Full Version : HM doesnt start



TyCuS
07-08-2009, 08:54 PM
Windows XP
Version: 1.09 beta 13

Yesterday I played perfectly (beta 13) and today when I try to run it when HM is initializing stays there and nothing happens (I have to close it with task manager).

I have tried also with beta 14a and with 1.08.04 and nothing works.

I could reinstall, but will I lose my notes? Without entering in HM how can I do a backup of my notes? I have done the backup of config folder.

Thanks.

fozzy71
07-09-2009, 12:32 AM
I am opying my basic's for everything except reinstalling SQL. You should be able to uninstall HM and re-install it, and connect to your existing PostgreSQL Server and Database. If you ever need cliff notes for reinstalling SQL just ask.



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


Before you uninstall HM:

I want to re-install Holdem Manger without losing all of my settings and preferences. Can this be done? (http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=98)


How do I re-install PostgreSQL and use a previous database? (http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=177)


How do I backup and restore my database? (http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=12)


How do I export or import hands into and from Holdem Manager? (http://www.holdemmanager.net/faq/afmviewfaq.aspx?faqid=173)



You want to make sure you backup your Processed/Archived hand histories, your entire \config folder, and your exportednotes file. (http://www.holdemmanager.net/faq/?f=119) I usually just copy my entire \Holdem Manager directory. It is also a good idea to export any non-default HUD configs you have created to XML file.

I would also make sure you manually export the database to hand history text files:

HM > Options > Database Management > Connect > Export Hands

Make sure you copy that folder as well as the other stuff I mentioned.

This helps to insure that if anything goes wrong with the backup/restore, you can manually import the exported files to rebuild.




Logging:

I would suggest you turn off logging on your new SQL installation as well as these other performance improvements - Top 10: HEM performance increase tips
(http://208.109.95.123/forum/showthread.php?p=62613&posted=1#post62613)

To turn off logging, follow these instructions. This is the first thing I do anytime I install SQL for someone.

- Start > My Computer > Tools > Folder Options > View > UnCheck 'Hide Extensions for known file types' > OK

- C:\Program Files\PostgreSQL\data\postgresql.conf > Right-Click > Open With.. > NotePad > Check 'Always use this program'

- Scroll about half way down to ~Lines 245 - 260:

- The last line of this block of code, for the 'logging_collector', must be changed from On to Off.


------------------------------------------------------------------------------
# ERROR REPORTING AND LOGGING
#------------------------------------------------------------------------------

# - Where to Log -

log_destination = 'stderr' # Valid values are combinations of
# stderr, csvlog, syslog and eventlog,
# depending on platform. csvlog
# requires logging_collector to be on.

# This is used when logging to stderr:
logging_collector = off # Enable capturing of stderr and csvlog

File > Save; File > Close

Start > Programs > PostgreSQL 8.3 > Reload Configuration.

*edit:
- Start > My Computer > C:\Program Files\PostgreSQL\data\pg_log, or C:\Program Files (x86)\PostgreSQL\data\pg_log, if you have 64 bit Vista. Delete all files in that folder. And it might be a good idea to empty your recycle bin at that point, or use a 3rd party utility like CCleaner to clean up all your junk/temporary files. You want to do this before you get to the vacuum and defrag process.


Installing HM:

When reinstalling HM, install the full setup, then the latest beta patch and finally paste in your config files: prefs.xml, pospref.txt, pospref2.txt, and any non-default POP files (custom popups). Because you are going from XP to Vista, and your file structure will be different for many things, you do nOT want to copy your old HoldemManager.config file to the new install. Then the only thing left would be importing your exported notes. Your HUD should be the same as it was.

TyCuS
07-09-2009, 01:23 AM
Thanks, the problem IS the firewall (OutPost). I have to close it because if I try to disable auto-protection, or disable firewall, or stop the program, I still cant open HM so I have to close it. Besides, I added to allow full activity to postgres and HM (some files .exe) and nothing, and added too to excepcion for auto-protection and still not going.

I dont really know why this is happening now, but I think that Im going to uninstall it :!

Thanks again :)