I am trying to accessing my Oracle database over Network. I have Google a lot and found many solutions, but those doesn't work for me.
The problem is that, I want to access my Oracle Database from One Computer to another Computer over my Local Network.
What I did is....
- I found a Solution to modify listener.ora file with
(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=dbp.devProject.com)(PORT=1521)))
When I modify this file and tried to run and access the Database nothing will happens, and it throws an Error, the port number you have specified is used by another listener, so i have changed port Number but I am not able to access Database. 2. I have configure a new listener with the help of oracle's tool Net Manager, which made a Listener for me, but it does not make accessible database over Network.
Here Some required results.
- lsnrctl status : Listener using listener name LISTENER has already been started.
- Connection String : jdbc:oracle:thin:@dbp.devProject.com:4541:myDB
- Database Version :
- Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
- PL/SQL Release 11.2.0.1.0 - Production
- CORE 11.2.0.1.0 Production
- TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
- NLSRTL Version 11.2.0.1.0 - Production
status shows me this.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias : LISTENER
Version : TNSLSNR for 64-bit Windows: Version 11.2.0.1.0 - Production
Start Date : 14-MAY-2015 11:58:05
Uptime : 0 days 2 hr. 29 min. 50 sec
Trace Level : off
Security : ON: Local OS Authentication
SNMP : OFF
Listener Parameter File : product\11.2.0\dbhome_1\network\admin\listener.ora
Listener Log File : \listener\alert\log.xml
Listening Endpoints Summary...
1. (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC1521ipc)))
2. (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Someone please Help me. Thanks for your Help..
lsnrctl status
show? Which listener (if either) is your database registered against (lsnrctl services
for both)? How exactly are you trying to connect - address, port, service name/SID; in fact the whole connection string? – Wickerlsnrctl status
and your connection string. and please mention the database version. – Abortivelsnrctl status
2> connection string 3> DB version – Abortivelistener.ora
, or you should be using the service name rather than the SID. You don't seem to have any SIDs or service names in the status output though, if that is complete. Is your database up? – Wickerlsnrctl status
i have found this Issue) . I have just changed the Port Number following with Host Name and it Works. Thank You so Much Guys... :) @AlexPoole, @LalitKumarB and @Carisacarissa One more Question why and how should this Happens?? Why it takes port number randomly while i'm providing it.? – Cloth