IBM Support

0518-506 odmget: Cannot open object class

Troubleshooting


Problem

Customers running commands experiencing the following ODM errors:
1.) 0518-506 odmget: Cannot open object class 
2.) cfgmgr: 0514-603 Cannot access the object class in the device configuration database.

Symptom

Errors related to failure to open or access various ODM classes:

CDiagAtt          CuAtDef.vc        CuDvDr            CuVPD             FRUB_SRC          PDiagDev.vc       PDiagRes          PDiagTask.vc      PdDv.vc           SRCsubsys         crypto_module.vc  inventory.vc      raid_instruct

CDiagAtt.vc       CuAtSav           CuLk              CuWxt             FRUs              PDiagELA          PDiagRes.vc       PdAt              PdPathAt          SWservAt          diag_lock         lpp               raid_method

CDiagDev          CuAtSav.vc        CuLk.vc           DAVars            FRUs_src          PDiagELA.vc       PDiagSRN          PdAt.vc           PdPathAt.vc       SWservAt.vc       diag_log_lock     lpp.vc            raid_obj_class

Config_Rules      CuData            CuPath            DSMOptions        MenuGoal          PDiagFRU          PDiagSRN.vc       PdAtXtd           SRCextmeth        TMInput           errnotify         product

CuAt              CuData.vc         CuPath.vc         DSMOptions.vc     PDiagAtt          PDiagFRU.vc       PDiagTU           PdAtXtd.vc        SRCnotify         backup            history           product.vc

CuAt.vc           CuDep             CuPathAt          DSMenu            PDiagAtt.vc       PDiagMcode        PDiagTU.vc        PdCn              SRCodmlock        config_lock       history.vc        raid_attribute

CuAtDef           CuDv              CuPathAt.vc       FRUB              PDiagDev          PDiagMcode.vc     PDiagTask         PdDv              SRCsubsvr         crypto_module     inventory         raid_create_type

Cause

Customer has removed, or caused to be removed the /etc/environment file.
OR
Customer has removed, or caused to be removed from within the /etc/environment file the line:
ODMDIR=/etc/objrepos

Environment

Any version or release of AIX.

Diagnosing The Problem

ODM commands and methods are unable to access or open any ODM classes.

Resolving The Problem

Restore the line in the /etc/environment file:
ODMDIR=/etc/objrepos
All ODM libraries and commands expect this to remain set in the environment and will fail without it.

Document Location

Worldwide

[{"Line of Business":{"code":"LOB08","label":"Cognitive Systems"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG10","label":"AIX"},"ARM Category":[{"code":"a8m0z0000001fMuAAI","label":"AIX General Support"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Document Information

Modified date:
01 September 2020

UID

ibm16325395