cancel
Showing results for 
Search instead for 
Did you mean: 

saplicense -R3Setup SID XXXXXX TRACE=2' exits with error code 254

former_member196171
Participant
0 Kudos

Hi Experts ,

Need help on this ,

I aminstallation SAP with a copy of a database

Enhancement Package 6 for SAP ERP 6.0 -> Software Life Cycle Options -> System Copy -> Oracle -> Target System Installation -> Distributed System -> Based on ABAP -> Database Instance

Getting following error :

An error occurred while processing option Enhancement Package 6 for SAP ERP 6.0 > Software Life-Cycle Options > System Copy > Oracle > Target System Installation > Distributed System > Based on AS ABAP > Database Instance( Last error reported by the step: Process call '/usr/sap/K1L/SYS/exe/uc/rs6000_64/saplicense -R3Setup K1L XXXXXX TRACE=2' exits with error code 254. For details see log file(s) saplicense.log, dev_slic.). You can now:

Choose Retry to repeat the current step.

Choose Log Files to get more information about the error.

Stop the option and continue with it later.

Log files are written to /oracle/K1L/oraarch/tmp/sapinst_instdir/ERPEhP6/LM/COPY/OR

saplicense.log has only  entry :

Mon Feb  4 23:33:27 2013

MtxInit: 0 0 0

here is the error log with  dev_slic.

-->oci_execute_stmt(#3: con=0,stp=1106db0f8,itr=1,off=0,bat=0)

before OCIStmtExecute(svchp=1106c6350, errhp=1106c3478): [dur. 0,000s]

OCIStmtExecute() completed, rc=100=OCI_NO_DATA, no further data

-> rc=1403=OCI_ERR_NOT_FOUND

after OCIStmtExecute(rpc=0): [dur. 0,012s]

<--oci_execute_stmt(rc=1403, iters-errors = 1-0) [dur. 0,012s]

*** ERROR => ORA-1403 when accessing table SAPUSER [dbsloci.c 15885]

set_ocica() -> SQL code 1403

-->oci_get_errmsg (con=0, rc=1403)

OCIErrorGet -> SQL error code: 1403

ORA-01403: no data found

Disconnecting from connection 0 ...

Rolling back transaction

Closing user session (con=0, svc=1106c6350, usr=11072d560)

Disconnected (con=0) from ORACLE.

Info: 99=DBSL_ERR_DB, oerr=1403, try to connect with default password.

Connecting as SAPSR3/<pwd>@K1L on connection 0 (nls 0) ... (dbsl 720 291112, UNICODE[2])

Assigning username to user session: con=0, usrhp=11072d560

Assigning password to user session: con=0, usrhp=11072d560

Starting user session: OCISessionBegin(con=0, usr='SAPSR3', svc=1106c6350, srv=1106c6580, usr=11072d560)

OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR

OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:

ORA-01017: invalid username/password; logon denied

*** ERROR => CONNECT failed with sql error '1017' [dbsloci.c 15284]

set_ocica() -> SQL error code 1017

-->oci_get_errmsg (con=0, rc=1017)

OCIErrorGet -> SQL error code: 1017

ORA-01017: invalid username/password; logon denied

DbSlConnect(con=0) -> orc=0, 99=DBSL_ERR_DB

-->DbSlControl(con=-1,cmd=10=DBSL_CMD_DBCA_PTR_GET)

-->DbSlConnect(vers=-1, type=0, env='[default env]', usr='[default usr]', kernel dbsl='720')

Default connection: tnsname ='K1L'

Nls CharacterSet NationalCharSet EnvHp ErrHp ErrBt

0 UTF16 AL16UTF16 110693ac0 1106c3478 1106c4518

-->oci_initialize(con=0, char='UTF16', nchar='AL16UTF16', nls=0),uc_ln=2

Logon as OPS$-user to get SAPSR3's password

Connecting as /@K1L on connection 0 (nls 0) ... (dbsl 720 291112, UNICODE[2])

Starting user session: OCISessionBegin(con=0, usr='/', svc=1106c6350, srv=1106c6580, usr=11072d560)

Assigning user session usrhp=11072d560 to service context svchp=1106c6350

time 2013-02-04 23:33:28, con=0 not connected

-->oci_prepare_stmt(con=0,len=39,stp=1106d7010)

SELECT SID FROM V$MYSTAT WHERE ROWNUM<2

- oci_define ( 0: SQLT_INT , l= 4, con=0, stp=1106d7010, pv=fffffffffffd094, in=fffffffffffd090,rl=0000NULL,rc=0000NULL)

time 2013-02-04 23:33:28, con=0 not connected, new transaction

-->oci_execute_stmt(#1: con=0,stp=1106d7010,itr=1,off=0,bat=0)

before OCIStmtExecute(svchp=1106c6350, errhp=1106c3478): [dur. 0,000s]

after OCIStmtExecute(rpc=0): [dur. 0,001s]

<--oci_execute_stmt(rc=0, iters-errors = 1-0) [dur. 0,001s]

Now '/@K1L' is connected: con=0, nls=0, session=308, time='2013-02-04 23:33:28'

time 2013-02-04 23:33:28, con=0 not connected

-->oci_prepare_stmt(con=0,len=33,stp=1106d5fb8)

ALTER SESSION SET NLS_SORT=BINARY

time 2013-02-04 23:33:28, con=0 not connected, new transaction

-->oci_execute_stmt(#2: con=0,stp=1106d5fb8,itr=1,off=0,bat=0)

before OCIStmtExecute(svchp=1106c6350, errhp=1106c3478): [dur. 0,000s]

after OCIStmtExecute(rpc=0): [dur. 0,000s]

<--oci_execute_stmt(rc=0, iters-errors = 1-0) [dur. 0,000s]

time 2013-02-04 23:33:28, con=0 not connected

-->oci_prepare_stmt(con=0,len=59,stp=1106d5fb8)

SELECT USERID,PASSWD FROM SAPUSER WHERE USERID IN (:A0,:A1)

- oci_bind ( 0: SQLT_STR , l=256, con=0, stp=1106d5fb8, pv=fffffffffffd688, in=0000NULL,rl=0000NULL,rc=0000NULL)

- oci_bind ( 1: SQLT_STR , l=256, con=0, stp=1106d5fb8, pv=fffffffffffcda8, in=0000NULL,rl=0000NULL,rc=0000NULL)

- oci_define ( 0: SQLT_STR , l=514, con=0, stp=1106d5fb8, pv=fffffffffffcfac, in=fffffffffffcb40,rl=0000NULL,rc=0000NULL)

- oci_define ( 1: SQLT_AFC , l=514, con=0, stp=1106d5fb8, pv=fffffffffffd1b0, in=fffffffffffcb42,rl=0000NULL,rc=0000NULL)

time 2013-02-04 23:33:28, con=0 not connected, new transaction

-->oci_execute_stmt(#3: con=0,stp=1106d5fb8,itr=1,off=0,bat=0)

before OCIStmtExecute(svchp=1106c6350, errhp=1106c3478): [dur. 0,000s]

OCIStmtExecute() completed, rc=100=OCI_NO_DATA, no further data

-> rc=1403=OCI_ERR_NOT_FOUND

after OCIStmtExecute(rpc=0): [dur. 0,000s]

<--oci_execute_stmt(rc=1403, iters-errors = 1-0) [dur. 0,000s]

*** ERROR => ORA-1403 when accessing table SAPUSER [dbsloci.c 15885]

set_ocica() -> SQL code 1403

-->oci_get_errmsg (con=0, rc=1403)

OCIErrorGet -> SQL error code: 1403

ORA-01403: no data found

Disconnecting from connection 0 ...

Rolling back transaction

Closing user session (con=0, svc=1106c6350, usr=11072d560)

Disconnected (con=0) from ORACLE.

Info: 99=DBSL_ERR_DB, oerr=1403, try to connect with default password.

Connecting as SAPSR3/<pwd>@K1L on connection 0 (nls 0) ... (dbsl 720 291112, UNICODE[2])

Assigning username to user session: con=0, usrhp=11072d560

Assigning password to user session: con=0, usrhp=11072d560

Starting user session: OCISessionBegin(con=0, usr='SAPSR3', svc=1106c6350, srv=1106c6580, usr=11072d560)

OCISessionBegin(OCI_DEFAULT) failed with -1=OCI_ERROR

OCISessionBegin(OCI_DEFAULT) failed with SQL error 1017:

ORA-01017: invalid username/password; logon denied

*** ERROR => CONNECT failed with sql error '1017' [dbsloci.c 15284]

set_ocica() -> SQL error code 1017

-->oci_get_errmsg (con=0, rc=1017)

OCIErrorGet -> SQL error code: 1017

ORA-01017: invalid username/password; logon denied

DbSlConnect(con=0) -> orc=0, 99=DBSL_ERR_DB

*****************************************************************************

*

* ERROR Connect to database failed

*

* TIME Mon Feb 4 23:33:28 2013

* RELEASE 720

* COMPONENT SLIC

* VERSION 302

* RC 99

* MODULE slicdb.c

* LINE 152

* DETAIL DbSlConnect failed with return code 99

* SQL-ERROR 1017 (check DB manual for explanation)

* COUNTER 1

*

*****************************************************************************

 

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

Hi,

As per the above log, I can see ORA-01017: invalid username/password; logon denied

Please try the below command and check whether it works.

Login as SIDADM and try the below command.

brconnect -u system/<password> -f chpass -o <sapowner> -p <password>

Example

brconnect -u system/<Password of system user> -f chpass -o SAPSR3 -p <Your desired password for SAPSR3>

The above command should fix this issue.

Please check and provide your feedback.

Thanks and Regards,

Vimal

Former Member
0 Kudos

Please check the note 400241 for more information.

Answers (1)

Answers (1)

former_member196171
Participant
0 Kudos

Hi Maria

Thanks for your prompt  response,  It worked !!!!

Former Member
0 Kudos

Super !!! 🙂

Please close the thread .