I'm having some small problem with adding a new listner. Originally I had just FUNK, and today I wanted to add TEST. I've done this before on an 8.0.5 and an 8.1.6 installation (right now I'm using 8.1.6) and didn't have a problem, maybe I'm just missing something trivial.
If no listeners are running, I can start the listener for funk, but then when I try to start test, it says "Listener using name funk has already been started".
Or, if no listeners are running, I can start the listener for test, but when I try to start funk, it says "Listener using name test has already been started".
For some reason it's not recognizing that I want to start the other listner. I'm using just "lsnrctl start test", or "lsnrctl start funk". Either one will start individually, but if I try to start the second one, it thinks I'm trying to start the first one again.
Any ideas? Figure I just need another pair of eyes. My listener.ora is below.
Actually both lsnrctl service and lsnrctl status give me
<font face="courier">
oralmc@irad-rms:/d01/app/oralmc> lsnrctl service
LSNRCTL for Solaris: Version 8.1.6.0.0 - Production on 02-FEB-2001 15:11:39
(c) Copyright 1998, 1999, Oracle Corporation. All rights reserved.
Connecting to (ADDRESS=(PROTOCOL=ipc)(KEY=PNPKEY))
TNS-01103: Protocol specific component of the address is incorrectly specified
TNS-12541: TNS:no listener
TNS-12560: TNS:protocol adapter error
TNS-00511: No listener
Solaris Error: 2: No such file or directory
oralmc@irad-rms:/d01/app/oralmc>
</font>
Which has happened even with the old version of the database that was set up by Oracle clients before I got on the job. If you knew how to fix that it would be great too.
lsnrctl status funk yeilds
<font face="courier">
.....variables....
Services Summary...
PLSExtProc has 1 service handler(s)
funk has 1 service handler(s)
The command completed successfully
</font>
however if I try to start test by "lsnrctl start test", it fails with the error I mentioned, but when I do "lsnrctl status funk" again I get
<font face="courier">
.... variables ....
Services Summary...
PLSExtProc has 1 service handler(s)
funk has 1 service handler(s)
funk has 2 service handler(s)
test has 2 service handler(s)
The command completed successfully
</font>
It's not clear why this is happening, except for a possible bug.
I duplicated your situation on my NT network and it (8.1.5) gave me no problems. I could start either one or both listeners from the command line.
What seems to occur is that when you specify a particular listener it runs the whole file, so that both listeners are always started. This would be the same as if you ran "LSNRCTL START" without specifying the name of the individual listener.
This amounts to your having no problem, doesn't it? Both listeners are up. Is that a bad thing?
I can't figure out the "service" listing problem you showed.
If I run just "lsnrctl start", the listener for FUNK starts, but I still get
ORA-12203: TNS:unable to connect to destination
when I try to connect to TEST. I switched the order in the file just to see if it was starting the first one, but it still starts up FUNK and not TEST.
But as I said, TEST starts and runs fine if I start it individually when no other listeners are running.
Everything seems to be configured properly, it's identical to lots of listeners that have worked before, the tnsnames.ora on the client side is correct. I'm not sure what the deal is.
Removing GLOBAL_DBNAME didn't make a difference, thanks for the suggestion though.
You modified your listener.ora file using Net 8 assistant I presume.
Maybe turdcan the whole thing and start from scratch with Net8 and make a new listener.ora file.
Maybe reinstall the listener program. I dunno.
Problem solved, for anybody wondering you can't have two IPC entries in the listener.ora file. I removed the one for TEST and everything started up as expected.
Bookmarks