cancel
Showing results for 
Search instead for 
Did you mean: 

Oracle upgrade from 8.0.4.0 t 8.1.7.4 (urgent)

Former Member
0 Kudos

Dear support,

We are in process of upgrading our 4.0B system to 4.7 which is on NT

4.0 platform.And we have successfully upgraded oracle database from

8.0.4.0 to 8.1.7 and was able to connect to sap.We have followed sap

standard document extactly as mentioned but after application of patch

8.1.7.4 now, we can start database normally and showing current version

8.1.7.4.1 but when we try to start SAP MMC it hangs after showing

database status in yellow. we have checked R3trans -d which is 0000 and

other connections to database but cant resolve this issue.Please let us

know how to go ahead.

Best Regards,

AjitR

Accepted Solutions (0)

Answers (2)

Answers (2)

andreas_herzog
Active Contributor
0 Kudos

i'd rather start the db and sap r/3 using sqlplus and startsap instead of mmc - during upgrade scenarios like these...ora8 is quite old and 40b as well...you still have to go at least for ora9 so you'd better switch the kernel (mmc is part of that!) afterwards...

GreetZ, AH

Former Member
0 Kudos

Friends,

R3 is not getting connected as i mentioned MMC showing database yellow status.

And which kernel should i use as it is 4.0 B version and compatible for oracle 8.1.7.4 as per document . Where to download latest kernel patch for 4.0B system.

Also which are the logfiles i should check below i paste some of them which doesnt contain updated data ,

dev_disp:

-


trc file: "dev_disp", trc level: 1, release: "40B"

-


Sat Apr 14 07:03:09 2007

***LOG Q00=> DpSapEnvInit, DPStart (00 259) [dpxxdisp 0815]

Sat Apr 14 07:03:10 2007

MBUF state OFF

MBUF opmode USE

Sat Apr 14 07:03:40 2007

***LOG Q0K=> DpMsAttach, mscon ( cyprd1) [dpxxdisp 6332]

MBUF set hwid_state to HWID_PENDING

CCMS: start to inital shared alert area (first segment).

MBUF state PREPARED

MBUF component UP

MBUF set hwid_state to SAP_O_K (D2141608251 )

Sat Apr 14 07:04:40 2007

      • ERROR => W0 (pid 155) died [dpxxdisp 8214]

      • ERROR => W1 (pid 275) died [dpxxdisp 8214]

      • ERROR => W2 (pid 278) died [dpxxdisp 8214]

      • ERROR => W3 (pid 281) died [dpxxdisp 8214]

      • ERROR => W4 (pid 240) died [dpxxdisp 8214]

      • ERROR => W5 (pid 258) died [dpxxdisp 8214]

      • ERROR => W6 (pid 279) died [dpxxdisp 8214]

      • ERROR => W7 (pid 73) died [dpxxdisp 8214]

      • ERROR => W8 (pid 282) died [dpxxdisp 8214]

      • ERROR => DpEnvCheck: no more work processes [dpxxdisp 4103]

Sat Apr 14 07:04:49 2007

      • ERROR => DpHalt: gateway (pid 75) still alive ... [dpxxdisp 5008]

Sat Apr 14 07:04:52 2007

      • ERROR => DpAsKill: kill [dpntdisp 0392]

***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp 6519]

MBUF state OFF

MBUF component DOWN

***LOG Q05=> DpHalt, DPStop ( 259) [dpxxdisp 5051]

dev_ms:

-


trc file: "dev_ms", trc level: 1, release: "40B"

-


Sat Apr 14 07:03:06 2007

***LOG Q01=> MsSInit, MSStart (Msg Server 1 94) [msxxserv 0623]

Sat Apr 14 07:03:07 2007

CUSTOMER KEY: >D2141608251<

Sat Apr 14 07:07:29 2007

***LOG Q02=> MsSHalt, MSStop (Msg Server 94) [msxxserv 2251]

dev_w1:

-


trc file: "dev_w1", trc level: 1, release: "40B"

-


*

  • ACTIVE TRACE LEVEL 1

  • ACTIVE TRACE COMPONENTS all, M

*

M

M Sat Apr 14 07:03:35 2007

M ***LOG Q0Q=> tskh_init, WPStart (Workproc 1 275) [dpxxdisp 0831]

M calling db_connect ...

C Try to connect as default user

C TNSNAME = PRD

C Got 'G:\orant' for ORACLE_HOME from environment

C Got 'PRD' for SID from profile-parameter 'rsdb/oracle_sid'

C Got NLS_LANG=AMERICAN_AMERICA.WE8DEC from environment

C Try to connect as SAPR3/<pwd>@PRD on connection 0 ...

C *** ERROR => CONNECT failed with sql error '12505'

[dbsloci. 5986]

M ***LOG R19=> tskh_init, db_connect ( DB-Connect 000256) [thxxhead 0985]

M *** ERROR => tskh_init: db_connect (step 1, th_errno 13, action 3) [thxxhead 7266]

M

M *****************************************************************************

M *

M * LOCATION SAP-Server cyprd1_PRD_00 on host cyprd1 (wp 1)

M * ERROR tskh_init: db_connect

M *

M * TIME Sat Apr 14 07:03:35 2007

M * RELEASE 40B

M * COMPONENT Taskhandler

M * VERSION 1

M * RC 13

M * MODULE thxxhead.c

M * LINE 7314

M * COUNTER 1

M *

M *****************************************************************************

M

M ***LOG Q02=> wp_halt, WPStop (Workproc 1 275) [dpnttool 0433]

Please reply urgently.

Former Member
0 Kudos

as per your log i see following erros.

1) C *** ERROR => CONNECT failed with sql error '12505'

You can find more details Note 576919 - Composite SAP note ORA-12505

2) *** ERROR => DpHalt: gateway (pid 75) still alive ... [dpxxdisp 5008]

check for this PID and try to kill manually if this not getting killed after stop your SAP.

your R3trans -d should work.

Cheers,

-Sunil

Former Member
0 Kudos

hi sunil ,

so do u think error with listener configuration. How should i jump to that conclusion

as listerner is up and running and i have done configuration exactly as per document.

below is listener.ora for prd system: IN new oracle home 817new/admin/network

Listener.ora:

  1. LISTENER.ORA Network Configuration File: D:\oracle\Prd\817new\NETWORK\ADMIN\listener.ora

  2. Generated by Oracle configuration tools.

LISTENER =

(DESCRIPTION_LIST =

(DESCRIPTION =

(ADDRESS = (PROTOCOL = IPC)(KEY = PRD.WORLD))

)

(DESCRIPTION =

(ADDRESS = (PROTOCOL = IPC)(KEY = PRD))

)

(DESCRIPTION =

(ADDRESS = (PROTOCOL = TCP)(HOST = 172.16.3.19)(PORT = 1527))

)

)

SID_LIST_LISTENER =

(SID_LIST =

(SID_DESC =

(SDU = 32768)

(SID_NAME = PRD)

(ORACLE_HOME = D:\oracle\Prd\817new)

(PRESPAWN_MAX = 10)

)

)

################

  1. Filename......: listener.ora

  2. Created.......: created by SAP AG, R/3 Rel. >= 4.0A

  3. Name..........:

  4. Date..........:

################

Tnsnames.ora:

  1. TNSNAMES.ORA Network Configuration File: D:\oracle\Prd\817new\NETWORK\ADMIN\tnsnames.ora

  2. Generated by Oracle configuration tools.

INST1_HTTP =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP)(HOST = cyprd1)(PORT = 1521))

)

(CONNECT_DATA =

(SERVER = SHARED)

(SERVICE_NAME = PRD.WORLD)

(PRESENTATION = http://admin)

)

)

EXTPROC_CONNECTION_DATA =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))

)

(CONNECT_DATA =

(SID = PLSExtProc)

(PRESENTATION = RO)

)

)

PRD.WORLD =

(DESCRIPTION =

(ADDRESS_LIST =

(ADDRESS = (PROTOCOL = TCP)(HOST = cyprd1)(PORT = 1521))

(ADDRESS = (PROTOCOL = TCP)(HOST = cyprd1)(PORT = 1527))

)

(CONNECT_DATA =

(SID = PRD)

)

)

Former Member
0 Kudos

There is a problem with environment variable settings

as per your dev_w1: log your ORACLE_HOME is G:\orant

C TNSNAME = PRD

C Got 'G:\orant' for ORACLE_HOME from environment

and as per your listener configuration the environment variable for ORACLE_HOME is ORACLE_HOME = D:\oracle\Prd\817new

please correct this and after that it should work.

Chees,

-Sunil

Former Member
0 Kudos

sunil thats what i am trying to say dev_w1 is containing old entries just after upgrade , u can check entries are from 14.04.2007 , now i have changed env variables for prdadm as new oracle home.

C:\>set

COMPUTERNAME=CYPRD1

ComSpec=C:\winnt\system32\cmd.exe

dbs_ora_schema=sapprd

dbs_ora_tnsname=PRD

HOMEDRIVE=C:

HOMEPATH=\

LOGONSERVER=
CYPRD1

NLS_LANG=AMERICAN_AMERICA.WE8DEC

NUMBER_OF_PROCESSORS=1

ORACLE_HOME=D:\oracle\Prd\817new

ORACLE_SID=PRD

OS=Windows_NT

Os2LibPath=C:\winnt\system32\os2\dll;

Path=D:\Oracle\PRD\817NEW\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\WINNT\sy

iles\Network Associates\VirusScan Engine\4.0.xx\;;G:\usr\sap\PRD\sys\exe\run;D:

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

PROCESSOR_ARCHITECTURE=x86

PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 6, GenuineIntel

PROCESSOR_LEVEL=6

PROCESSOR_REVISION=0806

PROMPT=$P$G

SAPARCH=D:\oracle\PRD\saparch

SAPBACKUP=D:\oracle\PRD\sapbackup

SAPCHECK=D:\oracle\PRD\sapcheck

SAPDATA_HOME=D:\oracle\PRD

SAPLOCALHOST=cyprd1

SAPREORG=D:\oracle\PRD\sapreorg

SAPTRACE=D:\oracle\PRD\saptrace

SystemDrive=C:

SystemRoot=C:\winnt

TEMP=C:\TEMP

TMP=C:\TEMP

USERDOMAIN=CYPRD1

USERNAME=prdadm

USERPROFILE=C:\winnt\Profiles\prdadm

windir=C:\winnt

Former Member
0 Kudos

you have logged in as user prdadm and the environemnt variable is for user prdadm.

could you please check the SAP services, it may be starting with user SAPService try to change the owner to prdadm and start your SAP. or change the environment setting for SAPSerivce and start SAP

cheers,

-Sunil

Former Member
0 Kudos

sunil its an NT 4.0 system , do u really think sapSERVICE user would be appropriate to connect to SAP

Former Member
0 Kudos

i have tried to connect with user SAPserviceprd after changing its env variables

but still error is same.Do u think anything went wrong with listener.ora or tnsnames.ora, i am not getting any error message for connection with database.

Former Member
0 Kudos

which kernel level u will suggess for 4.0B system for oracle 8.1.7.4 version,

nothing as such mentioned in sap document .

Former Member
0 Kudos

Ajju,

Please try upgrading your kernel to 40B_COM with highest patch level

Regards,

Ammey Kesarkar

Former Member
0 Kudos

you can find this information in service.sap.com/pam

Cheers,

-Sunil

Former Member
0 Kudos

Thanks for all your posts ,

problem resolved by highest kernel 4.0B patch level.

Former Member
0 Kudos

well,

this is 4.0B and I assume that you are still running the old service executable sapntstartb.exe and not sapstartsrv.exe (which is the MMC one, introduced with 4.5B). You can check this by running

regedit

Have a look at HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\SAPPRD_??, Value of Variable ImagePath.

sapntstartb.exe was not able to automatically update the environment of the SAPService SAPRD_?? with the one of the <sid>adm user.

After changing <sid>adm's environment you have to run a small tool called ntenv2reg.exe, which will update the environment of the Service which is stored in HKEY_LOCAL_MACHINE\Software\SAP\<SID>\Environment

I also remember - 40B is a long time ago - that there was a possibility to run sapstartsrv.exe, the new MMC based executable. But I don't think that you are running it.

regards

Peter

Former Member
0 Kudos

is your R/3 up and running? if yes then no need to worry, if not then provide detailed log files for analysis. There may be problem with kernel i think after upgrade to latest kernel your MMC problem should go.

Cheers,

-Sunil

Former Member
0 Kudos

Also i am pasting few more things for ur reference.

C:\>R3trans -d

This is R3trans version 6.03 (release 40B - 08.05.98 - 13:03:12).

R3trans finished (0000).

C:\>tnsping prd

TNS Ping Utility for 32-bit Windows: Version 8.1.7.4.0 - Production on 16-APR-20

07 15:08:54

(c) Copyright 1997 Oracle Corporation. All rights reserved.

Attempting to contact (ADDRESS=(COMMUNITY=SAP.WORLD)(PROTOCOL=TCP)(HOST=cyprd1)(

PORT=1527))

OK (160 msec)

C:\>disp+work

-


R/3 kernel information

-


kernel release 40B

database library ora OCI_80400

compiled on NT 4.0 1381 Service Pack 3 x86 MS VC++ 11.

compile time Jun 8 1998 15:43:41

patch level 47

-


supported environment

-


database (SAP, table SVERS) 40A

40B

database kernel (vendor) ORACLE 8.0...*

operating system Windows NT 0 4

Former Member
0 Kudos

could you please try to run the R3trans from your Kernel directory (sapmnt/SID/exe) and try to get the result.

check the listner status.

login to DB and check the db status.

cheers,

-Sunil

Former Member
0 Kudos

Database is well up and running i was able to connect to R3 even after upgrade but after i applied patches 8.1.7.4 then i have done post upgrade activities and then this problem came.

C:\>lsnrctl service

LSNRCTL for 32-bit Windows: Version 8.1.7.4.0 - Production on 16-APR-2007 15:27

(c) Copyright 1998 Oracle Corporation. All rights reserved.

Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=PRD.WORLD)))

Services Summary...

PRD has 1 service handler(s)

DEDICATED SERVER established:2 refused:0

LOCAL SERVER

The command completed successfully

FY refernce.

G:\usr\sap\PRD\sys\exe\run>R3trans -d

This is R3trans version 6.03 (release 40B - 08.05.98 - 13:03:12).

R3trans finished (0000).