Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1695
  • Last Modified:

ns main err code: 12535, TNS-12535: TNS:operation timed out, ns secondary err code: 12560

Hi Experts,

I'm migrating databases from a Windows 2003 to a Windows 2008 server. And I'm having a problem when testing one of the DBLinks which work fine on the Windows 2003, but whenever I try it on the Windows 2008 I get  a TNS - 12560 timeout error. I've checked both TNSNAMES and SQLNET files and they are both the same. In addition I did a TNSPING on the new machine and it failed, but when I Ping'ed the server I got a successful response I've checked log files but they report the same thing. Please help me solve this issue.

Thanks,
7Souls
0
7Souls
Asked:
7Souls
  • 4
  • 3
1 Solution
 
slightwv (䄆 Netminder) Commented:
99% of the time this error is a firewall issue.  If the 2008 server has a firewall, turn it off temporarily and try.
0
 
7SoulsData Analyst/Database AdministratorAuthor Commented:
Hi slightwv,

The firewall was off, I should have mentioned it in my post.

Thanks,
7Souls
0
 
slightwv (䄆 Netminder) Commented:
Check for a firewall between the new serer and the server you are linking to.
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
7SoulsData Analyst/Database AdministratorAuthor Commented:
How do I do that?
0
 
slightwv (䄆 Netminder) Commented:
Check with your network group, system administrators, etc...
0
 
7SoulsData Analyst/Database AdministratorAuthor Commented:
Hi slightwv,

I've just been informed that's what I need to do. I will let you know if that solve's the problem.

Thanks,
7Souls
0
 
Wasim Akram ShaikCommented:
---but when I Ping'ed the server I got a successful response

Just for your information...

Ping response is different from firewall connection(actually firewall is something which will block the ports between the host and guest)

ie., even when you are connected in same LAN you can block the connections between the system using a firewall.. ie., by blocking some particular ports between host and guest

in general database(listener) port by default it runs on 1521..(If not you have to check in listener.ora to which port that has been configured)

and you have to open the Bidirectional connectivity between the host and guest...

this can be checked using the telnet command

for ex: telnet <ip_address> <port_number>

telnet 192.10.xx.xxx 1521 (if this is success then it will give a blank screen else, it will display you a message trying to connect... and it will throw the same error which you have mentioned in your question .. TNS Operation Timed Out
0
 
7SoulsData Analyst/Database AdministratorAuthor Commented:
Thanks, slightwv...
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now