Lenny Senior Member
Joined: January 06 2008
Online Status: Offline Posts: 102
|
Posted: January 17 2015 at 07:10 | IP Logged
|
|
|
Every night I have a timed event that executes a macro that Trims the Eventlog db to 7 days, executes ph_backupdb, waits 2 minutes, executes a script that backs up my custom PH files to local folder then copies them to my File Server for nightly backup and extended retention, 5 minutes later, ph_reinitialize () is executed.
On several occasions now Powerhome doesn't restart correctly. When I log into my server, PH is waiting with the "Connect to SQL Anywhere" dialog with user name waiting for username and password populated. If you click OK, you get the "Master Database" Error dialog, Database Connection Error -81, SQLSTATE = 08001.
I guess I have not paid attention to the code or sqlstate numbers to see if they are consistently the same. I will from now on if it helps.
I do recall 2.1.5a or b having a change to the ph_reinitialize () function, but I don't recall what.
It almost seems like timing issue, as if the database engine isn't fully shut down before it try's to restart it. Without knowing how the code is written for the function it's I'm only guessing.
Dave, Do you have any thoughts?
Dedicated Physical PowerHome Server
Windows 7 SP1 (x64), with all the current Windows Updates
i3 540 @ 3.07GHZ
4GB RAM
Thanks
Lenny
|