cancel
Showing results for 
Search instead for 
Did you mean: 

R3ldctl error during DB export

Former Member
0 Kudos

We are trying to export via Sapinst an system BW 31C based on Oracle

920.

We run directly the DB export phase, without the table splitting

preparation phase.

The Sapinst fail with the error:

"MOS-01012 PROBLEM: '/sapmnt/BWP/exe/R3ldctl -l ./R3ldctlExport.log -

p /test/source/DATA/ ' returned with '2' which is not a defined as a

success code"

We downloaded the latest R3ldctl but the error still occurs.

The R3trans -d or R3trans -x for the user bwpadm terminate

successfully.The OPS$ mechanism seems to be ok.

We see into the sapinst_dev.log file that sapinst try to execute this

command under the user bwpadm: if we run the same commanf directly, at

command line with the user bwpadm it works and start to write the *.STR

files under the DATA directory as specified.

We try to add to the root environment some variable coming from the

bwpadm environment, and then also from root at command line it's

possible to start the command "/sapmnt/BWP/exe/R3ldctl -

l ./R3ldctlExport.log -p /test/source/DATA/" in question.

But if we start the Sapinst as from the documentation the command

continue to fail with the same error.

Any idea ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

1. Exit SAPINST.

2. Set the environment variable HOME to the home directory of the SAP system administrator <sapsid>adm (for example, with command

setenv HOME /home/<sid>adm

if the home directory of the SAP system administrator is '/home' and '<sapsid>' is the SAP system ID (in lower-case letters)).

3. Start SAPinst again

Answers (1)

Answers (1)

Former Member
0 Kudos

I did it but does not work...

any advise ?

Former Member
0 Kudos

solved applying a new kernel and fixing the NLS variables