Identify the issue

ARTIFACTORY: How to resolve the oracle DB driver error with metadata service after upgrading to version 7.55.x and above in kubernetes with splitServicesToContainers

AuthorFullName__c
Paul Pan
articleNumber
000005956
ft:sourceType
Salesforce
FirstPublishedDate
2024-01-04T19:45:25Z
lastModifiedDate
2024-01-04
VersionNumber
2
If you do see the above error with splitServicesToContainers option enabled, check if your artifactory.preStartCommand in values.yaml looks similar to this:
preStartCommand: "mkdir -p /opt/jfrog/artifactory/var/bootstrap/artifactory/tomcat/lib; cd /opt/jfrog/artifactory/var/bootstrap/artifactory/tomcat/lib && curl -o instantclient-basic-linux.x64-21.8.0.0.0dbru.zip https://download.oracle.com/otn_software/linux/instantclient/218000/instantclient-basic-linux.x64-21.8.0.0.0dbru.zip && unzip -jn instantclient-basic-linux.x64-21.8.0.0.0dbru.zip && cp /opt/jfrog/artifactory/app/artifactory/libaio/* . && ln -s /usr/lib64/libnsl.so.2 /opt/jfrog/artifactory/var/bootstrap/artifactory/tomcat/lib/libnsl.so.1 && ls -lah && rm /opt/jfrog/artifactory/var/bootstrap/artifactory/tomcat/lib/instantclient-basic-linux.x64-21.8.0.0.0dbru.zip && cp * /opt/jfrog/artifactory/app/artifactory/libaio/"

Note that /usr/lib64/libnsl.so.2 has changed location from /usr/lib64 to /opt/jfrog/artifactory/app/artifactory/libaio since artifactory version 7.55.x.The above command will fail to link the lib file. It won’t cause an issue when all the microservices are in the same container as the prestart command would still cp the entire libaio folder, but if you enabled splitServicesToContainers, you might see complaints about missing libraries.