dbTalk Databases Forums  

Error 46 while PBA is running

comp.databases.btrieve comp.databases.btrieve


Discuss Error 46 while PBA is running in the comp.databases.btrieve forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
nmm
 
Posts: n/a

Default Error 46 while PBA is running - 06-22-2007 , 02:52 AM






Hallo Btrivieans!

we observed, that on a sertain installation of PSQL 8.1, while running the
backup-Agent, we get Btrieve-Error 46 on add-record-commands.

The situation is following:

the application is a btrieve-app.
While BA is on, there runs a backup of all files except *.^^^. The Backup is
performed by Backupexec.
(The procedure runs every day statring BA at 23:50, Backup at 0:05 an stopp BA
at 1:55 h)

Open file for (say) DVSALL.DAT returns status 0 - in the PBA-log appear the
statement: BA is now on for the file DVSALL.DAT.
An add record-command now returns error 46.

Unfortunately the error appear not allways, only once a month or so.

Any idea, what here happns?
Any hint will be welcome!

Thanks in advance

Mircea

Reply With Quote
  #2  
Old   
Bill Bach
 
Posts: n/a

Default Re: Error 46 while PBA is running - 06-22-2007 , 09:33 AM






Status 46's of this nature are usually caused by running into an
AntiVirus or Backup process. Tell your AV solution to avoid scanning
the Btrieve files (either by directory or extension). Then, make sure
that all users are out of the system before backup, and that the backup
finished BEFORE the users come back in.

If you are running Backup Agent and getting the message you indicated,
this means that the file was NOT open at the beginning of the backup,
but was opened later on. My guess is that the file happens to be
CURRENTLY backed up when BA tries to put it into continuous mode. This
is the primary reason that I keep asking Pervasive to add a white-list
feature to the Backup Agent.

If you would like to avoid this problem, our HoldOpen tool can help by
implementing a white-list, when implemented along with the Backup
Agent. Alternatively, you can build your own HoldOpen-like script by
doing a BUTIL -STAT of all files immediately after activating the
Backup Agent.
Goldstar Software Inc.
Pervasive-based Products, Training & Services
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Chicago: Pervasive Service & Support Class - 08/28/2007 ***


nmm wrote:

Quote:
Hallo Btrivieans!

we observed, that on a sertain installation of PSQL 8.1, while
running the backup-Agent, we get Btrieve-Error 46 on
add-record-commands.

The situation is following:

the application is a btrieve-app.
While BA is on, there runs a backup of all files except *.^^^. The
Backup is performed by Backupexec.
(The procedure runs every day statring BA at 23:50, Backup at 0:05 an
stopp BA at 1:55 h)

Open file for (say) DVSALL.DAT returns status 0 - in the PBA-log
appear the statement: BA is now on for the file DVSALL.DAT.
An add record-command now returns error 46.

Unfortunately the error appear not allways, only once a month or so.

Any idea, what here happns?
Any hint will be welcome!

Thanks in advance

Mircea


Reply With Quote
  #3  
Old   
nmm
 
Posts: n/a

Default Re: Error 46 while PBA is running - 07-09-2007 , 03:02 PM



Thanx Mr. Bach! we excluded "*.dat"(our Btrieve-Files are named that way) and
"*.^^^" from scanning and it seems, that error 46 has gone.

Regards from Jena
Mircea


Bill Bach schrieb:
Quote:
Status 46's of this nature are usually caused by running into an
AntiVirus or Backup process. Tell your AV solution to avoid scanning
the Btrieve files (either by directory or extension). Then, make sure
that all users are out of the system before backup, and that the backup
finished BEFORE the users come back in.

If you are running Backup Agent and getting the message you indicated,
this means that the file was NOT open at the beginning of the backup,
but was opened later on. My guess is that the file happens to be
CURRENTLY backed up when BA tries to put it into continuous mode. This
is the primary reason that I keep asking Pervasive to add a white-list
feature to the Backup Agent.

If you would like to avoid this problem, our HoldOpen tool can help by
implementing a white-list, when implemented along with the Backup
Agent. Alternatively, you can build your own HoldOpen-like script by
doing a BUTIL -STAT of all files immediately after activating the
Backup Agent.
Goldstar Software Inc.
Pervasive-based Products, Training & Services
Bill Bach
BillBach (AT) goldstarsoftware (DOT) com
http://www.goldstarsoftware.com
*** Chicago: Pervasive Service & Support Class - 08/28/2007 ***


nmm wrote:

Hallo Btrivieans!

we observed, that on a sertain installation of PSQL 8.1, while
running the backup-Agent, we get Btrieve-Error 46 on
add-record-commands.

The situation is following:

the application is a btrieve-app.
While BA is on, there runs a backup of all files except *.^^^. The
Backup is performed by Backupexec.
(The procedure runs every day statring BA at 23:50, Backup at 0:05 an
stopp BA at 1:55 h)

Open file for (say) DVSALL.DAT returns status 0 - in the PBA-log
appear the statement: BA is now on for the file DVSALL.DAT.
An add record-command now returns error 46.

Unfortunately the error appear not allways, only once a month or so.

Any idea, what here happns?
Any hint will be welcome!

Thanks in advance

Mircea


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.