EM 12c : Upgrade Failed Due to Software Library Unavailable 'Error is None of the active upload storage locations in Software Library are accessible'

(Doc ID 2023876.1)

Last updated on AUGUST 09, 2017

Applies to:

Enterprise Manager Base Platform - Version 12.1.0.1.0 and later
Information in this document applies to any platform.

Symptoms

Upgrading from 12.1.0.4 .0 to 12.1.0.5.0. Upgrade has been failed at 72% with the following exception

2015-06-18 04:03:20,429 [main] ERROR sysman.CorePostMRSLogger logp.251 - EMMetadataRegistrationFailureException occurred for Directory /d01/oracle/em/oms12cr5/oms/sysman/metadata/swlib MRS EMMetadataServiceInfo: Name: Software Library Id: swlib Parser class: oracle.sysman.swlib.impl.component.metadata.MetadataParser XSD name: oracle/sysman/emgc/provision/impl/component/metadata/schema/swlib.xsd Jar file locations: oui/jlib/emCfg.jar: Plugin XML Location: swlib SDK Level: partner Description: Parser for Software Library metadata registration Registration mode: POST_REP_SCHEMA_DIR Weight: 500 SubSystemId: SoftwareLibrary InvokeOnlyForFirstOMS: false ResourceFileSuffixs: [] isThreadSafe: false isPrevVerMetadataIncluded: false Error is None of the active upload storage locations in Software Library are accessible.
oracle.sysman.emSDK.core.extensibility.metadata.EMMetadataRegistrationFailureException: EMMetadataRegistrationFailureException occurred for Directory /d01/oracle/em/oms12cr5/oms/sysman/metadata/swlib MRS EMMetadataServiceInfo: Name: Software Library Id: swlib Parser class: oracle.sysman.swlib.impl.component.metadata.MetadataParser XSD name: oracle/sysman/emgc/provision/impl/component/metadata/schema/swlib.xsd Jar file locations: oui/jlib/emCfg.jar: Plugin XML Location: swlib SDK Level: partner Description: Parser for Software Library metadata registration Registration mode: POST_REP_SCHEMA_DIR Weight: 500 SubSystemId: SoftwareLibrary InvokeOnlyForFirstOMS: false ResourceFileSuffixs: [] isThreadSafe: false isPrevVerMetadataIncluded: false Error is None of the active upload storage locations in Software Library are accessible.
at oracle.sysman.core.common.extensibility.metadata.EMMetadataServiceInfo.parseMdInstance(EMMetadataServiceInfo.java:946)
at oracle.sysman.core.common.extensibility.metadata.EMMetadataServiceInfo.registerPostRepSchemaMetadata(EMMetadataServiceInfo.java:389)
at oracle.sysman.core.common.extensibility.metadata.EMMetadataServiceInfo.registerMetadataForPlugin(EMMetadataServiceInfo.java:328)
at oracle.sysman.core.common.extensibility.metadata.MRSExecutor.run(MRSExecutor.java:96)
at oracle.sysman.util.threadPoolManager.WorkerThread.run(Worker.java:311)
Caused by:
oracle.sysman.emSDK.core.extensibility.metadata.EMMetadataRegistrationFailureException: None of the active upload storage locations in Software Library are accessible.

OMS_HOME/cfgtoollogs/omsca_20150618035554.log reports following exception

Starting server EMGC_OMS1 ....................................
Server with name EMGC_OMS1 started successfully
..
Jun 18, 2015 3:58:39 AM oracle.sysman.omsca.util.handler.XMLActionExtractor extractXMLActions
SEVERE: Exception:
Throwable occurred: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:447)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:388)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:232)
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:111)
at oracle.sysman.omsca.util.handler.XMLActionExtractor.extractXMLActions(XMLActionExtractor.java:164)
at oracle.sysman.omsca.util.handler.DescriptorModifier.extractAllActions(DescriptorModifier.java:67)
at oracle.sysman.omsca.core.Core11gR1EMOMSConfigAssistant.mergeArtifact(Core11gR1EMOMSConfigAssistant.java:1584)
at oracle.sysman.omsca.core.Core11gR1EMOMSConfigAssistant.doPreDeployConfig(Core11gR1EMOMSConfigAssistant.java:410)
at oracle.sysman.omsca.framework.OMSGenericAdapter.preDeploy(OMSGenericAdapter.java:592)
at oracle.sysman.omsca.framework.OMSCAUpgradeInstall.execute(OMSCAUpgradeInstall.java:375)
at oracle.sysman.omsca.framework.OMSConfigAssistantDriver.main(OMSConfigAssistantDriver.java:240)
Jun 18, 2015 3:58:39 AM oracle.sysman.omsca.core.Core11gR1EMOMSConfigAssistant mergeArtifact
SEVERE: Exception occurred in EMInstallHandler.preInstall() : oracle.xml.parser.v2.XMLParseException: Start of root element expected.
Jun 18, 2015 3:58:39 AM oracle.sysman.omsca.core.Core11gR1EMOMSConfigAssistant mergeArtifact
SEVERE: Exception trace
Throwable occurred: oracle.xml.parser.v2.XMLParseException: Start of root element expected.
at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:323)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:447)

OMS_HOME/cfgtoollogs/cfgfw/CfmLogger_2015-06-18_02-29-39-AM.log reports the following exception

INFO: oracle.sysman.top.oms:Post "Deploy and Repos Setup" operations completed successfully.
INFO: oracle.sysman.top.oms:
INFO: oracle.sysman.top.oms:Performing Post deploy operations ....
INFO: oracle.sysman.top.oms:None of the active upload storage locations in Software Library are accessible.
INFO: oracle.sysman.top.oms:oracle.sysman.emSDK.core.extensibility.metadata.EMMetadataRegistrationFailureException: EMMetadataRegistrationFailureException occurred for Directory /d01/oracle/em/oms12cr5/oms/sysman/metadata/swlib MRS EMMetadataServiceInfo: Name: Software Library Id: swlib Parser class: oracle.sysman.swlib.impl.component.metadata.MetadataParser XSD name: oracle/sysman/emgc/provision/impl/component/metadata/schema/swlib.xsd Jar file locations: oui/jlib/emCfg.jar: Plugin XML Location: swlib SDK Level: partner Description: Parser for Software Library metadata registration Registration mode: POST_REP_SCHEMA_DIR Weight: 500 SubSystemId: SoftwareLibrary InvokeOnlyForFirstOMS: false ResourceFileSuffixs: [] isThreadSafe: false isPrevVerMetadataIncluded: false Error is None of the active upload storage locations in Software Library are accessible.
..
Caused by:
oracle.sysman.emSDK.core.extensibility.metadata.EMMetadataRegistrationFailureException: None of the active upload storage locations in Software Library are accessible.



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms