Audit Database file open failure
- Last UpdatedOct 04, 2024
- 1 minute read
- PI System
- PI Server
If an Audit Database file cannot be re-opened or created, the associated Data Archive subsystem creates an alternate Audit Database file named pisubsystemAudit~UTCSeconds.dat, where pisubsystem is the name of the associated subsystem and UTCSeconds is the current time expressed in UTC seconds. For example: pisnapssAudit~1003043789.dat.
The subsystem once again attempts to open or create pisubsystemAudit.dat. If this fails again, a new file, using the same format above, is created and used for auditing.
Note: The pisubsystemAudit~UTCSeconds.dat files in the PI\log directory contain valid audit records that are not included in the primary defined Audit Database file. There is no merge function available. To maintain a complete audit trail, you need to store and back up these alternate files.
-
Close the audit files.
-
Immediately copy or move the audit files to a different directory.
-
Re-open the audit files.