cancel
Showing results for 
Search instead for 
Did you mean: 

wrong sap_info after systemcopy

hannover_sap-basis
Participant
0 Kudos

Hello,

after a System copy brconnect receives the wrong Parameter for sap_info. In the Environment no values for the old DBSID are not included.

Many thanks.

Lutz

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Check the content of those 2 files:

/oracle/PP2/112_64/dbs/initPP2.ora

/oracle/PP2/112_64/dbs/initRP2.sap


Also I realized that there are a mismatch between the names of the files. RP2 vs PP2. Have a look, what is wrong there.


Regards,

Serhat

Former Member
0 Kudos

Hi Lutz,

sorry at the first, I know you might have checked it.

Can you please recheck DB Env for all shell .sh,.csh,...etc they are not pointing to RP1

Thanks,

Avinash

hannover_sap-basis
Participant
0 Kudos

Hi Avinash,

the problem is that brconnect receive wrong hardware-key information      

sap_info                   731 SAPNVG RP1 X0230108473 R3_ORA 0120010851


 

In table saplikey no information about RP1 are included. Do you know where brconnect get the hardware key information?


kind regards

Lutz

Former Member
0 Kudos

Hello Lutz,

So there's two things happening from what you are showing.

1. h/w key is wrong from what you're showing with sap_info

2. brconnect can't stat /oracle/RP1/sapadata2 (should be looking for RP2)

From the o/s please run "saplikey pf=<profile> -show" and "saplikey pf=<profile> -get" to see what licenses you have installed and your current h/w key.

As was asked by Avinash, could you please your environment variables with the user you are using for the brconnect.

KR,

Amerjit

hannover_sap-basis
Participant
0 Kudos

Hello Amerjit,

List of installed License Keys:

==========================================

1. License Key:

------------------------------------------

System                : RP2

Hardware Key          : B1515167655

Software Product      : NetWeaver_ORA

Software Product Limit: 2147483647

Type of License Key   : permanent

Installation Number   : 0120010851

System Number         : 000000000310263011

Begin of Validity     : 20090908

End   of Validity     : 99991231

Last successful check : 20160621

Validity              : valid

2. License Key:

------------------------------------------

System                : RP2

Hardware Key          : B1515167655

Software Product      : Maintenance_ORA

Software Product Limit: 2147483647

Type of License Key   : permanent

Installation Number   : 0120010851

System Number         : 000000000310263011

Begin of Validity     : 20160620

End   of Validity     : 20160921

Last successful check : 00000000

Validity              : valid

------------------------------------------

2 license keys listed.

af4lm128:rp2adm 54> saplikey pf=RP2_DVEBMGS10_cirp210 -get

SAP License Key Administration  -  Copyright (C) 2003 - 2007 SAP AG

System ID. . . . : RP2

Hardware Key . . : B1515167655        (of this computer)

Installation No. : 0120010851         (digitally signed license key)

                   *** not checked ***         (old license key)

System No. . . . : 000000000310263011 (digitally signed license key)

                   *** not checked *** (old license key)

Release. . . . . : 721

Software products: NetWeaver_ORA

In .dbenv.sh|csh and .sapenv.sh|csh no informations  about RP1 are incliuded.

In table saplikey no information about RP1 are contained. I don't no where does the Hardware- key information come from?

kind regards

Lutz

Former Member
0 Kudos

Hello Lutz,

Indeed an odd one. Let's step back.

1. You did a system copy using back/restore method. Using SWPM or manually ?

2. Are RP1 and RP2 both on the same server ?

3. Please run "env" and upload the results

4. As a cross check of (3) Please run sapcontrol -nr <nn> -function GetEnvironment and upload the results.

5. Please restart sapstartsrv

6. In the dbs directory please run "grep -i rp" and check for RP1.

7. Please run R3trans -x and upload the results.

If you look at the file you attached there are errors that your brconnect is failing in a stat() on /oracle/RP1/sapadat2.

Without being logged on to your system to have a look around it does smell like you have config somewhere on RP2 that is pointing to RP1.

Kind Regards,

Amerjit

hannover_sap-basis
Participant
0 Kudos

Hello Amerjit,

1. You did a system copy using back/restore method. Using SWPM or manually ?

==> we using backup/restore method

2. Are RP1 and RP2 both on the same server ?

==> no

3. Please run "env" and upload the results

==> env|grep RP1  ==> nothing is set

4. As a cross check of (3) Please run sapcontrol -nr <nn> -function GetEnvironment and upload the results.

==> no environment with RP1

5. Please restart sapstartsrv

==> ????

6. In the dbs directory please run "grep -i rp" and check for RP1.

==> no values

7. Please run R3trans -x and upload the results.

==> no Vales with RP1 are included in trans.log

kind regards

Lutz

Reagan
Advisor
Advisor
0 Kudos

I believe the source system is PP1 and the target system is PP2.

Check the license key table and see if the entries there are cleaned up and only the source system details are present. Just curious to know, then which is system is using RP2?

hannover_sap-basis
Participant
0 Kudos

Hello,

how can i clean up entries in license key table?

Kind regards

Lutz

Reagan
Advisor
Advisor
0 Kudos

You can check the licenses from Tx SLICENSE. If there are invalid licenses then you may delete them.

hannover_sap-basis
Participant
0 Kudos

Hello,

i have reinstalled the licenses, but unfortunately without success. In the profiles and the dbenv- Environment nowhere RP1 is set. Nevertheless, brconnect is searching in /oracle/RP1/sapdataX.

kind regards

Lutz

tamil_arasan
Active Contributor
0 Kudos

hi,

how you did the system copy? using R3load or DB backup and restore ?

Have you imported the profiles from the file system to DB using RZ10 transaction?

Also remove the inactive and inappropriate instance profile parameter files using RZ10.

Hope this helps.

Thanks,

pradeep

hannover_sap-basis
Participant
0 Kudos

Hi,

we have made the copy by using DB backup. The profiles was also imported, but the Errors still occurs.

Kind regards

Lutz