Listener question
Hello All,
I have oracle 10g and 9i running on Solaris 9. The 9i was installed after 10g was installed. Now I cannot get 9i listner to work properly and getting following error messages and not sure how to resolve it.
TNS-12542: TNS:address already in use
TNS-12560: TNS:protocol adapter error
TNS-00512: Address already in use
Solaris Error: 125: Address already in use
12618, 00000, "TNS:versions are incompatible"
Any pointers and help will be appreciated.
Thanks
You may not need to run the two listeners. Register the 9i Database with the 10g Listener and restart the listener.
Or
As mentioned already check the file $ORACLE_HOME/network/admin/Listener.ora for both 10g and 9i. Change the default port for one of the two homes and restart the listener ouy the home you changed.
Note: It is better to change the latest Listener that no TNS connections have already been configured to use in order not to go reconfiguring tnsnames.ora files. So the choice of which home's listener port to change should be make carefully.
Similar Messages
-
Hi
All,
First question
When I do some minor modification in tnsnames.ora. Do I Need to stop and start listener again.
Second question
And If I want to stop and start listener Do I need to stop all the databases before I can stop and start listener ? (9i and 10g)
Thanks,
VishalWhen I do some minor modification in tnsnames.ora. Do I Need to stop and start listener again.No, tnsnames.ora is totally independant to the listener.
And If I want to stop and start listener Do I need to stop all the databases before I can stop and start listener ? (9i and 10g)No, the listener is used only to connect new client to the server, once the connection is done, listener is not used anymore for that connection.
Note you can reload instead of stop and start the listener.
Micolas. -
11.2.0.3 upgrade to 12.1.0.2 - listener question
I am currently doing a database upgrade from 11.2.0.3 to 12.1.0.2. The server has a number of other 11g database instances which have not yet been upgraded and the listener on teh server is 11g. Should i be creating a 12c listener for the upgrade i.e. having two listeners on the same server or what's the best way to tackle this scenario? thank you.
You don't need the 12c listener for the upgrade. Create the 12c listener.ora file, but do not start the listener. Once the upgrade completes, shut down the 11g listener and start the 12c listener.
Alternatively, install the 12c binaries, create the 12c listener.ora file, shutdown the 11g listener, start the 12c listener, then perform the upgrade. -
Hi all
Would anyone be able to point me in the right direction as to trouble shoot the following. On one of my RAC nodes I am getting the following.
When I run: srvctl status listener
I get
PRCR-1035 : Failed to look up CRS resource for ora.listener.type
PRCR-1068 : Failed to query resources
Cannot communicate with crsd
When I run: lsnrctl services listener
I get
LSNRCTL for 64-bit Windows: Version 11.2.0.2.0 - Production on 13-JUN-2011 14:55
:00
Copyright (c) 1991, 2010, Oracle. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=tcp)(HOST=)(PORT=1521))
The listener supports no services
The command completed successfully
Thanks to anyone who can point me in the right direction.Hi there - please see below:
Node2:
CRS-601: Internal error
RC: 11, File: clsCheckParser.cpp, Line: 907
CRS-4000: Command Check failed, or completed with errors.
CRS-4535: Cannot communicate with Cluster Ready Services
CRS-4000: Command Status failed, or completed with errors.
Node1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
A Big list of reourceses appears for the status resource command for Node 1
Thanks -
ORA - Listener question!!
Hi Friends,
In the listener.ora parameter is set to ADMIN_RESTRICTIONS_LISTENER = ON
To rotate the log without having to download the listener, we need these restrictions are in 'OFF'.
Is it imperative for the proper functioning of SAP on Oracle ADMIN_RESTRICTIONS_LISTENER is in 'ON'?
Thanks in advance.
Martin Sello> In the listener.ora parameter is set to ADMIN_RESTRICTIONS_LISTENER = ON
Ok....
> To rotate the log without having to download the listener, we need these restrictions are in 'OFF'.
What? "Download" the listener?
Why would you need to have the ADMIN_RESTRICTIONS off in order to get a new listener log file?
How about just restarting the listener?
(I mean you are the DBA of this machine and you know the password, don't you ? )
> Is it imperative for the proper functioning of SAP on Oracle ADMIN_RESTRICTIONS_LISTENER is in 'ON'?
Nope, SAP does not know about this setting.
In fact no Oracle client would ever know about it.
It's a server side setting.
It's just about the listener.
cheers,
Lars -
Hi,
I was wondering what kind of listener I would use to detect enter being pressed in a JComboBox.
I tried an actionListener but this sends actionEvents at far too many times, I want to limit what I'm doing to only when the user presses enter in the JComboBox.
It seems rather odd that a keyListener can't be used with a JComboBox, or at least according to the API specifications...
All help is very appreciated!!The JComboBox itself just has the text field and then the down arrow, correct? Like if I am writing in that text field I am writing in the JComboBox? Basically all i need is a way to do something when the user presses 'enter', but not when all the other various things that trigger ordinary action events are fired. Using a keyListener to find out whether the key pressed was 'enter' seemed like the best way to do this, but if key events aren't even getting sent when the focus is in the text portion of the JComboBox that may not be the case. If there's anyway i can explain the problem better I'd be happy to do so.
Thanks -
Hi all
I have a 2 node RAC and when I run the command lsnrctl services on node 2 I get a list of services back, but when I run the same on node 1 I get
The listener supports no services
is this normal or should I be receiving a list on both nodes?
I am basically trying to get to the bottom of why one of my databases on this RAC implementation keeps giving me a Io exception: The Network Adapter could not establish the connection in EM, but I have not managed to find an actual error number for this yet.
Thanks
Edited by: Kwisatz78 on Jul 4, 2011 8:21 AMHi there
I looked at that link. Both my Listener.ora files are the same, they both say the following:
LISTENER=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER)))) # line added by Agent
LISTENER_SCAN3=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN3)))) # line added by Agent
LISTENER_SCAN2=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN2)))) # line added by Agent
LISTENER_SCAN1=(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=IPC)(KEY=LISTENER_SCAN1)))) # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN1=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN2=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER_SCAN3=ON # line added by Agent
ENABLE_GLOBAL_DYNAMIC_ENDPOINT_LISTENER=ON # line added by Agent
This is strange to me and am thinking its because we are using a RAC system that the Listener.ora is like this. The thing is they are both the same anyway yet only one node is pulling back information correctly. Could the endpoints be the problem as per my post above?
Thanks -
Hey, I have implemented a mouse listener that populated fileds when a row of a JTable is selected but how can I check to see if the row clicked (mousebuttonReleased) was selected prior to being clicked? I want to do this so if the user clicks an already selected row it will deselect it. Ideas?
Thanks
Doopsteruskeep a variable that holds the last selected row index and if the new row clicked matches, do nothing, else do something and change the variable.
-
Tooltip/mouse listener question
Hi all-
I have a panel that contains various components that a user can move around. This is done by attaching a mouse listener and determining which component is currently being clicked/dragged.
For a particular panel, I would like to display the x,y coordinates of a component in a tooltip, preferably while the user is moving it (which may not be possible with tool tips), but at least so that a user can see the updated coordinates after the component has been moved.
However, when I setToolTipText for the component, it seems to override the mouse clicked events, and I can no longer even detect a click on the component.
Is there a way that I can use tooltips and detect mouse clicks on the same component? Am I missing something simple, or do I need to find another way to do what I want to?
Thanks
GregI searched posts last night but not today...oops.
Found one today where a suggestion to something similar by mpmarrone was to use a Popup. It's now working, although I'm still not sure why tool tip text seems to take control of the mouse listener... -
Final Cut Express Audio Listening Question
I just installed Final Cut Express and have imported an iMovie project. When I listen to it the audio does not play. Instead I get a beeping sound. The wave forms show that the audio is there but I can't listen to it and I can't turn off the beeping. Is there an easy explanation for this?
Many thanks.
BTW, I also exported the iMovie as a quicktime movie and then imported it. Got the same result even though the quicktime movie playes perfectly.
MacBook Mac OS X (10.4.8)Thanks, that seems to be the problem. Not very satisfactory though.
How do I render the audio as is suggested in the link?
MacBook Mac OS X (10.4.8) -
Hey guys
Just wondering if there is a way to change a keyboard listener I have set up, so that instead of reacting instantly when it hears a key_UP event, it waits to see if there's another KEY_UP within, say 50ms?
Cheers
ShaunUse Timer class:
var myTimer:Timer = new Timer(50, 1);
function keyUpHandler(event:KeyboardEvent):void
if (myTimer.running)
myTimer.stop();
// code to do what you want after second KEU_UP within 50 ms
}else{
myTimer.start(); -
Hi,
I need to add a window listener to a JFrame so as to run a method when another programm gains the focus or the window is Iconfied.
I thoughth that windowDeactivated would be ok but this doesn't seem to work. I suppose i don't have to use the windowIconfied method; there must be another method which runs when the window loses the focus or it is iconfied.
Any help please?Well, i want to listen to the frame events and do sth each time
For example
public void windowDeactivated(WindowEvent e){
System.out.println("Window Deactivated");}using the above code shouldn't print "Window Deactivated" every time window is iconfied or another programm or folder gets the focus? -
We had 7 DBs running from 10gR2 home. I upgraded all these DBs to 11.2.0.2. Now , from the new 11.2 Home I have a created a listener called
lsnrcommon11g which is up but not serving any databases .ie
The listener supports no servicesContents of listener.ora
lsnrcommon11g =
(DESCRIPTION=
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = tcp)
(HOST = manh289.gpac.net)
(PORT = 27845)
ADMIN_RESTRICTIONS_lsnrcommon11g=ONNow what should I do to get all these 7 DBs being served by the 11gR2 listener ?GarryB wrote:
We had 7 DBs running from 10gR2 home. I upgraded all these DBs to 11.2.0.2. Now , from the new 11.2 Home I have a created a listener called
lsnrcommon11g which is up but not serving any databases .ie
The listener supports no servicesContents of listener.ora
lsnrcommon11g =
(DESCRIPTION=
(ADDRESS_LIST =
(ADDRESS =
(PROTOCOL = tcp)
(HOST = manh289.gpac.net)
(PORT = 27845)
ADMIN_RESTRICTIONS_lsnrcommon11g=ONNow what should I do to get all these 7 DBs being served by the 11gR2 listener ?put it on the standard port of 1521 so the instances can self register with it
Or fix the 'local_listener' parameter in each databse.
I'd prefer the first. Why are you wanting to run your listener on 27845 -
Hi,
What are the TreeListener/TreeModel methods that would be called if I
1. double click on a row
2. expand/collaps a node
Thanks in advance.
OlekA quick summary:
TreeModelListener
treeNodesChanged
treeNodesInserted
treeNodesRemoved
treeStructureChanged
TreeExpansionListener
TreeWillExpandListener
ExpandVetoException
TreeSelectionListener -
hi,
I hav one doubt regarding listener .question is,
is it possible to run more than one listener at a time?
so far i know is only one listener can be run at a time and can listen for more than one database.
But in the document itz given that "multiple listeners can also listen on behalf of a single database to perform load balancing".so i didnt understand at this point.....
so is it possible to run more than one listener.
can any one explain me abt this plz?
With Regards
BooAfter configuring as you said :
Still I Am not able to tnsping to 9i through 10g
#tnsnames at 10g
test=
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = surbhi)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = aj)
Tnsping fails
C:\oraclexe\app\oracle\product\10.2.0\server\BIN>tnsping test
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 07-DEC-2
006 11:00:47
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oraclexe\app\oracle\product\10.2.0\server\network\admin\sqlnet.ora
TNS-03505: Failed to resolve name
Albeit listesner configured as you stated above
LSNRCTL for 32-bit Windows: Version 10.2.0.1.0 - Production on
LSNRCTL> STATUS
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias listener
Version TNSLSNR for 32-bit Windows: Version 10.2.0.1.0 - Produ
ction
Start Date 07-DEC-2006 10:49:32
Uptime 0 days 0 hr. 3 min. 15 sec
Trace Level off
Security ON: Local OS Authentication
SNMP OFF
Default Service XE
Listener Parameter File C:\oraclexe\app\oracle\product\10.2.0\server\network\a
dmin\listener.ora
Listener Log File C:\oraclexe\app\oracle\product\10.2.0\server\network\l
og\listener.log
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=surbhi.Secf.com)(PORT=1522)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=127.0.0.1)(PORT=8081))(Presentation=
HTTP)(Session=RAW))
Services Summary...
Service "CLRExtProc" has 1 instance(s).
Instance "CLRExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "PLSExtProc" has 1 instance(s).
Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
Service "XE" has 2 instance(s).
Instance "XE", status UNKNOWN, has 1 handler(s) for this service...
Instance "xe", status READY, has 1 handler(s) for this service...
Service "XEXDB" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
Service "XE_XPT" has 1 instance(s).
Instance "xe", status READY, has 1 handler(s) for this service...
The command completed successfully
LSNRCTL> SET CURRENT_LISTENER LISTENER_9
Current Listener is LISTENER_9
LSNRCTL> STATUS
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC0)))
STATUS of the LISTENER
Alias LISTENER
Version TNSLSNR for 32-bit Windows: Version 9.2.0.1.0 - Produc
tion
Start Date 06-DEC-2006 16:48:31
Uptime 0 days 18 hr. 4 min. 50 sec
Trace Level off
Security OFF
SNMP OFF
Listener Parameter File C:\oracle\ora92\network\admin\listener.ora
Listener Log File C:\oracle\ora92\network\log\listener.log
(ENDPOINT=(HANDLER=(HANDLER_MAXLOAD=0)(HANDLER_LOAD=0)(ESTABLISHED=0)(REFUSED=
0)(HANDLER_ID=010F2F81353C-4C91-91B2-1A5002AB870D)(PRE=any)(SESSION=NS)(DESCRIPT
ION=(ADDRESS=(PROTOCOL=ipc)(PIPENAME=\\.\pipe\EXTPROC_FOR_XEipc)))))
The command completed successfully
Maybe you are looking for
-
Function Module for getting person under position
Hi all, I have a requirement where I need to get all the person under a position and need to forward the workitem to those person. Is there any Function module is available which will give the person for that position?. Please help in this regard. Re
-
Serious Album Art Question!
here is the situation, for the songs i have purchased it works perfectly, however, for other songs that i have that i have applied album art too, even though when i select it in the iTunes the album art is the same for the whole album, for other albu
-
Build view with data rows from one of two views.
Hello. I've got problem with PL/SQL. I have built two PL/SQL views. Now I have to write a third view based on the data from "view_1" or "view_2". "view_2" contains all data rows but "view_1" contains special information. If the needed data rows (it's
-
when I perform a search with bing, the results are displayed in a new tab. I don't want a new tab or window to display the results. This just started happening tonight. My first initial searches for a cause said it was a setting in bing. I wasn't abl
-
Hi, Over the weekend I upgraded a No. of 4402 Wireless LAN controllers to Code 7.0.220.0, the upgrade went smoothly with all Access Points migrating over, the existing SSIDs that were in place prior to the upgrade are functioning as expected today. H