cancel
Showing results for 
Search instead for 
Did you mean: 

Import Error

Former Member
0 Kudos

Hello gurus ,

   Our Env is

OS : Sun solaris Sparc 64 bit

  DB : Oracle 10 g

SAP : ECC 6 EHP 3

  We were trying to upgrade EHP 3 to EHP 6. We are taking the export of our PRD system , which later we want to import in DEV system.

But while taking the export of PRD we are getting following error as shown in below. But its look strange as the error is pointing to OracleClient 11 but we never used ORA 11 in our landscape.

please find the error message :

/pool/RP1 -ssprops=/usr/sap/RP1/SYS/global/security/data/SecStore.properties -ssk=/usr/sap/RP1/SYS/global/security/data/SecStore.key" finished with return code 64. Output:

java version "1.4.2_34"

Java(TM) 2 Runtime Environment, Standard Edition (build 4.1.033)

SAP Java Server VM (build 4.1.033 23.5-b02, Jul 11 2013 02:03:16 - 41_REL - optU - solaris sparc - 6 - bas2:200035 (mixed mode))

Warning : /oracle/client/11x_64/instantclient/ojdbc14.jar file stated but does not exist !

ERROR 2013-11-26 16:03:46.873

FJS-00003 uncaught exception: nw.usageTypes.utlConnectionError:

Execution of UTL tool '/tmp/sapinst_instdir/BS2005/ERP60SR3/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/sapjvm_4/sapjvm_4/bin/java -classpath /usr/sap/RP1/SYS/global/sltools/sharedlib/launcher.jar -showversion -Xmx256m -d64 com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain /usr/sap/RP1/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/RP1/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/RP1/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/RP1/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/RP1/SYS/global/security/lib/tools/w3c_http.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/sap.com~sl.ut.infoprovider_lib.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/sap.com~sl.ut.manager.offline.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/antlr.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/exception.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/jddi.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/logging.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/offlineconfiguration.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/opensqlsta.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/sap.com~tc~sdt~cvl~impl.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/SDMutil.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/SLUtil.jar:/oracle/client/11x_64/instantclient/ojdbc14.jar -export -type=keydb -expfile=/tmp/sapinst_instdir/BS2005/ERP60SR3/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/usages_data.xml -log=UTL_load_usages.log -sid=RP1 -dsn=jdbc/pool/RP1 -ssprops=/usr/sap/RP1/SYS/global/security/data/SecStore.properties -ssk=/usr/sap/RP1/SYS/global/security/data/SecStore.key' aborts with return code 64 due to a database connection error. DIAGNOSIS: The connection parameters are wrong or the database server has been shut down. SOLUTION: Check 'UTL_load_usages.log' and '/tmp/sapinst_instdir/BS2005/ERP60SR3/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/UTL.java.log' for more information. (in script unknown, line 0: ???)

ERROR 2013-11-26 16:03:47.633

FCO-00011 The step getUsageTypes with step key |NW_Export|ind|ind|ind|ind|0|0|NW_Java_Export_Dialog|ind|ind|ind|ind|javaUnload|0|getUsageTypes was executed with status ERROR ( Last error reported by the step: uncaught exception: nw.usageTypes.utlConnectionError:

Execution of UTL tool '/tmp/sapinst_instdir/BS2005/ERP60SR3/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/sapjvm_4/sapjvm_4/bin/java -classpath /usr/sap/RP1/SYS/global/sltools/sharedlib/launcher.jar -showversion -Xmx256m -d64 com.sap.engine.offline.OfflineToolStart com.sap.sl.ut.manager.UtlMain /usr/sap/RP1/SYS/global/security/lib/tools/iaik_jce.jar:/usr/sap/RP1/SYS/global/security/lib/tools/iaik_jsse.jar:/usr/sap/RP1/SYS/global/security/lib/tools/iaik_smime.jar:/usr/sap/RP1/SYS/global/security/lib/tools/iaik_ssl.jar:/usr/sap/RP1/SYS/global/security/lib/tools/w3c_http.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/sap.com~sl.ut.infoprovider_lib.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/sap.com~sl.ut.manager.offline.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/antlr.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/exception.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/jddi.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/logging.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/offlineconfiguration.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/opensqlsta.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/tc_sec_secstorefs.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/sap.com~tc~sdt~cvl~impl.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/SDMutil.jar:/usr/sap/RP1/SYS/global/sltools/sharedlib/SLUtil.jar:/oracle/client/11x_64/instantclient/ojdbc14.jar -export -type=keydb -expfile=/tmp/sapinst_instdir/BS2005/ERP60SR3/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/usages_data.xml -log=UTL_load_usages.log -sid=RP1 -dsn=jdbc/pool/RP1 -ssprops=/usr/sap/RP1/SYS/global/security/data/SecStore.properties -ssk=/usr/sap/RP1/SYS/global/security/data/SecStore.key' aborts with return code 64 due to a database connection error. DIAGNOSIS: The connection parameters are wrong or the database server has been shut down. SOLUTION: Check 'UTL_load_usages.log' and '/tmp/sapinst_instdir/BS2005/ERP60SR3/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/UTL.java.log' for more information. (in script unknown, line 0: ???)).

INFO 2013-11-26 16:03:47.775

Creating file /tmp/sapinst_instdir/BS2005/ERP60SR3/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/__instana_tmp.xml.

vish

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello SAP

I faced and SOLVED this issue

MAIN_SHDINST/SHDALIASCRE/ EU_CLONE_CRE_SHDVIEWS.

R3ldctl error 2

2 Things you must do.

1. Look a the ALOG and you will find the CDSVIEWFIX.TQL wasn't found.

   * Download it from SAP Note 1902974

    The File must uncar to your  /SUM/abap/var directory. You must find it there.

  *  You don't have to run it manually, the 7.40 SP7 will look for it automatically.

2.  Check both /sapmnt/SID/exe and  /SUM/abap/exe    R3ldctl

Mine was bad.  It comes from the Oracle Part of the Kernel.

You should be able to see from R3ldctl  output as it runs. A corrupt version will just give a RC=2 and error out.

hostxxxx:rqaadm 3> ./R3ldctl
DbSl Trace: CONNECT failed with sql error '1017'

(IDL) Info:  ddldb2lib version is 721.33

(CLL) Info:  creating initial tpl data

(ADT) Info: Overriding info from DDL template due to forcedbv and update_db2v .
(CLL) Info:  finished creating initial tpl data

This is good.

From there I was able to get past this stage (5.5 in Preprocessing) and keep the SUM Upgrade moving.

Good Luck

Kelly

former_member186845
Active Participant
0 Kudos

Hello Vish,

Please check the profiles in the /usr/sap/<sid>/SYS/profile/ directory. Is there any profile that the driver parameter is pointing to 'oracle/client/11x_64/instantclient/ojdbc14.jar' or any other directory?

Is that possible to attach here your profiles, sapinst_dev.log and control.xml files for further analysis?

Swtich to the 'Advanced Editor' to upload the files.

Thanks in advance.

Best Regards,

Henrique Girardi

SAP Active Global Support

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

It looks like sapinst or the SWPM you are using is compatible or needs the Oracle 11G instant client.

Why don't you create a symbolic link and check whether it helps ?

ln -s /oracle/client/10x_64 /oracle/client/11x_64

Regards

RB

Former Member
0 Kudos

check ed the same but still the same issue. But the same SWPM tool is working Dev Enviroment ......if its the matter of compatibility

Reagan
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello

Did you restart the sapinst after that ?

Also if the SWPM is working on the development environment then check the runtime Java used there.

If the Java is different then try with the JRE which is working.

Regards

RB

ashish_vikas
Active Contributor
0 Kudos

/security/data/SecStore.key' aborts with return code 64 due to a database connection error. DIAGNOSIS: The connection parameters are wrong or the database server has been shut down.

Have you stopped database also ?

For export only SAP(not DB) should be stopped. also listener should be running.

best regards

ashish

Former Member
0 Kudos

No , as i replied in my previous reply , database is up and running

ashish_vikas
Active Contributor
0 Kudos

DO you have database server of a Distributed or HA system ?

please check : 1678319  - Sapinst fails in step getUsageTypes during export of NW 7.0

best regards

ashish

Former Member
0 Kudos

No we do not configure our DB over Distributed or HA system.

former_member206552
Active Contributor
0 Kudos

Hi Vish

can you please upload

UTL_load_usages.log

and

/tmp/sapinst_instdir/BS2005/ERP60SR3/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/UTL.java.log

is the listener running ?

is this a abap+java system or only abap ?  (this seems to be a dual stack system and you are running export for abap only)

Best Regards

Marius

Former Member
0 Kudos

please find the UTL_load_usages.log:

<!--HELP[Manual modification of the header may cause parsing problem!]/-->

<!--LOGGINGVERSION[1.5.3.7185 - 630]/-->

<!--NAME[UTL_load_usages.log]/-->

<!--PATTERN[UTL_load_usages.log]/-->

<!--FORMATTER[com.sap.tc.logging.TraceFormatter(%24d %7s: %m)]/-->

<!--ENCODING[UTF8]/-->

<!--LOGHEADER[END]/-->

Nov 26, 2013 4:45:40 PM  Info   : Successfully parsed!

Nov 26, 2013 4:45:40 PM  Info   : Executing command Export...

Nov 26, 2013 4:45:40 PM  Info   : Establishing DB connection...

Nov 26, 2013 4:45:41 PM  Path   : Exception : The DataBase is down or the connection parameters are wrong: -sid=RP1 -dsn=jdbc/pool/RP1 -ssprops=/usr/sap/RP1/SYS/global/security/data/SecStore.properties -ssk=/usr/sap/RP1/SYS/global/security/data/SecStore.key -keyphrase=null

java.lang.Exception

        at com.sap.exception.BaseExceptionInfo.traceAutomatically(BaseExceptionInfo.java:1175)

        at com.sap.exception.BaseExceptionInfo.<init>(BaseExceptionInfo.java:423)

        at com.sap.exception.BaseException.<init>(BaseException.java:316)

        at com.sap.sl.ut.infoprovider.exceptions.UTInfoException.<init>(UTInfoException.java:99)

please find the UTL.java.log:

java version "1.4.2_34"

Java(TM) 2 Runtime Environment, Standard Edition (build 4.1.033)

SAP Java Server VM (build 4.1.033 23.5-b02, Jul 11 2013 02:03:16 - 41_REL - optU - solaris sparc - 6 - bas2:200035 (mixed mode))

Warning : /oracle/client/11x_64/instantclient/ojdbc14.jar file stated but does not exist !

(EOF):


former_member206552
Active Contributor
0 Kudos

can you please double check the database and the connection to it

Exception : The DataBase is down or the connection parameters are wrong: -sid=RP1

is this the correct SID ?

is the listener running ?

can you "tnsping RP1" and R3trans -x

Best Regards

Marius

Former Member
0 Kudos

No Dabatabase is up and running and listner too

Former Member
0 Kudos

No Dabatabase is up and running and listner too

Former Member
0 Kudos

No Dabatabase is up and running and listner too

former_member206552
Active Contributor
0 Kudos

does the tnsping and R3trans work ?

also just to double check go sqlplus and run

select INSTANCE_NAME,STATUS from v$instance;

just ot add, do you use virtual names ? if yes then are you running sapinst like below

sapinst sapinst sapinst_use_hostname=<ci_host>

Best Regards

Marius