Re: General>>it is possible to delete HANSA.HDB when the server is running
Aldevinas Katkus
3-29-23
Some ideas to make it safer:
When we run the server executable with --backup parameter it MUST NOT create a new HANSA.HDB and show a warning that HANSA.HDB is missing, as it seems it has happended in this case.
If HANSA.HDB is missing, then probably we can recover it with some undelete utility.

This happenned (creating of a new DB, importing defaults and then making a backup) when running with --backup:

2023-03-28 17:11:15 (-1) CallHal("DoActiveLanguage")
2023-03-28 17:11:15 (-1) CallHal("DoActiveLanguage")
2023-03-28 17:11:15 (-1) Windows Service version
2023-03-28 17:11:15 (-1) Starting application...
2023-03-28 17:11:15 (-1) 20547 cache sectors added
2023-03-28 17:11:15 (-1) 16384 hash table entries added
2023-03-28 17:11:15 (-1) *** running with new mail receiving and parsing ***
2023-03-28 17:11:15 (-1) *** Using Clock Replacement ***
2023-03-28 17:11:15 (-1) Open database HANSA.HDB

2023-03-28 17:11:15 (-1) *** using a freelist to keep track of free space ***
2023-03-28 17:11:15 (-1) *** RELOAD LANGUAGES ***
2023-03-28 17:11:15 (-1) CallHal("DoActiveLanguage")

2023-03-28 17:11:15 (-1) done importing tag "" starting with tag "tb", 0 RLinks in the database

2023-03-28 17:11:15 (-1) done importing tag "tb" starting with tag "format", 0 RLinks in the database
....
2023-03-28 17:11:16 (-1) HAL Files detected. Enabler missing, call support
2023-03-28 17:11:16 (-1) CallHal("LoadWindowTags")
2023-03-28 17:11:16 (-1) Server process running
2023-03-28 17:11:16 (-1) CallHal("FindService")
2023-03-28 17:11:16 (-1) ENABLER: get functionality SERVICE_SMTPSERVER already resolved to 0
2023-03-28 17:11:16 (-1) 8.5 2021-11-02 (build 85420021)
2023-03-28 17:11:16 (-1) /THREAD(1) Starting Mail sender

2023-03-28 17:11:16 (-1) *** Running with Local Backups, plan level 0 ***
2023-03-28 17:11:16 (-1) Exporting Text Backup
2023-03-28 17:11:16 (0) Services Cache 2
2023-03-28 17:11:16 (0) EnablerFileStateVc 3
2023-03-28 17:11:16 (0) Exporting old records
2023-03-28 17:11:16 (-1) Backup completed
2023-03-28 17:11:16 (-1) Duration in seconds: 0
2023-03-28 17:11:16 (-1) Done Exporting Text Backup


Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
David Delač
Hi Piotr, The log entry:
2024-12-14 08:40:43 0.000 CallHal(IsHansaWorldCustomer) appears because the server is running with the verbosity=debug-detailed setting in its parameters.txt file. Thi...
09:43 16 Dec 2024
Brittany McGrath
Hi Vaughn, I can confirm this has been fixed now and is live in Standard ERP 2024-11-20 Version: 85556786. Thank you. ...
10:04 10 Dec 2024