cancel
Showing results for 
Search instead for 
Did you mean: 

Error in phase MAIN_SHDIMP/SUBMOD_SHD2_RUN/RUN_RSGEN

Former Member
0 Kudos

Hi guys,

After new installation of Solution Manager 7.1 I am using SUM to install all components and solution packages required is step Check Software Prerequisites in System Preperation of SAP Solution Manager Configuration.

In SUM I was able to get to phase: 5.5: Preprocessing, but now I get error:

Severe error(s) occurred in phase MAIN_SHDIMP/SUBMOD_SHD2_RUN/RUN_RSGEN!

Last error code set: No entry with key '18575400/RSGEN_GENER8_SHADOW

Full log:

1 ETQ201 Entering upgrade-phase "MAIN_SHDIMP/SUBMOD_SHD2_RUN/RUN_RSGEN" ("20151102133011")

4 ETQ399 Set database connect to shadow.

4 ETQ399 Set environment for shadow connect:

4 ETQ399 Set RFC variables for shadow connect:

4 ETQ399 System-nr = '10', GwService = 'sapgw10' Client = '000'

4 ETQ380 computing toolpath for request "TP_SHADOW_CONNECT"

4 ETQ381 request "TP_SHADOW_CONNECT" means "tp needs to connect to shadow system"

4 ETQ382 translates to group "R3UP_TOOL_GROUP_NEW"

4 ETQ399 Requirement for tp maps to 'exe'

4 ETQ383 translates to path "C:\DownloadManager\SUM\abap\exe"

4 ETQ399 Set tool parameters for shadow connect with TPPARAM 'SHADOW.TPP'.

2 ETQ366 Connect variables are set for shadow instance access

4 ETQ399 System-nr = '10', GwService = 'sapgw10' Client = '000'

4 ETQ399 Environment variables:

4 ETQ399   dbs_ora_schema=SAPSR3

4 ETQ399   auth_shadow_upgrade=1

1 ETQ200 Executing actual phase 'MAIN_SHDIMP/SUBMOD_SHD2_RUN/RUN_RSGEN'.

1 ETQ399 Phase arguments:

2 ETQ399 Arg[0] = 'RSGEN_GENER8_SHADOW'

2 ETQ399 Arg[1] = 'SAP_SGEN'

2 ETQ399 Arg[2] = ''

2 ETQ399 Arg[3] = 'RSGEN\.$(SAPSID)'

2 ETQ399 Arg[4] = '10'

2 ETQ399 Arg[5] = 'Generate Program Loads'

1 ETQ399 Using error summary log 'RSGEN.ELG'.

1 ETQ399 Expanded phase arguments:

2 ETQ399 Arg[3] = 'RSGEN\.SM1'

1EETQ399 Last error code set is: No entry with key '18575400/RSGEN_GENER8_SHADOW'

1EETQ204 Upgrade phase "RUN_RSGEN" aborted with severe errors ("20151102133011")

In fact there was a problem with background job RSGEN_GENER8_SHADOW, but I have started it manually again and it finished correctly.

What I have already done:

1. Restarted SUM

2. Restarted shadow instance

3. Restarted main instance

4. I have tried to debug it but with no result.

Can You guys help me out somehow?

Accepted Solutions (1)

Accepted Solutions (1)

former_member182307
Contributor
0 Kudos

You should also have a look at the folowing SAP note :


2061577 - SGEN errors out with 500+ errors in recent SAP_BASIS versions


HTH,

Best regards,

Steve.


Former Member
0 Kudos

Yes,

I'm well aware of this snote.

I just forgot to mention that I have implemented resolution from it, but with no luck.

former_member182307
Contributor
0 Kudos

Do you have any entries in the shadow schema for tables GENSETM or GENSETC ?

If so, can you upload the content of these tables to this message ?

Thanks & BR.

Steve.

former_member182307
Contributor
0 Kudos

Have you checked the 2 tables mentioned above in your shadow system ?

Also have you repeated the phase with INIT ?

Thanks & BR,

Steve.

Former Member
0 Kudos

About those two tables:

Yes, there are entries in those tables.

In table GENSETM I have edited filed GENSTATUS and set all objects to genstatus "X" = generated.

Same field in table GENSETC seems to be empty.

How can I repeat phase with "INIT"?

former_member182307
Contributor
0 Kudos

O.K.

About the repeat with INIT, you should have the option to repeat from where the process ended or to repeat with INIT meaning the whole pahes will startup again.

You should have a box to tick to do so .

BR,

Steve.

Former Member
0 Kudos

Nope. Nothing like that.

I can only repeat phase MAIN_SHDIMP/SUBMOD_SHD2_RUN/RUN_RSGEN to continue at the point it stopped or Exit program.

Can I somehow try to restert whole process?

Will deleting SUM, extracting it again and running again whole process do any good for me?

Will it try to resume process?

My last option is to plow that solman and start all over again.

former_member182307
Contributor
0 Kudos

O.K.

You can do that but you may get in the same issue if we don' t find the roor cause.

Are there any error messages in the dev_w* traces ?

In the SUM directory, do you have any xml files ?

Former Member
0 Kudos

In /SUM/abap/tmp and /log we have:

RSGEN.LOG

1 ETQ201 Entering upgrade-phase "MAIN_SHDIMP/SUBMOD_SHD2_RUN/RUN_RSGEN" ("20151103110100")

4 ETQ399 Set database connect to shadow.

4 ETQ399 Set environment for shadow connect:

4 ETQ399 Set RFC variables for shadow connect:

4 ETQ399 System-nr = '10', GwService = 'sapgw10' Client = '000'

4 ETQ380 computing toolpath for request "TP_SHADOW_CONNECT"

4 ETQ381 request "TP_SHADOW_CONNECT" means "tp needs to connect to shadow system"

4 ETQ382 translates to group "R3UP_TOOL_GROUP_NEW"

4 ETQ399 Requirement for tp maps to 'exe'

4 ETQ383 translates to path "C:\DownloadManager\SUM\abap\exe"

4 ETQ399 Set tool parameters for shadow connect with TPPARAM 'SHADOW.TPP'.

2 ETQ366 Connect variables are set for shadow instance access

4 ETQ399 System-nr = '10', GwService = 'sapgw10' Client = '000'

4 ETQ399 Environment variables:

4 ETQ399   dbs_ora_schema=SAPSR3

4 ETQ399   auth_shadow_upgrade=1

1 ETQ200 Executing actual phase 'MAIN_SHDIMP/SUBMOD_SHD2_RUN/RUN_RSGEN'.

1 ETQ399 Phase arguments:

2 ETQ399 Arg[0] = 'RSGEN_GENER8_SHADOW'

2 ETQ399 Arg[1] = 'SAP_SGEN'

2 ETQ399 Arg[2] = ''

2 ETQ399 Arg[3] = 'RSGEN\.$(SAPSID)'

2 ETQ399 Arg[4] = '10'

2 ETQ399 Arg[5] = 'Generate Program Loads'

1 ETQ399 Using error summary log 'RSGEN.ELG'.

1 ETQ399 Expanded phase arguments:

2 ETQ399 Arg[3] = 'RSGEN\.SM1'

1EETQ399 Last error code set is: No entry with key '18575400/RSGEN_GENER8_SHADOW'

1EETQ204 Upgrade phase "RUN_RSGEN" aborted with severe errors ("20151103110100")


SAPup.log:

CURRENTPHASE MAIN_SHDIMP/SUBMOD_SHD2_RUN/RUN_RSGEN

...started at 20151103105840

# Using phase log file 'RSGEN.LOG'.

..finished at 20151103105840 with status ABORTED.

# Error message set: 'No entry with key '18575400/RSGEN_GENER8_SHADOW''

...begin dialog at 20151103105855

...end dialog at 20151103110100

..answered at 20151103110100.

-> decided to try again.

and TROUBLE_SAVELOGS.LOG:


EXECUTING C:\DownloadManager\SUM\abap\bin\SAPCAR.EXE -cf C:\DownloadManager\SUM\abap\log\SAPup_troubleticket_logs.sar -C C:\DownloadManager\SUM\abap -A C:\DownloadManager\SUM\abap\tmp\SAVELOGS.LST -T C:\DownloadManager\SUM\abap\tmp\RENLOGS.LST

SAPup> Starting subprocess at 20151103110113

    ENV: JAVA_HOME=C:\usr\sap\SM1\DVEBMGS06\exe\sapjvm_4

    ENV: NLS_LANG=AMERICAN_AMERICA.UTF8

    ENV: ORACLE_HOME=C:\oracle\S11\11203

    ENV: ORACLE_SID=S12

    ENV: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC

    ENV: PATH=C:\DownloadManager\SUM\abap\bin;C:\oracle\S11\11203\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Java\jdk1.7.0_25\bin;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\oracle\S11\11203\OPatch;C:\Program Files\ESET\ESET File Security\;C:\usr\sap\SM1\SYS\exe\uc\NTAMD64\;C:\usr\sap\SM1\SYS\exe\uc\NTAMD64

    ENV: SAPDATA_HOME=C:\oracle\S12

    ENV: SAPSYSTEMNAME=SM1

    ENV: auth_shadow_upgrade=1

    ENV: dbms_type=ora

    ENV: dbs_ora_schema=SAPSR3

    ENV: dbs_ora_tnsname=S12

    ENV: rsdb_ssfs_connect=1

    PWD: C:\DownloadManager\SUM\abap\tmp


I can't locate any dev_w* files that concerns shadow instance, but the shadow instance is all green.

former_member182307
Contributor
0 Kudos

The dev_* traces for the shadow instance should be in your SUM directory under :

...\abap\system\SID\DVEBMGSxx\work.

You should look for error messages in the files at the time the SGEN runs.

HTH,

Steve.

Former Member
0 Kudos

Yap,

Found them.

But not single one is being modified when I repeat that phase.

Only files that are being modified are VMCavailable.log, but there is no error, and available.log with no errors as well...

former_member182307
Contributor
0 Kudos

Well, I'm afraid you'll have to restart the process... Or maybe open a call to SAP.

As we don't find any track for this issue.

What I'd do, would be to choose not to generate the SGEN load in the shadow this time if you can choose it in this process. I know taht during the upgrades using SUM you can choose this.

You'll perform the SGEN manually afterwards.

BR,

Steve.

Former Member
0 Kudos

But can't I skip this phase now?

I was looking for some .xml files that would allow me to change some parameter to "done" and go further. I remember that in previous versions of SUM there was that kind of .xml

Problem is I can't find it now.

Maybe you know where to edit this?

Besides as far as I remember I was given no options by SUM to skip SGEN...

former_member182307
Contributor
0 Kudos

I think these xml files like keydb.xml or control.xml do not exist anymore.

The only way to skip a file would be to have the advice from SAP first I guess.

I tried to find those files as I was performing an upgrade with SUM SP14, and it seems they do not exist anymore.

BR,

Steve.

Former Member
0 Kudos

I've tried to restart whole process but it crashed even earlier. SUM found inconsistency and that was it.

I've already uninstalled Solman and I'm installing it again.

Many thanks for Your help thou!

Answers (1)

Answers (1)

former_member182307
Contributor
0 Kudos

Hello,

Could you upload the file RSGEN.ELG and also show the log of the RSGEN_GENER8_SHADOW batch job ?

Thanks & BR,

Steve.

Former Member
0 Kudos

There is not much to see in batch job log:

And as for RSGEN.ELG:

Well, I can't find it.

former_member182307
Contributor
0 Kudos

Is there anything in SM21 / ST22 ?

Former Member
0 Kudos

There is nothing in ST22.

As for SM21 there are some errors, from last week.

But now when I restart shadow instance everything is fine. No errors.

Biggest problem is that my actions in SUM (repeating the  MAIN_SHDIMP/SUBMOD_SHD2_RUN/RUN_RSGEN! phase) are not represented in any way in SM21 or ST22.