KB Article #194882

Migration of logger data into the database is failing

Problem

The B2Bi update script for UP2025-08 or newer fails to import data into the database and the Integrator/solutions/install/log/install.log shows the following errors:


DEBUG :20260829:13.23.40:r4edi(b2bx_7_upgrades):b2bx_7_upgrades.s4:325:Execute command /opt/axway/B2Bi/jre/bin/java … com.axway.integrator.logger.server.MigrationMain
ERROR :20260829:13.23.49:r4edi(b2bx_7_upgrades):b2bx_7_upgrades.s4:281:Unexpected return on PROCESS.WAIT (ExitStatus: 1)
ERROR :20260829:13.23.49:r4edi(b2bx_7_upgrades):b2bx_7_upgrades.s4:234:Attempt to upgrade loggers data failed!
ERROR :20260829:13.23.49:r4edi(b2bx_7_upgrades):b2bx_7_upgrades.s4:136:Upgrades failed
ERROR :20260829:13.23.49:r4edi(b2bx_setup):Failed to run command $CORE_ROOT/bin/r4edi -O $CORE_ROOT/4edi/load -2 /opt/axway/B2Bi/Integrator/solutions/install/log/install.log -3 /opt/axway/B2Bi/Integrator/solutions/install/log/install.log /opt/axway/B2Bi/Integrator/solutions/4edi/pgm/b2bx_7_upgrades.x4 -d -c. $Exit=1
ERROR :20260829:13.23.49:r4edi(b2bx_setup):Failed to execute $CORE_ROOT/bin/r4edi -O $CORE_ROOT/4edi/load /opt/axway/B2Bi/Integrator/solutions/4edi/pgm/b2bx_7_upgrades.x4 -d -c
DEBUG :20260829:13.23.49:r4edi(b2bx_setup):Inactivating configure mode.

Resolution

Since the logs show that the ‘com.axway.integrator.logger.server.MigrationMain’ method is called and a few seconds later the command exits with a status code 1 (meaning failure), there is usually an issue with the permissions for the B2Bi users in the database. Most typically, the B2Bi user is missing access to the DBMS_LOCK module but if this has been validated, other permissions must be verified for the B2Bi version being installed.