Oracle Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsDatabasesOracle Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 17th, 2003, 02:17 AM
Data-Base Data-Base is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 15 Data-Base User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Net8 problem !!!

Hello ... I have Oracle8i Database server ... on a server without Domain Name .. just a host name (Oracle-Server) and intern IP address (192.168.0.102).

how I can configure the (tnsnames.ora) and (listener.ora) so i can log into the data base from another PC in the same Network ???? IT should be easy ... but it keep saying the there is no listner or adepter error ... !!!!


My tnsnames.ora is:
===========================================
# C:\ORACLE\ORA81\NETWORK\ADMIN\TNSNAMES.ORA Configuration File:C:\Oracle\Ora81\NETWORK\ADMIN\tnsnames.ora
# Generated by Oracle Net8 Assistant

ORACLEDB =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(PORT = 1521)(HOST = Oracle-Server))
)
(CONNECT_DATA =
(SERVICE_NAME = oracledb)
)
)
============================================
My listener.ora is:
============================================
# C:\ORACLE\ORA81\NETWORK\ADMIN\LISTENER.ORA Configuration File:C:\Oracle\Ora81\network\admin\listener.ora
# Generated by Oracle Net8 Assistant

LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = Oracle-Server)(PORT = 1521))
)
)
)

ORACLEDB =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC0))
)
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = Oracle-Server)(PORT = 1521))
)
)
)

SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\Oracle\Ora81)
(PROGRAM = extproc)
)
(SID_DESC =
(GLOBAL_DBNAME = oracledb)
(ORACLE_HOME = C:\Oracle\Ora81)
(SID_NAME = ORACLEDB)
)
)

SID_LIST_ORACLEDB =
(SID_LIST =
(SID_DESC =
(SID_NAME = PLSExtProc)
(ORACLE_HOME = C:\Oracle\Ora81)
(PROGRAM = extproc)
)
)
============================================

Thank you all for your time.

Sarmad M. Azad
Førde, Norway

Reply With Quote
  #2  
Old November 17th, 2003, 08:58 AM
reiterje reiterje is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 2 reiterje User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You need to edit the tnsnames.ora file on the client PC that you wish to connect to the Oracle server from. Here is a snippet of a tns file:

# TNSNAMES.ORA Network Configuration File: C:\oracle\OraSrv\network\admin\tnsnames.ora
# Generated by Oracle configuration tools.

TEST = #(name of the databse)
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = %your servername here%)(PORT = 1521))
)
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = TEST) # (name of database)
)
)

Reply With Quote
  #3  
Old November 17th, 2003, 09:00 AM
cconstantine's Avatar
cconstantine cconstantine is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 60 cconstantine User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 18 m 25 sec
Reputation Power: 10
You can put the IP in the HOST= defintion in the tnsnames.ora file -- that goes on the client system. Also, in case you don't know... use 'tnsping' command to check your tnsnames.ora setup and oranet configuration.

-c

Reply With Quote
  #4  
Old November 17th, 2003, 11:24 AM
Data-Base Data-Base is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Posts: 15 Data-Base User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thank you all ... but what about listener.ora ... so I have to delete it ... or what i have to do with it !!!!


and can I put this (tnsnames.ora) in the sererver ....

and dose that mean that I don't need a domain name ???


sorry it's llok like stuped questions ... but I need to clear some thing in my mind :-)


Thank you alot for your time

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesOracle Development > Net8 problem !!!

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap