cancel
Showing results for 
Search instead for 
Did you mean: 

Error during export of database

former_member90313
Discoverer
0 Kudos

Hi,

Attempting to do a unicode conversion of our SRM7 system. Using sapinst to export the database and I am getting some errors.

OS: Solaris

DB: Oracle 10

I have tried running this as <SID>adm and root but get the same error.

env


USER=dsradm
LOGNAME=dsradm
HOME=/home/dsradm
PATH=/oracle/DSR/102_64/bin:.:/home/dsradm:/usr/sap/DSR/SYS/exe/run:/usr/bin:/usr/ccs/bin:/usr/ucb
MAIL=/var/mail//dsradm
SHELL=/bin/csh
TZ=GB
LC_CTYPE=en_GB.ISO8859-1
LC_COLLATE=en_GB.ISO8859-1
LC_TIME=en_GB.ISO8859-1
LC_NUMERIC=en_GB.ISO8859-1
LC_MONETARY=en_GB.ISO8859-1
LC_MESSAGES=C
SSH_TTY=/dev/pts/22
TERM=xterm
DISPLAY=localhost:13.0
PWD=/usr/sap/DSR/SYS/exe/run
SAPSYSTEMNAME=DSR
DIR_LIBRARY=/usr/sap/DSR/SYS/exe/run
LD_LIBRARY_PATH=/usr/sap/DSR/SYS/exe/run:/oracle/client/10x_64/instantclient
THREAD=NOPS
dbms_type=ORA
dbs_ora_tnsname=DSR
dbs_ora_schema=SAPSDS
ORACLE_SID=DSR
DB_SID=DSR
ORACLE_BASE=/oracle
TNS_ADMIN=/oracle/DSR/102_64/network/admin
ORACLE_HOME=/oracle/DSR/102_64
NLS_LANG=AMERICAN_AMERICA.WE8DEC
SAPDATA_HOME=/oracle/DSR

R3load.exe.log


sapparam: sapargv(argc, argv) has not been called!
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
ERROR: InitDecFloatLib() failed, rc = -2

sapinst.log


Working directory changed to /tmp/sapinst_exe.7082.1292923101.

INFO 2010-12-21 09:18:25.520
Working directory changed to /oracle/sapcds/D51038620_srm_installation_dvd/IM_SOLARIS_SPARC.

INFO 2010-12-21 09:18:25.561
Account sapinst already exists.

INFO 2010-12-21 09:18:25.562
Real group ID set to 5901.

INFO 2010-12-21 09:18:26.058
Creating file /tmp/sapinst_instdir/x.

INFO 2010-12-21 09:18:26.058
Removing file /tmp/sapinst_instdir/x.

INFO 2010-12-21 09:18:26.059
Account sapinst already exists.

INFO 2010-12-21 09:18:26.063
Authorizations set for /tmp/sapinst_instdir.

INFO 2010-12-21 09:18:26.63
Working directory changed to /tmp/sapinst_exe.7082.1292923101.

INFO 2010-12-21 09:18:26.86
Working directory changed to /oracle/sapcds/D51038620_srm_installation_dvd/IM_SOLARIS_SPARC.

INFO 2010-12-21 09:18:52.844
Creating file /tmp/sapinst_instdir/SRM70/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/x.

INFO 2010-12-21 09:18:52.844
Removing file /tmp/sapinst_instdir/SRM70/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/x.

INFO 2010-12-21 09:18:55.643
Creating file /tmp/sapinst_instdir/x.

INFO 2010-12-21 09:18:55.643
Removing file /tmp/sapinst_instdir/x.

INFO 2010-12-21 09:18:55.644
Account sapinst already exists.

INFO 2010-12-21 09:18:55.645
Authorizations set for /tmp/sapinst_instdir.

INFO 2010-12-21 09:19:00.486
Copied file '/tmp/sapinst_instdir/SRM70/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/statistic.xml' to '/tmp/sapinst_instdir/
SRM70/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/statistic.6.xml'.

INFO 2010-12-21 09:19:01.488
Copied file '/tmp/sapinst_instdir/SRM70/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/statistic.xml' to '/tmp/sapinst_instdir/
SRM70/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/statistic.7.xml'.

INFO 2010-12-21 09:19:03.998
Working directory changed to /tmp/sapinst_exe.7082.1292923101.

INFO 2010-12-21 09:19:04.34
Working directory changed to /tmp/sapinst_instdir/SRM70/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP.

INFO 2010-12-21 09:19:04.37
Working directory changed to /tmp/sapinst_exe.7082.1292923101.

"sapinst.log" 139 lines, 5170 characters
Account sapsys already exists.

INFO 2010-12-21 09:19:39.188
Account 5901 already exists.

INFO 2010-12-21 09:19:39.193
Account 0 already exists.

INFO 2010-12-21 09:19:39.197
Account 200 already exists.

INFO 2010-12-21 09:19:40.395
Creating file /tmp/sapinst_instdir/SRM70/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/EXP/R3load.exe.log.

INFO 2010-12-21 09:19:40.631
Output of /usr/sap/DSR/SYS/exe/run/R3load -testconnect is written to the logfile R3load.exe.log.

WARNING 2010-12-21 09:19:41.142
Execution of the command "/usr/sap/DSR/SYS/exe/run/R3load -testconnect" finished with return code 2. Output:
sapparam: sapargv(argc, argv) has not been called!
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
ERROR: InitDecFloatLib() failed, rc = -2

WARNING[E] 2010-12-21 09:19:41.144
CJS-30023  Process call '/usr/sap/DSR/SYS/exe/run/R3load -testconnect' exits with error code 2. For details see log
file(s) R3load.exe.log.

ERROR 2010-12-21 09:19:41.430
FCO-00011  The step testDatabaseConnection with step key |NW_Export|ind|ind|ind|ind|0|0|NW_ABAP_Export_Dialog|ind|in
d|ind|ind|4|0|NW_ABAP_Export|ind|ind|ind|ind|0|0|testDatabaseConnection was executed with status ERROR .

Any ideas?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

JPReyes
Active Contributor
0 Kudos

I think is a problem with the LD_LIBRARY_PATH

Add the kernel /sapmnt/<sid>/exe and the oracle bin /oracle/<sid>/102_64/lib

You can use,

setenv LD_LIBRARY_PATH /sapmnt/<sid>/exe:/oracle/<sid>/102_64/lib

and try again.

Regards

Juan

Answers (2)

Answers (2)

former_member90313
Discoverer
0 Kudos

Firstly, thanks for the quick replies. I have tried both of your suggestions, but I still get the same error.



WARNING    2010-12-21 14:26:26.111 
           CJSlibModule::writeWarning_impl() 
Execution of the command "/usr/sap/DSR/SYS/exe/run/R3load -testconnect" finished with return code 2. Output: 
sapparam: sapargv(argc, argv) has not been called!
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
ERROR: InitDecFloatLib() failed, rc = -2

WARNING[E] 2010-12-21 14:26:26.113 
           CJSlibModule::writeError_impl() 
CJS-30023  Process call '/usr/sap/DSR/SYS/exe/run/R3load -testconnect' exits with error code 2. For details see log file(s) R3load.exe.log.

ERROR      2010-12-21 14:26:26.346 [sixxcstepexecute.cpp:950]
FCO-00011  The step testDatabaseConnection with step key |NW_Export|ind|ind|ind|ind|0|0|NW_ABAP_Export_Dialog|ind|ind|ind|ind|4|0|NW_ABAP_Export|ind|ind|ind|ind|0|0|testDatabaseConnection was executed with status ERROR .

INFO       2010-12-21 14:26:36.983 [sixxcstepexecute.cpp:1003]
An error occured and the user decided to stop.\n Current step "|NW_Export|ind|ind|ind|ind|0|0|NW_ABAP_Export_Dialog|ind|ind|ind|ind|4|0|NW_ABAP_Export|ind|ind|ind|ind|0|0|testDatabaseConnection".

Anything else to suggest?

Former Member
0 Kudos

Hi Neil,

Can you post the R3load.exe.log in the installation directory?

Regards,

Venkat

Former Member
0 Kudos

If ENV is ok try to upgrade your kernel as well.

Regards,

former_member90313
Discoverer
0 Kudos

"R3load.exe.log" 4 lines, 185 characters 
sapparam: sapargv(argc, argv) has not been called!
sapparam(1c): No Profile used.
sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
ERROR: InitDecFloatLib() failed, rc = -2
 
markus_doehr2
Active Contributor
0 Kudos

> ERROR: InitDecFloatLib() failed, rc = -2

Are you using the latest R3load and the latest lib_dbsl for your OS and DB?

And also check

Markus

Former Member
0 Kudos

Hello Neil

Whenever I start SAPINST I set following before hand

TMPDIR=/usr/sap/install/SRA_CI : just a log directorty

export TMPDIR

LD_LIBRARY_PATH=/usr/sap/sapmnt/SRA/exe

export LD_LIBRARY_PATH

umask 022

JAVA_HOME=/usr/sap/java

export JAVA_HOME

PATH=$/bin:$

export PATH

SAPINST_JRE_HOME=/usr/sap/java

export SAPINST_JRE_HOME

I do not see SAPINST_JRE_HOME and JAVA_HOME set in your case

Please see if this helps

Success!!