cancel
Showing results for 
Search instead for 
Did you mean: 

erp2004 sr1 install & license

ravi_raman2
Active Contributor
0 Kudos

ERROR 2007-10-07 19:23:27

MOS-01012 PROBLEM: 'C:\usr\sap\PRD\SYS\exe\run/saplicense -R3Setup PRD "QOORBG4O" TRACE=2' returned with '-2' which is not a defined as a success code.

Anyone run into this before...i havent seen this before..

Regards

Ravi Raman

Message was edited by:

Ravi Raman

Accepted Solutions (1)

Accepted Solutions (1)

ravi_raman2
Active Contributor
0 Kudos

INFO 2007-10-07 19:22:36

Working directory changed to C:\Program Files\sapinst_instdir\ECC04SR1\WEBAS_ABAP_ORA_UC\DB.

PHASE 2007-10-07 19:22:37

Prepare SAP System Instance

PHASE 2007-10-07 19:22:37

Create a temporary license for SAP system

INFO 2007-10-07 19:22:38

Creating file C:\Program Files\sapinst_instdir\ECC04SR1\WEBAS_ABAP_ORA_UC\DB\saplicense.log.

INFO 2007-10-07 19:22:38

Switched to user: prdadm.

INFO 2007-10-07 19:22:38

Working directory changed to C:\Program Files\sapinst_instdir\ECC04SR1\WEBAS_ABAP_ORA_UC\DB.

INFO 2007-10-07 19:22:44

See 'C:\usr\sap\PRD\SYS\exe\run/saplicense -R3Setup PRD "QOORBG4O" TRACE=2' output in 'C:\Program Files\sapinst_instdir\ECC04SR1\WEBAS_ABAP_ORA_UC\DB\saplicense.log'.

ERROR 2007-10-07 19:22:44

MOS-01012 PROBLEM: 'C:\usr\sap\PRD\SYS\exe\run/saplicense -R3Setup PRD "QOORBG4O" TRACE=2' returned with '-2' which is not a defined as a success code.

fidel_vales
Employee
Employee
0 Kudos

would be very interesting if you take a look at the log file:

C:\Program Files\sapinst_instdir\ECC04SR1\WEBAS_ABAP_ORA_UC\DB\saplicense.log

Probably you will have more clues on what is the problem.

That way, it will not be necessary to call Harry Potter to do some magic

ravi_raman2
Active Contributor
0 Kudos

Fidel,

Maybe we might have to..after all...Contents of saplicence.log

Sun Oct 07 19:23:27 2007

MtxInit: 0 0 0

markus_doehr2
Active Contributor
0 Kudos

Not more?

Can you do an R3trans -x? If no, check the resulting trans.log

--

Markus

ravi_raman2
Active Contributor
0 Kudos

Markus,

Yes i can do a r3trans -x this is the output..

C:\usr\sap\PRD\SYS\exe\run>r3trans -x

This is r3trans version 6.09 (release 640 - 26.10.04 - 15:45:42).

unicode enabled version

r3trans finished (0000).

What now..?

Regards

Ravi Raman

markus_doehr2
Active Contributor
0 Kudos

Can you execute the command by hand in a cmd.exe?

C:\usr\sap\PRD\SYS\exe\run\saplicense -R3Setup PRD "QOORBG4O" TRACE=2'

--

Markus

ravi_raman2
Active Contributor
0 Kudos

Markus,

That command just prints the contents of the saplicence.log file..

C:\usr\sap\PRD\SYS\exe\run>saplicense -R3Setup PRD "QOORBG4O" TRACE=2'

Mon Oct 08 10:53:05 2007

MtxInit: 0 0 0

C:\usr\sap\PRD\SYS\exe\run>

Regards

Ravi Raman

markus_doehr2
Active Contributor
0 Kudos

What happens if you repeat that step?

That output looks good to me.

--

Markus

ravi_raman2
Active Contributor
0 Kudos

Install fails again and this time the error is the same.............

INFO 2007-10-08 09:35:56 [iaxxbrunas.cpp:205]

CIaRunAsUser::run_impl()

See 'C:\usr\sap\PRD\SYS\exe\run/saplicense -R3Setup PRD "1UYIGBJD" TRACE=2' output in 'C:\Program Files\sapinst_instdir\ECC04SR1\WEBAS_ABAP_ORA_UC\DB\saplicense.log'.

TRACE [iaxxbrunas.cpp:228]

CIaRunAsUser::run_impl()

ProgramReturnCode='-2' means error.

ERROR 2007-10-08 09:35:56 [iaxxbrunas.cpp:269]

CIaRunAsUser::run_impl()

MOS-01012 PROBLEM: 'C:\usr\sap\PRD\SYS\exe\run/saplicense -R3Setup PRD "1UYIGBJD" TRACE=2' returned with '-2' which is not a defined as a success code.

TRACE [iaxxejsbas.hpp:270]

EJS_Base::dispatchFunctionCall()

JS Callback has thrown std::ESAPinstException: ESAPinstException: error text undefined

markus_doehr2
Active Contributor
0 Kudos

This is strange...

What you can try is, to download the newest saplicense patch from the service marketplace and replace it with the mentioned one.

--

Markus

ravi_raman2
Active Contributor
0 Kudos

Markus,

Some extra information here..this is a mcod install, i have a separate instance with XI and bw installed...this is the prd instance.....is it possible my licence key doesent have a licence for this..?

As for the patch for the licence, i havent done that before...Can i please get some pointers on that..

Regards

Ravi

markus_doehr2
Active Contributor
0 Kudos

The MCOD thing shouldn't be a problem, if R3trans -x connects to the correct schema (check the trans.log) it shouldn't be an issue.

Try the following:

go to

http://service.sap.com/patches

--> Entry by Application Group

--> SAP NetWeaver

--> SAP NETWEAVER

--> SAP NETWEAVER 04

--> Entry by Component

--> Application Server ABAP

There step into the directory of your platform (unicode - non-unicode, 32/64 bit)

--> # Database independent

And download there the latest

saplicense*.SAR file

Copy that file to your system to a temporary directory and execute in a cmd.exe:

sapcar -xvf <filename>.SAR

This will unpack a saplicense.exe, copy that one to the directory where the other one resides and retry your installation.

--

Markus

ravi_raman2
Active Contributor
0 Kudos

Markus,

I replaced the saplicense.exe with the latest one downloaded ...ran the install again...failed again with the same error, and code....Strange..

INFO 2007-10-08 11:52:06 [syxxccuren.hpp:347]

CSyCurrentProcessEnvironmentImpl::setWorkingDirectory(iastring)

Working directory changed to C:\Program Files\sapinst_instdir\ECC04SR1\WEBAS_ABAP_ORA_UC\DB.

INFO 2007-10-08 11:52:11 [iaxxbrunas.cpp:205]

CIaRunAsUser::run_impl()

See 'C:\usr\sap\PRD\SYS\exe\run/saplicense -R3Setup PRD "1UYIGBJD" TRACE=2' output in 'C:\Program Files\sapinst_instdir\ECC04SR1\WEBAS_ABAP_ORA_UC\DB\saplicense.log'.

TRACE [iaxxbrunas.cpp:228]

CIaRunAsUser::run_impl()

ProgramReturnCode='-2' means error.

ERROR 2007-10-08 11:52:11 [iaxxbrunas.cpp:269]

CIaRunAsUser::run_impl()

MOS-01012 PROBLEM: 'C:\usr\sap\PRD\SYS\exe\run/saplicense -R3Setup PRD "1UYIGBJD" TRACE=2' returned with '-2' which is not a defined as a success code.

markus_doehr2
Active Contributor
0 Kudos

This is really weird..

I think you'd need to open an OSS call under BC-INS for this....

--

Markus

ravi_raman2
Active Contributor
0 Kudos

Markus,

Ok, i have never done that either..............pointers here would be helpful

i shall keep you updated on the results from that..

Regards

Ravi

ravi_raman2
Active Contributor
0 Kudos

Markus....

Little more investigation and i found the problem......MCOD install....different SID`s....licence i had was valid for c12 not for prd.....ahha..........the sap installer runs some c code to check for that...

connection 0 opened (DBSL handle 0)

License index MLICHECK0 not found( - ok)

License index MLICHECK__0 not found( - ok)

License index MLICHECK~I1 not found( - ok)

Old license index not dropped...(rc: -111)

Database vendor is ORACLE

Let me now figure out to get a separate licence for the prd system......

Regards

Ravi Raman

markus_doehr2
Active Contributor
0 Kudos

The system is trying to install a TEMPORARY license during installation, you add the real license later.

--

Markus

ravi_raman2
Active Contributor
0 Kudos

Markus,

i agree its temporary, but then there is no logic to the reason for the failure.

Regards

Ravi

markus_doehr2
Active Contributor
0 Kudos

Not by default. I don't know if the installation was successful until now since I just see two lines of traces.

I suggest to open an OSS call and let someone from SAP look onto the system to fix the error.

--

Markus

Answers (1)

Answers (1)

Former Member
0 Kudos

question is why can a temporary licence not be created......??

take a look at the logs and maybe there is a reason why the mlicheck failed

venkat

markus_doehr2
Active Contributor
0 Kudos

Read the thread, we looked at the logs and they don't show anything.

--

Markus