Operating System - HP-UX
1753753 Members
4847 Online
108799 Solutions
New Discussion юеВ

Re: Export from 8.1.7.4 and Import to 8.0.5

 
SOLVED
Go to solution
Patti Johnson
Respected Contributor

Re: Export from 8.1.7.4 and Import to 8.0.5

You said "From the production server I can tnsping the local database on that server but not the remote database (test server)."

If the tnsnames.ora entry is the same for the test database on both servers - then it sounds like the production server can not resolve the name of the test server. Do you have the host= set to the ip address of the server or the hostname. If you are using the hostname and you can not do a ping of the test host from the production server that could be your problem.
Try changing the host entry to the ip address of the test server. Also verify the environment variable TNS_ADMIN, if set, points to the correct location of the tnsnames.ora. If it is not set the default is $ORACLE_HOME/network/admin

If this does not work please post the results of these commands from your production server
1. tnsping
2. echo $TNS_ADMIN
3. and the tnsnames.ora entry from the production server for the test instance.
Also from the test server
4. tnsping

Patti


Adrian Sobers2
Super Advisor

Re: Export from 8.1.7.4 and Import to 8.0.5

Patti,

From Production Server:

1) oracle:INLAND8>tnsping TESTDB

TNS Ping Utility for HPUX: Version 8.1.7.4.0 - Production on 23-NOV-2004 14:25:04

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

Attempting to contact (ADDRESS=(PROTOCOL=TCP)(HOST=INLAND3)(PORT=1521))
TNS-12535: TNS:operation timed out
oracle:INLAND8>


2) oracle:INLAND8>echo $TNS_ADMIN
sh: TNS_ADMIN: Parameter not set.


3) TESTDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = INLAND3)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = IRDS)
)
)


From Test Server

1) TESTDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = INLAND3)(PORT = 1521))
)
(CONNECT_DATA =
(SERVICE_NAME = IRDS)
)
)


Adrian Sobers2
Super Advisor

Re: Export from 8.1.7.4 and Import to 8.0.5

Patti,

Ooops, from Test Server should read:

oracle:INLAND3>tnsping IRDS

TNS Ping Utility for HPUX: Version 8.0.5.0.0 - Production on 23-NOV-04 13:28:24

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

Attempting to contact (ADDRESS=(PROTOCOL=TCP)(Host=INLAND3)(Port=1521))
OK (80 msec)
oracle:INLAND3>
Patti Johnson
Respected Contributor

Re: Export from 8.1.7.4 and Import to 8.0.5

tnsnames.ora looks correct.
From production can you
ping INLAND3
Does it work? How long does it take.
If you can ping the test server from production, but the delay is long then check the listener.ora file for the connection_timeout parameter. If this value is set low increasing it or setting a value of 0 will make the wait indefinite.
If the problem is a slow network this may help you around it until you can resolve the newwork issue.
Metalink note 119706.1 has more information on the TNS-12535 error.
If you cannot ping the hostname try the ip address.
Adrian Sobers2
Super Advisor

Re: Export from 8.1.7.4 and Import to 8.0.5

Patti,

I cannot ping test server from production server.

I have already set the CONNECT_TIMEOUT value to 0 in my listener.ora but it still does not work

I think it has to do with routing information. What about you?
Patti Johnson
Respected Contributor

Re: Export from 8.1.7.4 and Import to 8.0.5

If you can not ping the test server from production then that's it. Can you ping the ip address?
Adrian Sobers2
Super Advisor

Re: Export from 8.1.7.4 and Import to 8.0.5

Patti,

Nope, cannot ping the IP address of TEST from PRODUCTION either.

bummer...

Patti Johnson
Respected Contributor

Re: Export from 8.1.7.4 and Import to 8.0.5

bummer...

Until the production server can talk to the test server - sqlnet can't work.

Looks like a question for the network forum.

Good Luck!
Adrian Sobers2
Super Advisor

Re: Export from 8.1.7.4 and Import to 8.0.5

thanks all, especially Patti ;)