cancel
Showing results for 
Search instead for 
Did you mean: 

MOS-01012 during Oracle Pre-Load phase system copy

Former Member
0 Kudos

Hello,

The problem is in phase 'Oracle Pre-Load Actions', we have error:

MOS-01012 PROBLEM: '/sapmnt/Q02/exe/saplicense -R3Setup Q02 "OMLRUURS" TRACE=2' returned with '254' which is not a defined as a success code.

Homogenous system copy, AIX, ORA 9.2.0.8

I've checked a few things:

- when I manually execute this command I have:

Fri Jan 28 17:04:02 2011

MtxInit: 0 0 0

- R3trans -d is ok (rc 0000)

- Q02 database is up

- oracle listener is up

- saplicense -show

LICENSE system: Q02 hardware key: N1153195602 expiration_date: 99991231

installation no: 0110004123 key: xxxxx

userlimit: 0 productid: R3_ORA

system-nr: 000000000310644498

      • license useable ***

- saplicense -get (returns N1153195602)

- saplicense.log contain:

Fri Jan 28 17:04:02 2011

MtxInit: 0 0 0

I'm stuck, no more idea...

Best regards,

MIchal

dev_slic contains:

SlicIGetDate: <20110129>

SlicPwForR3Setup: calc password out of <Q0220110129FJAWFNLTL>

SlicIGetDate: <20110129>

SlicSapInstall: sysname: >Q02< connect: >1< rollback: >1<

SlicIDbLock: first call to SlicIDbLock: initialize Mutex

db_con_init called

create_con (con_name=R/3)

Loading DB library '/sapmnt/Q02/exe/dboraslib.o' ...

load shared library (/sapmnt/Q02/exe/dboraslib.o), hdl 0

Library '/sapmnt/Q02/exe/dboraslib.o' loaded

function DbSlExpFuns loaded from library /sapmnt/Q02/exe/dboraslib.o

Version of '/sapmnt/Q02/exe/dboraslib.o' is "640.00", patchlevel (0.220)

function dsql_db_init loaded from library /sapmnt/Q02/exe/dboraslib.o

function dbdd_exp_funs loaded from library /sapmnt/Q02/exe/dboraslib.o

New connection 0 created

0: name = R/3, con_id = -000000001 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

db_con_connect (con_name=R/3)

find_con_by_name found the following connection for reuse:

0: name = R/3, con_id = 000000000 state = DISCONNECTED, perm = YES, reco = NO , timeout = 000, con_max = 255, con_opt = 255, occ = NO

Got ORACLE_HOME=/oracle/Q02/920_64 from environment

-->oci_initialize (con_hdl=0)

got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment

      • ERROR => OCI-call 'OCIEnvCreate(mode=16384)' failed: rc = -1 [dboci.c 2287]

set_ocica() -> OCI or SQL return code -1

      • ERROR => OCI-call 'OCIErrorGet' failed: rc = -2 [dboci.c 2081]

-->oci_initialize (con_hdl=0)

got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment

Client NLS settings:

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

Connecting as /@Q02 on connection 0 (nls_hdl 0) ... (dbsl 640 070308)

Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

0 0 (nil) (nil) (nil)

Allocating service context handle for con_hdl=0

      • ERROR => OCI-call 'OCIHandleAlloc' failed: rc = -2 [dboci.c 2830]

      • ERROR => CONNECT failed with sql error '-2' [dbsloci.c 11395]

set_ocica() -> OCI or SQL return code -2

      • ERROR => OCI-call 'OCIErrorGet' failed: rc = -2 [dboci.c 2081]

Try to connect with default password

Connecting as SAPQ02/<pwd>@Q02 on connection 0 (nls_hdl 0) ... (dbsl 640 070308)

Nls CharacterSet NationalCharSet C EnvHp ErrHp ErrHpBatch

0 0 (nil) (nil) (nil)

Allocating service context handle for con_hdl=0

      • ERROR => OCI-call 'OCIHandleAlloc' failed: rc = -2 [dboci.c 2830]

      • ERROR => CONNECT failed with sql error '-2' [dbsloci.c 11395]

set_ocica() -> OCI or SQL return code -2

      • ERROR => OCI-call 'OCIErrorGet' failed: rc = -2 [dboci.c 2081]

Edited by: Michal Sarna on Jan 29, 2011 4:37 PM

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I skipped this step via keydb.xml file

markus_doehr2
Active Contributor
0 Kudos

> Got ORACLE_HOME=/oracle/Q02/920_64 from environment

> -->oci_initialize (con_hdl=0)

> got NLS_LANG='AMERICAN_AMERICA.UTF8' from environment

> *** ERROR => OCI-call 'OCIEnvCreate(mode=16384)' failed: rc = -1 [dboci.c 2287]

> set_ocica() -> OCI or SQL return code -1

> *** ERROR => OCI-call 'OCIErrorGet' failed: rc = -2 [dboci.c 2081]

> -->oci_initialize (con_hdl=0)

Did you install the Oracle 9.2.0.8 client? Or did you link the binaries from the ORACLE_HOME? Or are you using the Oracle client from the installation DVD?

Markus

Former Member
0 Kudos

Yes, Oracle was patch to 9.2.0.8 version (without any problems).

I use OCI 10.

Best regards,

Michal

markus_doehr2
Active Contributor
0 Kudos

> Yes, Oracle was patch to 9.2.0.8 version (without any problems).

> I use OCI 10.

The client is dependent on the kernel version of the application, it's not about what you "use"

If you don't use 640_EX2 then the Oracle 9.x client will be used. If you did not update that client or linked it to the database binaries it's and old version which has known problems.

Markus