cancel
Showing results for 
Search instead for 
Did you mean: 

/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load -testconnect" finished with return code 2

Former Member
0 Kudos

Hi All,

I am installing NW 7.4 Oracle on linus environment.

I am getting the below error at the starting of Import ABAP step.

Error info:

Execution of the command "/usr/sap/NWV/SYS/exe/uc/linuxx86_64/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

sh: mc: line 1: syntax error: unexpected end of file

sh: error importing function definition for `BASH_FUNC_mc'

sh: mc: line 1: syntax error: unexpected end of file

sh: error importing function definition for `BASH_FUNC_mc'

/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load: START OF LOG: 20150703122938

/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load: sccsid @(#) $Id: //bas/720_REL/src/R3ld/R3load/R3ldmain.c#21 $ SAP

/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load: version R7.20/V1.4 [UNICODE]

Compiled May  4 2015 19:29:33

/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load -testconnect

(DB) ERROR: db_connect rc = 256

(DB) ERROR: DbSlErrorMsg rc = 28

/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load: job finished with 1 error(s)

/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load: END OF LOG: 20150703122938

ERROR 2015-07-03 12:29:38.128

CJS-30023  Process call '/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load -testconnect' exits with error code 2. For details see log file(s) R3load.exe.log.

ERROR 2015-07-03 12:29:38.710

FCO-00011  The step testDatabaseConnection with step key |NW_ABAP_OneHost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|onehost|0|NW_CreateDBandLoad|ind|ind|ind|ind|createdbandload|0|NW_ABAP_Import_Dialog|ind|ind|ind|ind|abapload|0|NW_ABAP_Import|ind|ind|ind|ind|0|0|testDatabaseConnection was executed with status ERROR ( Last error reported by the step: Process call '/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load -testconnect' exits with error code 2. For details see log file(s) R3load.exe.log.).

R3load.exe.log Says

sapparam: sapargv(argc, argv) has not been called!

sapparam(1c): No Profile used.

sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline

sh: mc: line 1: syntax error: unexpected end of file

sh: error importing function definition for `BASH_FUNC_mc'

sh: mc: line 1: syntax error: unexpected end of file

sh: error importing function definition for `BASH_FUNC_mc'

/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load: START OF LOG: 20150703123208

/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load: sccsid @(#) $Id: //bas/720_REL/src/R3ld/R3load/R3ldmain.c#21 $ SAP

/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load: version R7.20/V1.4 [UNICODE]

Compiled May  4 2015 19:29:33

/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load -testconnect

(DB) ERROR: db_connect rc = 256

(DB) ERROR: DbSlErrorMsg rc = 28

/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load: job finished with 1 error(s)

/usr/sap/NWV/SYS/exe/uc/linuxx86_64/R3load: END OF LOG: 20150703123208

Kindly help me to resolve the issue.

Regards,

Ram

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hello Ramakanta,

If you already know..you can ignore this...

Have you started SAPinst with SIDADM or root.

You should be using root for sapinst.

During initial installation step give same password for all the users prompted.

Regards

Anand

former_member185239
Active Contributor
0 Kudos

Hi Ramakanata,

Follow the below steps

- Logon with the <sid>adm user.

- Run the command R3load -testconnect

- Run the same command with root user.

- Run the R3trans -d command with sidadm user and paste the trans.log file.

- Also check whether your database is up or not.

With Regards

Ashutosh Chaturvedi

Former Member
0 Kudos

Also have a look at that note:

1874225 - "Unexpected end of file" or "invalid checksum" errors during ABAP import phase


It says that some files may be corrupted and should be transferred again.


Regards,

Serhat

Former Member
0 Kudos

Hello Ramakanta,

EoF (End of file) error is sometimes related to full disks or filesystems. Have you already checked your filesystems, if they are full?

Regards,

Serhat

Former Member
0 Kudos

Hi Serhat,


No file system issue is not there.

All my volumes have enough space and auto extend is also switched on.


Regards,

Ramakanta

Former Member
0 Kudos

Hello Ramakanta,

It looks like there could be two possibilities for this error,

Login to the system as <sid>adm and execute command R3load -testconnect if the command is successfull. then you should be looking at environment variable of SIDADM.

For the environment variables you can follow below SAP note :-

1875902 - R3load -testconnect fails during system export


The kernel seems to be old for SAP installation. download relevant updated kernels files and upgrade your kernel files along with DBSL files for oracle, and try again installing

Regards

Anand