Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Problem upgrading from Windows 2000 Oracle 8.0.6 to Oracle 9.2.0.1.0

RE: Problem upgrading from Windows 2000 Oracle 8.0.6 to Oracle 9.2.0.1.0

From: Paul Vincent <Paul.Vincent_at_uce.ac.uk>
Date: Wed, 23 Jun 2004 10:50:02 +0100
Message-ID: <14C5F9616FF43F479F67E41A1DF4D94A02048EC9@exchangeb.staff.uce.ac.uk>


Rob,

Your idea struck a chord - we've had virus-checker-related problems on our servers in the past, and the server in question does indeed use McAfee virus scanner. So I disabled all the virus-checker's functions. Tried again and... still got the same errors.

A shame - it was a neat idea, so thanks again.

Paul

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of rob zijlstra Sent: 23 June 2004 09:01
To: oracle-l_at_freelists.org
Subject: RE: Problem upgrading from Windows 2000 Oracle 8.0.6 to Oracle 9.2.0.1.0

Paul,

I had problems like this, only with a LOCAL installation (W2K, Ora 9.0.2).
Everything worked flawlessly and then one day, the db worked fine, but forms, reports, toad all gave the message 'TNS unable to connect to destination'.
After two weeks of testing everything that could be tested, I finally realized that on the 'problem starting' day I installed an update of the McAfee virus scanner.
I disabled it, and you guessed it: everything worked fine. I now have Norton
anti virus and no problems.
Maybe you could look at this in your system (Firewall also ??)

Greetings,
Rob Zijlstra

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]
On Behalf Of Paul Vincent
Sent: woensdag 23 juni 2004 09:40
To: oracle-l_at_freelists.org
Subject: RE: Problem upgrading from Windows 2000 Oracle 8.0.6 to Oracle 9.2.0.1.0

Thomas,

OK, I've tried copying over the tnsnames.ora, listener.ora and sqlnet.ora files to the 9.2 network\admin directory. I then tried running the upgrade assistant with ONLY the 8.0 listener running, and got the usual error. Then tried with ONLY the 9.2 listener running, same error. Finally tried with both listeners running - first time with the same .ora files, second times with the entries for the database removed from the 9.2 .ora files. Both times gave the same, usual 12203 error. The detailed error messages in the sqlnet.log file each time are:

Fatal NI connect error 12203, connecting to:
=3D20

(DESCRIPTION=3D3D(ADDRESS_LIST=3D3D(ADDRESS=3D3D(PROTOCOL=3D3DBEQ)(PROGRA= M=3D3Dora
c=3D
le80)(ARG
V0=3D3Doracle80DLIB)(ARGS=3D3D'(DESCRIPTION=3D3D(LOCAL=3D3DYES)(ADDRESS=3D= 3D(PROTO
C=3D
OL=3D3Dbeq)))
')))(CONNECT_DATA=3D3D(SID=3D3DDLIB)(CID=3D3D(PROGRAM=3D3Dd:\oracle\ora80= \bin\sv
r=3D
mgr30.e
xe)(HOST=3D3DDIGLIB3)(USER=3D3DAdministrator))))

  VERSION INFORMATION:

	TNS for 32-bit Windows: Version 8.0.6.0.0 - Production
	Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version
8.0.6.0.0 - Production
  Time: 23-JUN-04 08:21:25
  Tracing not turned on.
  Tns error struct:
    nr err code: 12203
    TNS-12203: TNS:unable to connect to destination     ns main err code: 12560
    TNS-12560: TNS:protocol adapter error     ns secondary err code: 0
    nt main err code: 530
    TNS-00530: Protocol adapter error
    nt secondary err code: 0
    nt OS err code: 0

Incidentally, the reason I've not pursued this with Oracle UK, via a TAR, is that MetaLink is currently regarding our license keys as invalid, so I'm waiting for my line manager to get that little issue resolved with our Account Manager. (These things always happen at the most inopportune moments!).

So, as ever, I'm open to any further suggestions, to say the least!

Best regards,

Paul Vincent
Database Administrator
University of Central England

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Paul Vincent Sent: 22 June 2004 07:39
To: oracle-l_at_freelists.org
Subject: RE: Problem upgrading from Windows 2000 Oracle 8.0.6 to Oracle 9.2.0.1.0

I'm following the Oracle 9.2 DB Migration documentation, and using the DB Upgrade Assistant to do this, and it makes no mention of manually switching listeners. Hence I'm loath to do so, since one of the things DBUA does is to change over from the old listener to the 9.2 listener.

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Thomas Day Sent: 21 June 2004 14:04
To: oracle-l_at_freelists.org
Subject: RE: Problem upgrading from Windows 2000 Oracle 8.0.6 to Oracle 9.2.0.1.0

Try starting an Oracle 9 listener. I'm not sure if an 8.0.6 listener can
be used by a 9.2 client.

=3D3D20

                      "Paul Vincent"

                      <Paul.Vincent            To:
<oracle-l_at_freelists.org>
                      @uce.ac.uk>              cc:

                      Sent by:                 Subject: RE: Problem
upgrading from Windows 2000 Oracle 8.0.6 to Oracle 9.2.0.1.0      =

=3D3D20
oracle-l-bounce

=3D3D20

=3D3D20

                      06/21/2004 03:29

                      AM

                      Please respond

                      to oracle-l

=3D3D20

=3D3D20

Thanks Jared (and to Thomas Day also) for the suggestion. I've copied over the tnsnames.ora file, (and also the listener.ora and sqlnet.ora files for good measure) to the 9.2 network\admin directory, bounced everything and tried again, but with exactly the same result. Obviously I'm missing something really obvious, but my brain's just seized up on this one. Any further ideas would be REALLY welcome!

In case it helps, here's the essential information:

Services running are the 8.0.6 listener, and the 8.0.6 database instance services.

The Global Name, db_name and db_domain of the database are DLIB.WORLD, dlib and WORLD respectively.

When I run the 9.2 database upgrade assistant it lists: "Oracle SID: DLIB, OracleHome: d:\oracle\ora80".

The message when I try to proceed is "ORA-12203: TNS: unable to connect to destination".

The tnsnames.ora file (which I've now copied to the 9.2 network\admin directory) contains:

# D:\ORACLE\ORA80\NET80\ADMIN\TNSNAMES.ORA Configuration File:d:\oracle\ora80\net80\admin\tnsnames.ora # Generated by Oracle Net8 Assistant

DLIB.WORLD =3D3D3D
  (DESCRIPTION =3D3D3D
    (ADDRESS =3D3D3D (PROTOCOL =3D3D3D TCP)(HOST =3D3D3D diglib3)(PORT =
=3D3D3D =3D

1521))

    (CONNECT_DATA =3D3D3D (SID =3D3D3D dlib))   )

EXTPROC_CONNECTION_DATA.WORLD =3D3D3D
  (DESCRIPTION =3D3D3D
    (ADDRESS =3D3D3D (PROTOCOL =3D3D3D IPC)(Key =3D3D3D EXTPROC0))     (CONNECT_DATA =3D3D3D (SID =3D3D3D extproc))   )

The listener.ora file (also copied over to 9.2 directory) contains:

# D:\ORACLE\ORA80\NET80\ADMIN\LISTENER.ORA Configuration File:d:\oracle\ora80\net80\admin\listener.ora # Generated by Oracle Net8 Assistant

PASSWORDS_LISTENER=3D3D3D (oracle)

LISTENER =3D3D3D
  (ADDRESS_LIST =3D3D3D

    (ADDRESS =3D3D3D (PROTOCOL =3D3D3D IPC)(KEY =3D3D3D oracle.world))
    (ADDRESS =3D3D3D (PROTOCOL =3D3D3D IPC)(KEY =3D3D3D EXTPROC0))
    (ADDRESS =3D3D3D (PROTOCOL =3D3D3D NMP)(SERVER =3D3D3D DIGLIB3)(PIPE =

=3D3D3D
=3D
=3D3D

ORAPIPE))
    (ADDRESS =3D3D3D (PROTOCOL =3D3D3D TCP)(HOST =3D3D3D DIGLIB3)(PORT =
=3D3D3D =3D

1521))
  )

SID_LIST_LISTENER =3D3D3D
  (SID_LIST =3D3D3D
    (SID_DESC =3D3D3D

      (SID_NAME =3D3D3D extproc)
      (PROGRAM =3D3D3D extproc)

    )
    (SID_DESC =3D3D3D
      (GLOBAL_DBNAME =3D3D3D DIGLIB3)
      (ORACLE_HOME =3D3D3D d:\oracle\ora80)
      (SID_NAME =3D3D3D dlib)

    )
  )

The sqlnet.ora file (also copied over) contains:

# D:\ORACLE\ORA80\NET80\ADMIN\SQLNET.ORA Configuration File:d:\oracle\ora80\net80\admin\sqlnet.ora # Generated by Oracle Net8 Assistant

NAME.DEFAULT_ZONE =3D3D3D world

NAMES.DEFAULT_DOMAIN =3D3D3D world

#sqlnet.authentication_services =3D3D3D (NONE)

SQLNET.EXPIRE_TIME =3D3D3D 0 SQLNET.ENCRYPTION_SERVER =3D3D3D requested

SQLNET.ENCRYPTION_CLIENT =3D3D3D requested

NAMES.DIRECTORY_PATH=3D3D3D (TNSNAMES, HOSTNAME) I hope someone can see the obvious mistakes here - they're not obvious to me (he says, feeling very, very dim!)

Best regards,

Paul

Paul Vincent
Database Administrator
University of Central England
-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org]On Behalf Of Jared.Still_at_radisys.com
Sent: 17 June 2004 17:26
To: oracle-l_at_freelists.org
Subject: Re: Problem upgrading from Windows 2000 Oracle 8.0.6 to Oracle 9.2.0.1.0

You likely need to investigate the 9.2 tnsnames.ora file. It probably needs to be modified to include the 8.0.6 database information.

The DBCA is getting the info from the registry, but that doesn't help you with creating a database connection.

Jared

"Paul Vincent" <Paul.Vincent_at_uce.ac.uk>
Sent by: oracle-l-bounce_at_freelists.org

06/17/2004 07:37 AM

Please respond to
oracle-l_at_freelists.org

To
<oracle-l_at_freelists.org>

cc

Subject
Problem upgrading from Windows 2000 Oracle 8.0.6 to Oracle 9.2.0.1.0

Hi everybody,

I've just installed Oracle 9.2.0.1.0 onto a Windows 2000 server which was currently running Oracle 8.0.6 with a single instance on it. I noticed that during the installation, I wasn't presented with the Upgrading An Existing Database screen. This may be significant! I didn't think anything of it, since I intended to run the Database Upgrade Assistant independently after installing 9.2.

The installation went smoothly. I then checked that the 8.0.6 db instance was still up and running, by connecting to it from my office workstation. Yes, fine. Back to the server, and I fired up Database Upgrade Assistant from the Oracle 9.2 program group. After the Welcome screen it showed the panel which did indeed list my 8.0.6 database. I selected it, gave a userid with the necessary SYSDBA privileges, and a password, and clicked on next. Then I got an error message: ORA-12203: TNS unable to connect to destination.

Now, presumably this means I've got something wrongly configured on the server, such that it can't connect to its own local database. Any ideas at all, as to where I should start looking, would be very greatly appreciated!

Best regards,

Paul Vincent
Database Administrator
University of Central England



Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Wed Jun 23 2004 - 04:46:46 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US