SAP Adapter server move - regutil error opening base key: can't find the $CALIB directory
search cancel

SAP Adapter server move - regutil error opening base key: can't find the $CALIB directory

book

Article ID: 212986

calendar_today

Updated On:

Products

CA Workload Automation AE - Scheduler (AutoSys)

Issue/Introduction

we are trying to move the sap adapter to a new RHEL 7 system.   We were hoping we could just copy the files but now we are getting this error when trying to bring up casapjmacfg

 

$ ./casapjmacfg
regutil error opening base key: can't find the $CALIB directory.
regutil error opening base key: can't find the $CALIB directory.
cacmnjni System.loadLibrary(cacmnjni_64); UnsatisfiedLinkError
Exception in thread "main" java.lang.UnsatisfiedLinkError: com.ca.common.cacmnjni.getenv(Ljava/lang/String;)Ljava/lang/String;
        at com.ca.common.cacmnjni.getenv(Native Method)
        at com.ca.common.CaTools.getenvIntegerValue(Unknown Source)
        at com.ca.common.trace.setDefaultEnv(Unknown Source)
        at com.ca.sap.casapcfg.casapcfg.main(Unknown Source)

 

but CALIB is set
$ echo $CALIB
/opt/CA/SharedComponents/lib

Environment

Release : 11.3.6

Component : CA Workload Automation AE (AutoSys)

Resolution

Version 3.2 sp3 supports Redhat 7.

As for the errors, ensure the environment variables required are set.

Items like CASHCOMP, CALIB, SAPDIR, PATH, LD_LIBRARY_PATH