- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Accessing the database instance from a remote mach...
Operating System - HP-UX
1752387
Members
5993
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2004 05:56 PM
тАО08-22-2004 05:56 PM
Hi ,
How do I access the database instance from a remote machine on the listener port using Oracle Client and Toad software.
I am able to connect toad and oracle client but it is showing the following error- ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
Regards
Kiran
How do I access the database instance from a remote machine on the listener port using Oracle Client and Toad software.
I am able to connect toad and oracle client but it is showing the following error- ORA-12514: TNS:listener could not resolve SERVICE_NAME given in connect descriptor
Regards
Kiran
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2004 06:05 PM
тАО08-22-2004 06:05 PM
Re: Accessing the database instance from a remote machine on the listener port
Hi there.
Check your net configuration.
Try to put the server with the database on it in the hosts file on your system, where you try to connect to the database.
Then start the net config assistant to check your settings. There is a step in the net config, where you can check the connection.
Setup the user and password to whatever you need and test the connection. Another way is the tnsping of the database.
tnsping $ORACLE_SID
Rgds
Alexander M. Ermes
Check your net configuration.
Try to put the server with the database on it in the hosts file on your system, where you try to connect to the database.
Then start the net config assistant to check your settings. There is a step in the net config, where you can check the connection.
Setup the user and password to whatever you need and test the connection. Another way is the tnsping of the database.
tnsping $ORACLE_SID
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2004 06:33 PM
тАО08-22-2004 06:33 PM
Solution
Hi Kiran,
On the remote machine where you have Oracle client installed did you complete the Net configuration.
If you did then you will see the file tnsnames. ora file in the $ORACLE_HOME/netwrok/admin/ directory (Eg: if the remote machine was your PC and you installed Oracle clinet on your C drive in C:\oracle directory then tnsnames file will be located at C:\oracle\network\admin\tnsnames.ora. Adn this file should have the following entry.
host_sid.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =)(PORT = 1521))
)
(CONNECT_DATA =
(SID =)
(SERVER = DEDICATED)
)
)
Here the host is the server name on whoch the oracle database is, sid_name is the database name.
The above is all for the clinet side. Then on the other server where the database is physically located make sure the listener is runing. Similar to the above you will have the tnsnames.ora and listener.ora files located in $TNS_ADMIN directory and make sure the listener is runing by lsntctl status commnad.
If all is done as above then the simple test to see if you can connect to the database from the remote machine, is at the command prompt type tnsping where name is the name that you specisied in the tnsnames.ora file on the client side.
Then you can logon to the database using TOAD.
I hope this helps.
Indira A
On the remote machine where you have Oracle client installed did you complete the Net configuration.
If you did then you will see the file tnsnames. ora file in the $ORACLE_HOME/netwrok/admin/ directory (Eg: if the remote machine was your PC and you installed Oracle clinet on your C drive in C:\oracle directory then tnsnames file will be located at C:\oracle\network\admin\tnsnames.ora. Adn this file should have the following entry.
host_sid.WORLD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST =
)
(CONNECT_DATA =
(SID =
(SERVER = DEDICATED)
)
)
Here the host is the server name on whoch the oracle database is, sid_name is the database name.
The above is all for the clinet side. Then on the other server where the database is physically located make sure the listener is runing. Similar to the above you will have the tnsnames.ora and listener.ora files located in $TNS_ADMIN directory and make sure the listener is runing by lsntctl status commnad.
If all is done as above then the simple test to see if you can connect to the database from the remote machine, is at the command prompt type tnsping
Then you can logon to the database using TOAD.
I hope this helps.
Indira A
Never give up, Keep Trying
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP