Author: Adam Leszczyński <aleszczynski@bersler.com>, version: 1.9.0, date: 2026-02-13 |
Messages below indicate errors that occur at runtime. Each message includes an error code to simplify lookup and troubleshooting.
The file is missing or cannot be opened for reading. Check that the file exists and permissions are correct. Inspect OS logs and verify filesystem integrity.
Failed to obtain an exclusive lock on the file.
Another process may be using the file (for example, another OpenLogReplicator instance).
Use lsof or platform tools to find open handles.
|
Tip
|
You can list file handles using operating system |
Failed to read file metadata. Verify the file is not corrupted and OS logs for related errors.
File size is unexpected (too large or zero). Verify the file integrity.
A read returned fewer bytes than expected. Check filesystem health and device availability.
Failed to open the file for writing. If the file should be created, verify directory write permissions.
code 10007: "file: <file name> - <number> bytes written instead of <number>, code returned: <message>"
A write operation completed with fewer bytes than expected. Confirm disk space and filesystem health.
Apple/iOS: setting the file to no-cache mode failed. Verify permissions and file integrity and consult OS logs.
Repeated attempts to open the file failed. Verify path, permissions and whether another process holds the file.
File removal failed. Verify permissions and whether the file is in use.
File seek failed. Check file validity and OS logs.
Failed to read directory contents. Verify path and permissions.
Thread creation failed. Verify OS thread limits and resource usage.
A thread stacktrace is printed when the program is terminated by a signal.
|
Tip
|
A stacktrace can be forced by sending SIGUSR1 to the process. |
Program received a terminating signal; the signal name is printed.
Memory allocation failed.
Verify min-mb/max-mb settings and available system memory.
The configured memory limits are insufficient to process the current stream.
Adjust max-mb or reduce workload.
|
Tip
|
Increase |
Heap allocation failed. Confirm host memory availability.
|
Important
|
Some allocations occur outside the memory pool (for example, schema copies) and may fail independently of |
Binaries were built with an incomplete regex implementation. Rebuild with GCC 4.9+.
Running as root is not recommended. Run as an unprivileged user to reduce security risks.
|
Note
|
Even in test environments, avoid running as root. |
The source database must run in ARCHIVELOG mode. See installation instructions.
Minimal supplemental logging is not enabled. Configure supplemental logging as described in the installation guide.
Querying SYS.V_$DATABASE returned no rows.
Ensure the database user has privileges to read that view.
Positioning by time requires the source to be a primary database. Start replication on the primary and later switch to the standby if required.
Conversion of the provided timestamp to SCN using failed. Verify the timestamp and database support for TIMESTAMP_TO_SCN or provide SCN value for start-up.
Relative-time positioning requires a primary database. Start on primary and switch to standby afterwards. Read more about standby configuration.
No member of the online redo log group is available for reading. Verify path mappings and permissions.
Offline reader started without a starting sequence. Check startup parameters.
Query to read the current SCN failed. Ensure the database is reachable.
Query to determine the sequence for the provided SCN failed. Check database availability.
Failed to determine the starting SCN. Verify database availability; report if persistent.
Failed to read the specified database parameter. Verify the parameter name and database access.
Failed to read the specified database property. Verify the property and privileges.
The configured user lacks privileges to read the specified table. Ensure the grant script ran successfully.
When using the online reader at startup, the full schema is read using flashback queries for the provided SCN.
The flashback query failed.
Ensure the database is available and the SCN is within retention.
|
Tip
|
Perform initial replication during a less active period or use a database copy. |
The standby redo log file list couldn’t be read. Verify database availability.
The online redo log file list couldn’t be read. Verify database availability and privileges.
Invalid data read from system dictionaries. Please report this issue.
Failed to update the online redo logs list for the given path. Verify files and permissions.
Offline reader started without a schema file. Provide a valid schema file with correct permissions.
A primary-key column defined in configuration is missing from the table definition. Verify table schema and configuration.
The database character set is unsupported. Report the issue.
Offline mode requires archived redo log locations in the checkpoint file. Add the locations and retry.
The provided resetlogs value is not in the available incarnations. Verify the checkpoint file and resetlogs value.
The national character set is unsupported. Report the issue.
Processing an archived redo log failed. Verify file integrity and permissions.
Unknown error while processing an archived redo log. Please report this issue.
Unknown error while processing an online redo log. Please report this issue.
Failed to initialize the OCI client. Confirm the database client is installed and configured.
Database connection error. Ensure the database is reachable and credentials are valid.
Schema is absent for batch mode.
If you want to run without schema information, use schemaless mode (flags: 2).
Received an incomplete client message. Verify client implementation and network reliability.
Kafka returned a fatal error. Verify Kafka availability and network.
Failed to create Kafka configuration. Validate Kafka parameters.
Failed to create Kafka producer. Verify broker and configuration.
Generic network error. Check network and system logs.
Network connection to the given URI failed. Verify connectivity.
ZeroMQ client connection failed. Verify server availability.
ZeroMQ failed to bind to the socket. Ensure the port is free and server has permission.
ZeroMQ context creation failed. Ensure the library is installed.
ZeroMQ socket initialization failed. Check library and parameters.
A leftover swap file from a previous run was deleted.
DBTIMEZONE contains an invalid value.
Report if unexpected.
Invalid timestamp value encountered. Report if unexpected.
The environment variable OLR_LOG_TIMEZONE has an invalid value.