LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices



Reply
 
Search this Thread
Old 07-24-2004, 01:12 PM   #1
kheldar
Member
 
Registered: Jul 2004
Location: Nottingham, England
Distribution: Fedora 17, Centos 6.3 x86_64
Posts: 35

Rep: Reputation: 2
no listener error when trying to connect to oracle 10g on linux from windows client


Hi,

I've just installed an oracle 10g database on linux for the first time. The database is working fine, but I can't connect to it from a windows PC on the same lan.

Running tnsping on the server I get...
TNS Ping Utility for Linux: Version 10.1.0.2.0 - Production on 24-JUL-2004 18:02:56

Copyright (c) 1997, 2003, Oracle. All rights reserved.

Used parameter files:
/u01/app/oracle/product/10.1.0/db_1/network/admin/sqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = monolith)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = monolith)))OK (0 msec)

whereas on the windows client I get ...

TNS Ping Utility for 32-bit Windows: Version 9.0.1.4.1 - Production on 24-JUL-2004 18:04:45

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

Used parameter files:
C:\DevSuiteHome\network\admin\sqlnet.ora


Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = monolith)(PORT = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = monolith)))TNS-12541: TNS:no listener


The server does have a firewall enabled, but the lan card is set to trusted, and it still does this even if I disable the firewall.

To ensure that the same parameters were used, I have copied the tnsnames.ora and sqlnet.ora from the server to the relevant directory on the client, but that didn't help either.

Could anyone suggest anything I should try to get this sorted?

Thanks.

Last edited by kheldar; 07-24-2004 at 01:14 PM.
 
Old 07-25-2004, 05:00 AM   #2
kheldar
Member
 
Registered: Jul 2004
Location: Nottingham, England
Distribution: Fedora 17, Centos 6.3 x86_64
Posts: 35

Original Poster
Rep: Reputation: 2
I've figured it out - the hostname was defined in the /etc/hosts file as 127.0.0.1. Having put it's real IP address in the hosts file, the listener works fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error when installing Oracle 10G on FC4 fvillavi Fedora 4 09-16-2005 08:32 PM
Oracle 10g Client Connection Issue coolamit78 Linux - Networking 2 09-07-2004 09:05 AM
Error Starting Up Database in Oracle 10g linux_pioneer Linux - Software 0 08-26-2004 02:28 AM
Which executables are most useful in Oracle 10g Client? deanbrown3d Linux - Newbie 1 07-01-2004 03:43 PM
How to Startup Oracle Listener In the Linux Cluster Environment research2004 Linux - Enterprise 1 05-02-2004 12:30 AM


All times are GMT -5. The time now is 11:01 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration