Subject | Re: [firebird-support] Auto gfix on start |
---|---|
Author | Steve Wiser |
Post date | 2007-01-12T19:42:24Z |
If you are using Classic maybe you could modify the xinetd start and
stop scripts. On startup, xinetd could create a file letting the system
know that it started and on stop it could remove the file. If xinetd
tries to start and the file is already there then it could run gfix. I
know it... It is a hack, but it may work in your situation...
-steve
Rick Debay wrote:
stop scripts. On startup, xinetd could create a file letting the system
know that it started and on stop it could remove the file. If xinetd
tries to start and the file is already there then it could run gfix. I
know it... It is a hack, but it may work in your situation...
-steve
Rick Debay wrote:
>
> We have occasional power outages, and our server UPS is vastly
> undersized (literally seconds of uptime). I've been turned down on
> getting a larger one, so all I can do is try to repair the damage after
> the fact.
>
> I'm trying to figure out how to automatically run gfix to validate a
> database, if it was not closed cleanly. The solution needs to work on
> Linux (Redhat and Suse). Does anyone have any suggestions?
>
> Rick DeBay
>
> Disclaimer: This message (including attachments) is confidential and
> may be privileged. If you have received it by mistake please notify
> the sender by return e-mail and delete this message from your system.
> Any unauthorized use or dissemination of this message in whole or in
> part is strictly prohibited. Please note that e-mails are susceptible
> to change. RxStrategies, Inc. shall not be liable for the improper or
> incomplete transmission of the information contained in this
> communication or for any delay in its receipt or damage to your
> system. RxStrategies, Inc. does not guarantee that the integrity of
> this communication has been maintained nor that this communication is
> free from viruses, interceptions or interference.
>
>