Vault service unable to start with error: CVMCM031E Communication error: The I/O operation has been aborted, and in the VaultDB.log: errno=175, io cache code=0

Vault service unable to start with error: CVMCM031E Communication error: The I/O operation has been aborted, and in the VaultDB.log: errno=175, io cache code=0

127
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 13:01 PM


Symptom


The Vault service is not able to start (PrivateArk Server service).
The Database service is also not able to start (PrivateArk Database service).
This might happen in a single Vault, and also in Cluster Vault.
 
The Trace log show the following error:
CVMCM031E Communication error: The I/O operation has been aborted because of either a thread exit or an application request. Code: <system:995>. 
 
The VaultDB.log: 
[ERROR] I/O error reading the header from the binary log, errno=175, io cache code=0 
[ERROR] I/O error reading the header from the binary log 
[ERROR] Can't init tc log 
[ERROR] Aborting 


Environment


10.5;10.10;11.4;11.5;11.6;11.7;12.0;12.2;12.6;13.0 Privileged Access Manager (PAM, self-hosted) Vault

Cause


Error "errno=175, io cache code=0" is a MySQL database error which indicate the database is unable to start, because its binary logs are missing or broken.
This can happen in case there was a network issue (or another fatal shutdown or corruption between the Vault server to the database storage).


Resolution


Fix the binary files which used by the Vault database.
 
These MySQL binaries are saved on the Vault's storage (or shared storage if this is a cluster Vault) 
 
1. In the Vault Storage navigate to: 
\safes\metadata folder
2. Under this location open the binaries indexing file: mysql-bin.index
This file points the Vault which binary files are in use, so in case the last file (or more) has became corrupted, you will need to stop the indexing from pointing to this file.
For example, inside the mysql-bin.index you will find the 2 following records:
.\mysql-bin.000021
.\mysql-bin.000022
3. You will need to delete the last indexing line (.\mysql-bin.000022)
4. Save the file.
5. Start the Database service and the Vault service.
6. In case there is a Vault DR server, once the primary Vault is up and running, initiate a full replication from the DR side.
 
Note: Removing the indexing of the corrupted binary files has no impact on the actual data inside the Vault (it is only being used by the Vault for replication and backup).


Additional Information


Details

SYMPTOM:
 
The Vault service is not able to start (PrivateArk Server service).
The Database service is also not able to start (PrivateArk Database service).
This might happen in a single Vault, and also in Cluster Vault.
 
The Trace log show the following error:
 
CVMCM031E Communication error: The I/O operation has been aborted because of either a thread exit or an application request. Code: <system:995>. 
 
The VaultDB.log: 
[ERROR] I/O error reading the header from the binary log, errno=175, io cache code=0 
[ERROR] I/O error reading the header from the binary log 
[ERROR] Can't init tc log 
[ERROR] Aborting 
 
PROBLEM:
 
Error "errno=175, io cache code=0" is a MySQL database error which indicate the database is unable to start, because its binary logs are missing or broken.
This can happen in case there was a network issue (or another fatal shutdown or corruption between the Vault server to the database storage).
 
 
SOLUTION:
 
Fix the binary files which used by the Vault database.
 
These MySQL binaries are saved on the Vault's storage (or shared storage if this is a cluster Vault) 
 
1. In the Vault Storage navigate to: 
\safes\metadata folder
2. Under this location open the binaries indexing file: mysql-bin.index
This file points the Vault which binary files are in use, so in case the last file (or more) has became corrupted, you will need to stop the indexing from pointing to this file.
For example, inside the mysql-bin.index you will find the 2 following records:
.\mysql-bin.000021
.\mysql-bin.000022
3. You will need to delete the last indexing line (.\mysql-bin.000022)
4. Save the file.
5. Start the Database service and the Vault service.
6. In case there is a Vault DR server, once the primary Vault is up and running, initiate a full replication from the DR side.
 
Note: Removing the indexing of the corrupted binary files has no impact on the actual data inside the Vault (it is only being used by the Vault for replication and backup).
 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000nIUCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail