cancel
Showing results for 
Search instead for 
Did you mean: 

SAPehpi error MAIN_NEWBAS/JOB_RSUPGCUA_PROD

Former Member
0 Kudos

Hello Experts,

I'm doing an EHP4 upgrade on ECC6 in our test sytem. Downtime phase has just started and i passed KX_SWITCH_1 as well and kernel was switched by SAPehpi. Soon after this i received following error in a log file PSUPGCUA.LOG

1 ETQ201 Entering upgrade-phase "JOB_RSUPGCUA_PROD" ("20100128121642")

2 ETQ367 Connect variables are set for standard instance access

4 ETQ399 System-nr = '02', GwService = 'sapgw02'

4 ETQ399 Environment variables:

4 ETQ399 dbs_ora_schema=SAPSR3

4 ETQ399 auth_shadow_upgrade=0

4 ETQ399 Set environment for standard connect:

4 ETQ399 ENV: dbs_ora_schema=SAPSR3

4 ETQ399 ENV: auth_shadow_upgrade=0

4 ETQ399 Set RFC variables for standard connect:

4 ETQ399 System-nr = '02', GwService = 'sapgw02'

4 ETQ399 Set tool parameters for standard connect:

4 ETQ399 default TPPARAM: DEFAULT.TPP

1 ETQ200 Executing actual phase 'MAIN_NEWBAS/JOB_RSUPGCUA_PROD'.

1 ETQ399 Phase arguments:

2 ETQ399 Arg[0] = 'RSUPGCUAGEN111'

2 ETQ399 Arg[1] = ''

2 ETQ399 Arg[2] = 'NO-IGNORE'

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

2 ETQ399 Arg[4] = '5'

2 ETQ399 Arg[5] = 'CUA GEN'

2 ETQ399 Arg[6] = 'PSUPGCUA.ELG'

4 ETQ260 Starting batchjob "RSUPGCUAGEN111"

4 ETQ010 Date & Time: 20100128121642

4 ETQ260 Starting batchjob "RSUPGCUAGEN111"

4 ETQ230 Starting RFC Login to: System = "ECB", GwHost = "sapecb", GwService = "sapgw02"

4 ETQ359 RFC Login to: System="ECB", Nr="02", GwHost="sapecb", GwService="sapgw02"

2 ETQ231 RFC Login failed

I checked by logging into the shadow system to see if i can run this job myself, i was not able to run any of the batch jobs. when i did the stopsap and startsap i was also not able to start the sap instance. When i try resumed the EHP instaler the installer came up with following error this time.

Unable to execute the SDT request ABAP operation execute on hostname

sapecb instance 00 Downtime execution of the ABAP upgrade request ABAP

has failed Error from unit observer Tool died unexpectedly with FATAL

ERROR: Inconsistent definition of profile path in

profile: '/usr/sap/ECB/SYS/profile' !

= '/oracle/ECB/EhP4/EHPI/abap/ECB/SYS/profile'!! .

Whe i tried SAPehpi commands to start and stop shadow it gives me following.

SAPehpi startshd

Enter the path of your root directory [/oracle/ECB/EhP4/EHPI/abap]:

Root directory =

      • Reexecuting SAPehpi with adapted environment and restart=0x3.

At this time the start of the shadow instance is not possible,

since you have passed phase STOP_SHDI_LAST!!!

SAPehpi stopshd

Enter the path of your root directory [/oracle/ECB/EhP4/EHPI/abap]:

Root directory =

      • Reexecuting SAPehpi with adapted environment and restart=0x3.

FATAL ERROR: TR group name "SPC_SUPPORT_PACKAGES" is unknown

Afte this i found that my shadow instance (02) has no instance profile created in /sapmnt/ECB/profile directory. May be because upgrade stopped in the middle of processing. I created this profile by copying it from the original instance (00) and by renaming the host name and instance number in it. It is still not resolving our issue.

I'm able to log on to the database from Oracle at this stage and i'm also able to execute R3trans -d and -x successfully.

When i'm running /usr/sap/ECB/DVEBMGS02/exe/sapcontrol -prot NI_HTTP -host sapecb -nr 02 -function StartWait 10000 10

It returns error :

29.01.2010 14:19:18

Start

OK

29.01.2010 14:19:28

StartWait

FAIL: process msg_server MessageServer not running

Not sure why message server is not running, how to make it running, do i need to change any profile parameters ? where ? and What ?

Has anyone faced similler issue ? I'm not able to resume my EHP4 installation due to my current situation.

Harshal

Accepted Solutions (1)

Accepted Solutions (1)

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

Could you please check for ELG log file for this phase.

> SAPehpi startshd

> Enter the path of your root directory [/oracle/ECB/EhP4/EHPI/abap]:

> Root directory =

> *** Reexecuting SAPehpi with adapted environment and restart=0x3.

> At this time the start of the shadow instance is not possible,

> since you have passed phase STOP_SHDI_LAST!!!

>

At this stage you cannot start shadow instance any more. Because since you have passed phase STOP_SHDI_LAST and after this phase shadow instance does not exists any more.

Thanks

Sunny

Former Member
0 Kudos

Hi Sunny,

Thanks for the response. I do realize that i do not need shadow instance at this poing. However i'm also unable to resume the SAPEHPI. it shows me following error when i tried resuming the EHPI.

Unable to execute the SDT request ABAP operation execute on hostname sapecb instance 00 Downtime execution of the ABAP upgrade request ABAP has failed Error from unit observer Tool died unexpectedly with FATAL ERROR: Inconsistent definition of profile path in profile: '/usr/sap/ECB/SYS/profile' ! = '/oracle/ECB/EhP4/EHPI/abap/ECB/SYS/profile'!

Do you know at what location EHPI refes the profile parameters. i mean /sapmnt/<SID>/SYS/Profile or from the upgrade directory. I have instance profiles in both places and not sure which profile has the inconsistancy.

Harshal

sunny_pahuja2
Active Contributor
0 Kudos

> Unable to execute the SDT request ABAP operation execute on hostname sapecb instance 00 Downtime execution of the >ABAP upgrade request ABAP has failed Error from unit observer Tool died unexpectedly with FATAL ERROR: Inconsistent >definition of profile path in profile: '/usr/sap/ECB/SYS/profile' ! = '/oracle/ECB/EhP4/EHPI/abap/ECB/SYS/profile'!

The entry DIR_PROFILE in the instance profile of your SAP system has the wrong value.

Solution:

1. Change the value of the parameter DIR_PROFILE in the instance profile of your SAP system to the value /usr/sap/<sid>/SYS/profile.

2. Restart you SAP system.

3. Repeat the phase.

Thanks

Sunny

Former Member
0 Kudos

Thanks Sunny for the prompt reply.

Following are the parameters currently defined in /sapmnt/ECB/profiles for the instance profile of the shadow instance

DIR_PROFILE = $(DIR_INSTALL)/profile

PF = $(DIRPROFILE)/ECB_DVEBMGS02_sapecb

DIR_EXECUTABLE = /oracle/ECB/EhP4/EHPI/abap/ECB/SYS/exe

DIR_INSTANCE = /oracle/ECB/EhP4/EHPI/abap/ECB/DVEBMGS02

#DIR_PROFILE = /oracle/ECB/EhP4/EHPI/abap/ECB/SYS/profile

DIR_GLOBAL = /oracle/ECB/EhP4/EHPI/abap/ECB/SYS/global

For some reasons when i run startsap it does not brings any dialog, or background processes which is resulting RFC error in EHPI.

Any suggestoin for that ?

Harshal

sunny_pahuja2
Active Contributor
0 Kudos

Hi,

I will suggest you to change DIR_PROFILE parameter to /usr/sap/<sid>/SYS/profile.

Then restart system and retry the phase.

Thanks

Sunny

Former Member
0 Kudos

I changed it to /usr/sap/<SID>/SYS/profile and startsap still it did not started any dialog processes.

When i resumed EHPI it showed me the same RFC connection refuse error.

Harshal

sunny_pahuja2
Active Contributor
0 Kudos

Hi

Sorry, now, I don't have much idea. I faced same situation then i changed DIR_PROFILE and it got resolved.

Thanks

Sunny

Former Member
0 Kudos

It is now giving me following error. I've opened OSS message for this and waiting for response. If anyone have face this issue please suggest.

>> 2010/01/31 02:14:19 START OF PHASE MAIN_NEWBAS/JOB_RSUPGCUA_PROD

Starting of CUA GEN in batch (job RSUPGCUAGEN111)

working ...

ERROR: RFC of "subst_start_batchjob" failed.

key : RFC_ERROR_COMMUNICATION

message : SAP_CMINIT3 : rc=20 > Connect to SAP gateway failed

Connect_PM DEST=ECB, GWHOST=sapecb, GWSERV=sapgw02, SYSNR=02

LOCATION CPIC (TCP/IP) on local host with Unicode

ERROR partner 'sapecb:3302' not reached

TIME Sun Jan 31 02:14:19 201

RELEASE 710

COMPONENT NI (network interface)

VERSION 39

RC -10

MODULE nixxi.cpp

LINE 3147

DETAIL NiPConnect2: 10.22.10.102:3302

SYSTEM CALL connect

ERRNO 111

ERRNO TEXT Connection refused

COUNTER 6

Harshal

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Gurus,

I am doing EHP5 upgrade from ECC6 . MSSQL 2005 , windows 2003 server. DDIC_UPG step is running long time 8 hrs . So i changed the profile parameter as per the note and restart the Shadow system . But i am not able to stop the ehpinstallation . its showing "cannot stop ehpin". when i checkd the log process is going on.Should i need to restart the upgrade or let it run as it is.

Otherwise please advice how to restart the EHPinstallation .

Normal case ..how long it will take to complete the process.

Please advice....

thanks

mathew

Former Member
0 Kudos

It seems like something is wrong in some profile parameter, not sure where either in upgrade directory or in the standard directory /sapmnt ?

Can anyone suggest how the instance profile should look like at this stage ?

Harshal