cancel
Showing results for 
Search instead for 
Did you mean: 

R3ldctl error for - ABAP Database Content Export -

Former Member
0 Kudos

Hello !!!

While running <b>sapinst</b> to perform the export phase, I see the next error message at console:

"

<b>Error: 2007-03-05 11:57:40 [iaxxbrunas.cpp:269]

CIaRunAsUser::run_impl()

MOS-01012 PROBLEM: '/sapmnt/BWD/exe/R3ldctl -l ./R3ldctlExport.log -p /instal/export/DATA/ ' returned with '2' which is not a defined as a success code.</b>

"

<u>Detailed info about system & procedure for export:</u>

O.S. Linux RedHat 2.4.21-37.ELsmp

Machine type: i686

Component Version: Business Information Warehouse 3.10

Kernel Release: 620

Software component: SAP_BW 3.10, Patch level: 0026

DB: Oracle 9.2.0.5.0

<i>I try to create a Database EXPORT using R3load – Based procedure.</i>

I use for that: Installation_Master_6.20_6.40_09_06, from the tree control, I choose:

SAP Patch Collection Installation Master,

>SAP NetWeaver‚ 04 SR1

>System Copy

>Source System

>ABAP System

>Oracle

>Unicode

>ABAP Database Content Export

<i>In phase of Database export:</i>

In <b>sapinst.log</b> file is put the error message:

<b>ERROR 2007-03-05 11:57:40

MOS-01012 PROBLEM: '/sapmnt/BWD/exe/R3ldctl -l ./R3ldctlExport.log -p /instal/export/DATA/ ' returned with '127' which is not a defined as a success code.</b>„

In <b>R3ldctl.log</b> file is put the error message:

<b>/sapmnt/BWD/exe/R3ldctl: error while loading shared libraries: libsapu16.so: cannot open shared object file: No such file or directory</b>

Has anyone experienced this error? If so, how did you resolve it ?

thanks in advance for any suggestion and help,

Augustin EDVES,

aedves@eldior.ro

Electrica Transilvania Nord - Romania

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The Sapinst tools seems not to find a unicode library, perhaps you are using Unicode options on a non-Unicode system...

If your system is not Unicode, you have to use the following path: SAP NetWeaver‚ 04 SR1->System Copy->Source System->ABAP System->Oracle->Non Unicode->ABAP Database Content Export

Former Member
0 Kudos

Hallo,

I choose Non Unicode way, but still error:

"

<b>ERROR 2007-03-06 15:00:11

MOS-01012 PROBLEM: '/sapmnt/BWD/exe/R3ldctl -l ./R3ldctlExport.log -p /instal/export/DATA/ ' returned with '2' which is not a defined as a success code.</b>

"

persist.

In log file <b>R3ldctl.log</b> is not write any messages,... consider that is a good sign.

In log file <b>R3ldctlExport.log</b> is write error message:

"

<b>DbSl Trace: OCI-call 'OCIInitialize' failed: rc = -1

DbSl Trace: OCI-call 'OCIErrorGet' failed: rc = -2

ERROR: DbSlConnect rc= 99

DbSl Trace: OCI-call 'OCIInitialize' failed: rc = -1

DbSl Trace: OCI-call 'OCIErrorGet' failed: rc = -2</b>"

Log file <b>R3ldctlExport.log</b> is created under <i>user/group = bwdadm/sapsys</i>.

I execute sapinst under <i>user/group = root/root</i>.

Curiously is: under <i>user/group = bwdadm/sapsys</i> from console, command

<i>/sapmnt/BWD/exe/R3ldctl -l ./R3ldctlExport.log -p /instal/export/DATA/</i>

is executed with success.

But .. in logfile <b>R3ldctlExport.log</b> is a set of warning messages, like that, for all tables founded:

"<b>WARNING: no technical settings for table "BTCJSTAT" in SAP data dictionary - defaults used</b>"

In export directory <b>/instal/export/DATA/</b> is created files like:

"..

49173 -rw-rr 1 bwdadm sapsys 4929 Mar 6 15:16 DDLORA.TPL

49171 -rw-rr 1 bwdadm sapsys 1048 Mar 6 15:16 SAP0000.STR

...

"

Thanks for any suggestion or help

Augustin EDVES

Former Member
0 Kudos

Do not worry about technical settings warnings.

Did you set the permission 777 to the sapinst directory?

Former Member
0 Kudos

Hallo David,

Be sure, my sapinst_directory have set permission to 777.

At console is put consecutive message text:

"

<b>INFO 2007-03-07 09:58:11 [syuxccuren.cpp:243]

CSyCurrentProcessEnvironmentImpl::setGroup(PSyGroup)

Real group id set to 200.

INFO 2007-03-07 09:58:11 [iaxxbrunas.cpp:205]

CIaRunAsUser::run_impl()

See '/sapmnt/BWD/exe/R3ldctl -l ./R3ldctlExport.log -p /instal/export/DATA/ ' output in '/instal/sapinst_instalare/R3ldctl.log'.

ERROR 2007-03-07 09:58:11 [iaxxbrunas.cpp:269]

CIaRunAsUser::run_impl()

MOS-01012 PROBLEM: '/sapmnt/BWD/exe/R3ldctl -l ./R3ldctlExport.log -p /instal/export/DATA/ ' returned with '2' which is not a defined as a success code.</b>

"

In my <b>/etc/group</b>, root,sapsys,dba,oper groups are:

.....

root:x:0:root

sapsys:x:200:bwdadm

dba:x:201:bwdadm,orabwd

oper:x:202:bwdadm,orabwd

.....

where bwd = <sapsid> in my SAP BW system.

Is something wrong defined in my /etc/group ?

thanks for any suggestion or help,

best regard

Augustin Edves

Former Member
0 Kudos

The /etc/group seem to be ok.

You can use the following workaround:

- execute r3ldctl from command line

- if successfully executed restart the sapinst with the option for skipping error. Check the right option with the command sapinst -p

Former Member
0 Kudos

Hallo David,

I execute, under <sapsid>adm, r3ldctl from command line with success, restart, under root, sapinst with SAPINST_SKIP_ERRORSTEP=true, .. and some situation for r3szcheck !!!

I repeat this procedure for r3szcheck .... but at step of r3load execution I have a lot of errors, because under root user, is needed environment variables for <sid>adm, like:

SAPSYSTEMNAME=BWD

SAPDATA_HOME=/oracle/BWD

and more variables specific for oracle,sap...

how you see that situation? what can I do in this state?

best regard,

Augustin Edves

Former Member
0 Kudos

Hi Augustin,

I can hardly find an explanation for your problems...

However, in order to manually load the database, you have to start the r3load processes under user bwdadm instead of root, which the same that sapinst do.

Cheers,

David

Former Member
0 Kudos

Hi David,

I find myself solution:

Conform SAP Note 664679,

"the SAP Kernel of Release 6.20 contains an error that is corrected with the 6.40 kernel"

I have to replace kernel 6.20 with 6.40 and start again for export, sapinst 6.40 tools.

best regards,

Augustin Edves

Former Member
0 Kudos

Did u update the R3load, R3ldctl and R3szchk in the installation CD as well as the exe folder with a newer copy from SAP Service Marketplace ?

Former Member
0 Kudos

Make sure u use the correct files for the platform and unicode/non-unicode.

Former Member
0 Kudos

Hi Kent,

I solve problem with replacing the 6.20 kernel of my SAP WEB AS 6.20 with the 6.40 kernel without implementing an SAP upgrade.

All the best,

Augustin Edves

Answers (0)