How to find the listener port on windows?
Hi Friends,
We have a client who is still using Oracle 8.0.6 on NT 4.0
I have a laptop with oracle client 10g.
I want to connect to the NT database to check it.
How do I know what port does the listener used ? what is the command to run at the c:\ command prompt?
I tried> c:\ lsnrctl stat but the command is not recognized
I tried to find the lsnrctl and bin but there is not.
Please help
Thanks a lot
ytterp2009 wrote:
Please help.. and please do NOT post [duplicate posts|http://forums.oracle.com/forums/thread.jspa?threadID=935282&tstart=0]
How to find the listener port on windows?The Internet Protocol stack comes with a number of utilities - one of these, called netstat, is very useful to determine which processes are doing what to which IP ports on that platform. Unfortunately, different flavours are implemented. So the Windows one does not support the parameters and output than the Unix/Linux one.
You can use the following on Windows (run it via a command console) to see what processes are listening on what address and port number:
c:\> netstat -n -a -p tcp
-n = display IP addresses and ports in numeric format
-a = list all ports (including ones used for listening
-p tcp = only display protocol entries for TCP An Oracle listener entry should look something as follows:
Proto Local Address Foreign Address State
TCP 0.0.0.0:1521 0.0.0.0:0 LISTENINGSeeing IP +0.0.0.0+ means that the Listener is accepting connections on all your network interfaces - which is standard. The port number is typically 1521. The foreign address is meaningless for a port in listening state.
PS. Why not simply check the listener.ora configuration file? Because what is actually happening may not be what you thought you configured to happen..
Similar Messages
-
How to change the listener port number on a standby database
i want to change the listener port number from 1525 to 1545, which is running on a standby database.
i did the following steps and got some error.
1. i stop listener and modfy listener.ora
2. i login in standby DB and issue 'alter system set local_listener='(address=(pro=tcp)(host=10.10.10.10)(port=1545))';'
3. i login in dg broker and issue 'edit database 's1' set property 'LocalListenerAddress'='(address=(pro=tcp)(host=10.10.10.10)(port=1545))';' and a error coming out ORA-16703: cannot set the property while the database is enabled
4. then i disable database
DGMGRL> disable database 'ssmscs';
5. DGMGRL> edit database 's1' set property 'LocalListenerAddress'='(address=(pro=tcp)(host=10.10.10.10)(port=1545))';
Error: ORA-16541: site is not enabled
Configuration details cannot be determined by DGMGRL
what can i do ? can anybody help me out? thanks in advance.
Edited by: user1835127 on Nov 19, 2008 2:09 AMHi
You have to edit the following files in $ORACLE_HOME/network/admin or $TNS_ADMIN/ :
In your listener.ora on your standby
MQ_LIST =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = superman.dk)*(PORT = 1524))*
TNSNAMES.ORA (on your primary and standby)
MQ_LIST =
(DESCRIPTION =
(ADDRESS = (COMMUNITY = tcp.world)(PROTOCOL = TCP)(Host = superman.dk)*(PORT = 1524))*
(CONNECT_DATA = (SID = MQ_LIST))
after that do
lsnrctl reload -
Hi all
I know there are many threads on this, but i just can't seem to find one which tells me the program to run which tells me the port number.
I'm trying to start the SDM by using the SDM Gui and I need the port number.
Thanks - PeterHi Peter
Generally the SDM port number will be 5<nr>18, where nr = instance number.
1. if your instance number is 00 then SDM port would be 50018.
If the above is not clear,
check in http://<hostname>:port/
get into "system information", you can see details of dispatcher, server0 and SDM.
Hope this is clear to you.
Satish Kumar.
Reward Points if this is useful -
How to find the entries of component windows?
Hello together!
I have a problem. I built up a new ui component with several windows and views. But there was an issue with one of my new windows. After creating a new one it was not displayed in the list of the component structure browser. So I decided to create it again. That was the fault, but the issue was the same - not displayed. So I closed all of my gui windows and opened a new one. After accessing to the component browser for my individual component via /nbsp_wd_cmpwb I got a dump!
ITAB_DUPLICATE_KEY
Now there are two entries with the same key.
So I want to find those entries in order to delete die second one, but where can I find it?
Thank you very much!
MarcusFixed it!
Found it with transaction SE80, BSP Appl 'MyBSP..'.
Deleted the line in the XML File.
Now it works fine! -
Using VISA can not find the com port
I use visa read but can't find any com port in Windows 7.
How can i find the com port in Windows 7??
由 jw2002 在 06-28-2009 09:20 AM
上編輯的訊息
由 jw2002 在 06-28-2009 09:20 AM
上編輯的訊息
Solved!
Go to Solution.Windows 7 is not officially supported by National Instruments as it hasn't even been released. That means you won't get any official support from NI on this.
That said, does your computer actually recognize a serial port? Do you have an actual serial port, or do you have some sort of virtual COM port, or are you using some sort of adapter, such as a USB to serial port box? If it's any of the latter, the most likely reason is a driver issue which needs to be written to be compatible with Windows 7. -
Changing the listening ports of ARD
I know how to change the listening port of SSH from 22 to some other number.
Is there any way to configure ARD (in plist maybe?) so that it can try connecting to SSH on a non-default port number.
Whilst I know how to secure SSH (not properly secured in OS X by default) I would rather change it's listening port to avoid the traffic that will simply try to bruteforce in.
So if I edit ssh_config and sshd_config on my Macs will this break ARD? Or if these conf files are properly edited (ssh_cnfig on client changed to port 22222 and sshd_config on server changed to 22222) will ARD connect seamlessly?
In short does ARD absolutely need Remote Login (SSH) to be running on the default port 22?hmm okay, but i don't need to port forward 22 from my router to my mac to allow ARD access, only ports 5900, 5988 and 3283.
That improves things since 22 is not visible to the WAN.
Still, I'd like to know the answer to my question in the previous post.
And what about re-mapping VNC from 5900 (another obvious target although prob not vulnerable to VNC exploits since I expect Apple have modified this service and somehow hooked it into the authentication of the ssh protocol)?
Message was edited by: doz -
How to find the main window?
Hi, can someone help me. I cant find the main multi track window. Ive looked in the window drop bar and searched with no luck and its starting 2 get annoying. Please any info would help
I got it from a mate who's doing a music degree. Its the educational version its authentic. I was having problems with it just shutting down on me in the middle of a session so I re-installed the programme then when i ran it ther were no windows. I had to click on the window bar to make them appear but i dont know how th make the main multi track window appear? I installed the patch but still no change. Its probably somthing i have to open ye?
-
How to find the product key on a preinstalled version of Windows 8?
This is a similar qustion:
https://forums.lenovo.com/t5/Windows-8-and-8-1-Knowledge-Base/How-to-find-the-product-key-on-a-prein...
But its not actually explaining which part of the BIOS menu contains the windows key.
I see a UUID number -- but that doesmt match the windows 8 5x5 code format. SO!
where can I locate the windows 8 key in the BIOS?On recent ThinkPad, the Product ID Key sticker has been moved from the bottom of the unit to behind the battery.
You need to contact Lenovo technical support directly to ask about recovery media. -
How to find the port # of OEM?
How to find the port # in the Oracle enterprise Manager URL (http://mydatabase:xxxx/em/). I have installed the Oracle long back did not jot down the URL. How to find the XXXX number in this case?
Oracle 10g R2.
Thank you,
Smithcheck following file in
$ORACLE_HOME/install
cat portlist.ini
iSQL*Plus HTTP port number =5560
Enterprise Manager Console HTTP Port (orcl) = 1158
Enterprise Manager Agent Port (orcl) = 3938 -
How to find all JMX ports on a server?
How to find all jmx ports on particular server (say localhost) on windows
I have multiple JVM's running on my local server, and there is extensive use of JXM mbeans by the applications running on each server. So I want to connect to all these JMX servers and to instrument the MBeans using Jconsole(Jconsole localhost:<port>). But I don't know the port numbers, and its not logged by the application.
How do I find all the ports jmx servers connected?
Note : In my case I can not instrument using the PID.
thanks,
bala KHi kajbj,
I tried stop/start the application, but couldn't find any difference in the netstat command. I know it should show the JMX port (I am able to see on a test application), but this application's JMX port usage is missing.
netstat -ano --> Do i need to use any other commands?
I just injected few lines of code ( to list the MBeanServers programatically), to this application (did some usual tweaks to let this code execute at some time) and its listing couple of MBeanServers and lot of MBeans.
MBeanServerFactory.findMBeanServer(null); and so on.....
Is there a way to get the port using the Management API's?
thanks,
bala K -
Find out listener port number in linux?
hi, can anyone tell me how i find out the listener port number in linux?
sti..l getting the same error (please see below)
oracle@matt-desktop:~$ lsnrctl start
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 19-JUL-2010 16:39:19
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Starting /u01/app/oracle/product/11.2.0/dbhome_1/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version 11.2.0.1.0 - Production
System parameter file is /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Log messages written to /u01/app/oracle/diag/tnslsnr/matt-desktop/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 19-JUL-2010 16:39:21
Uptime 0 days 0 hr. 0 min. 0 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/matt-desktop/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
The listener supports no services
The command completed successfully
oracle@matt-desktop:~$ lsnrctl status
LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 19-JUL-2010 16:39:38
Copyright (c) 1991, 2009, Oracle. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC1521)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for Linux: Version 11.2.0.1.0 - Production
Start Date 19-JUL-2010 16:39:21
Uptime 0 days 0 hr. 0 min. 32 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Listener Parameter File /u01/app/oracle/product/11.2.0/dbhome_1/network/admin/listener.ora
Listener Log File /u01/app/oracle/diag/tnslsnr/matt-desktop/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC1521)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=1521)))
Services Summary...
Service "orcl" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
Service "orclXDB" has 1 instance(s).
Instance "orcl", status READY, has 1 handler(s) for this service...
The command completed successfully
oracle@matt-desktop:~$ cd $ORACLE_HOME/bin
oracle@matt-desktop:/u01/app/oracle/product/11.2.0/dbhome_1/bin$ ./emca -config dbcontrol db -repos create
STARTED EMCA at 19-Jul-2010 16:40:32
EM Configuration Assistant, Version 11.2.0.0.2 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: orcl
Listener port number: 1521
Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0/dbhome_1 ]:
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
You have specified the following settings
Database ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/dbhome_1
Local hostname ................ matt-desktop
Listener ORACLE_HOME ................ /u01/app/oracle/product/11.2.0/dbhome_1
Listener port number ................ 1521
Database SID ................ orcl
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: y
19-Jul-2010 16:40:56 oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2010_07_19_16_40_32.log.
19-Jul-2010 16:40:57 oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
19-Jul-2010 16:40:57 oracle.sysman.emcp.EMReposConfig invoke
SEVERE: Error creating the repository
19-Jul-2010 16:40:57 oracle.sysman.emcp.EMReposConfig invoke
INFO: Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_repos_create_<date>.log for more details.
19-Jul-2010 16:40:57 oracle.sysman.emcp.EMConfig perform
SEVERE: Error creating the repository
Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2010_07_19_16_40_32.log for more details.
Could not complete the configuration. Refer to the log file at /u01/app/oracle/cfgtoollogs/emca/orcl/emca_2010_07_19_16_40_32.log for more details.
oracle@matt-desktop:/u01/app/oracle/product/11.2.0/dbhome_1/bin$
=========================================================
========================================================
The log file is 571 lines...
is it anything to do with this stage: --->
Listener ORACLE_HOME [ /u01/app/oracle/product/11.2.0/dbhome_1 ]:
im not actually entrering anything, im just clicking enter??
Edited by: user9200169 on 19-Jul-2010 08:45 -
How to Find the number of Databases in a server.
HI,
Please tell me how to find the number of Databases are in a server . when the DB is not up.
ps -ef | grep ora_
This i know whether our DB is up or not. But i want to know how many databases are in a server .If the database is down .
Cheers,
Gobi.Hi,
[oracle@oralinux admin]$ lsnrctl status
LSNRCTL for Linux: Version 9.2.0.4.0 - Production on 01-DEC-2006 16:25:41
Copyright (c) 1991, 2002, Oracle Corporation. All rights reserved.
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC)))
TNS-01169: The listener has not recognized the password
[oracle@oralinux admin]$
Plz give me the solution.
Cheers ,
Gobi. -
How to find the number of ODBC connections to Oracle Database
Hi All,
How to find the number of ODBC connections and all connections to the Database in last week. Are there any views to get this information?
Thanks in advance,
MahiWhat Ed said is true that Oracle doesn't note which type of protocol is connecting to the database, however, you can see which program is accessing the database.
For example: if you already know of a user using ODBC, you can verify as:
select username, osuser, terminal, program from v$session where username = 'SCOTT'
USERNAME OSUSER TERMINAL PROGRAM
SCOTT IUSR_SRV231 SRV231 w3wp.exe
SCOTT IUSR_SRV231 SRV231 w3wp.exe
2 rows selected.Assuming that you can confirm the progam noted in the above (example) is the one using ODBC, then you can change the query such as:
SQL> select username, osuser, terminal, program from v$session where program = 'w3wp.exe';
USERNAME OSUSER TERMINAL PROGRAM
SCOTT IUSR_SRV231 SRV231 w3wp.exe
SCOTT IUSR_SRV231 SRV231 w3wp.exe
2 rows selected.Just for kicks, I checked our listener.log file, but there was no reference of odbc in it either.
Hope this helps... -
How to find list of all open windows?
Hi,
I was wondering how to find a list of all open windows on the
desktop. I have been able to use this to find the number of open
windows in the AIR application:
var windows:Array =
NativeApplication.nativeApplication.openedWindows;
test.text = String(windows.length);
I cant seem to get the list of all open windows on the
desktop though or the names of the windows.
Any pointers would be appreciated.
Thanks!Thanks anirudhs. I had a feeling this was the case. It just
seemed odd that the built-in function calls like orderToBack() and
orderToFront actually put the AIR windows behind or in front of all
the windows on the desktop. Somehow AIR is finding the list of open
windows on the desktop. I just didnt know if there was some way to
access AIR's way of finding the windows. Guess it must be a
protected function. Thanks! -
My MacBook Pro can't find the FireWire port
My MacBook Pro (OSX 10.6.8) can not find the FireWire port. Until now there hasn't been any problems using the FireWire, but now it just deny any knowledge of it, so to speak.
The audio device lights up when I connect it to the MBP (yes, I did connect it when in off-mode), so it seems to work in a way.
Does anyone recognize this problem and knows how to solve it?
/JohanLaMarHave you tried following through the trouble shooting tips in this knowledge base article on Firewire?
Maybe you are looking for
-
VPN on 10.3.9 server doesn't work
Hi evrybody, i have a problem with vpn on Mac OS X Server 10.3.9 on a powermac with two ethernet; All the configuration on the server seems to be ok, i turned on the l2tp, i turned off the firewall (so i can't have port problem), i told to the server
-
Help! Just did the Update (ML 10.8.4) after receiving a new HD since mine crashed last week and the shop didn't update it back to Mavricks which I had previously done...and now my Mac won't let me past the log in screen even with correct password en
-
PDF Toolbar in IE7 Grayed Out. Why?
We are using Acrobat Standard 8 and IE7. We are experiencing an issue with the PDF toolbar in IE7. Sometimes the toolbar is grayed out and at other times it is not. This seems to happen randomly. During a recent training class, all participants vi
-
Error Message 150:30 in Elements 8
I have Elements 8. It was working fine, but now when I try to open a photo to edit, it give me the message Error 150:30, which is apparently a licensing glitch. Restarting the computer does not fix it. Help!
-
Snow Leopard 10.6.3 em PC intel
Bom dia, Instalei a versão que hum leão los Meu computador intel, e Localidade: Não Consigo inastalat Motorista de vídeo, gostaria de saber se ma Placas de Vídeo espe ci ficas Para funcionar bem o grafic ou oque devo fazer?