question
atul, November 18, 2002 - 9:14 pm UTC
Sir,
How to set other listener as other user (nobody)..
and how to start it by logging it to other user??
Thanks.
atul
November 18, 2002 - 9:29 pm UTC
You log into the other user and you start it.
su - nobody -c <some script>
as root for example. You would create a script that sets up the proper environment (oracle_home, path, etc) and run lsnrctl start
Listening multiple ports on one listener
Ogun, June 11, 2003 - 2:32 am UTC
Hi Tom,
We are using MTS, and we want to configure a listener that listens two ports. Our aim is to configure one port to listen connections as dedicated, and the other port to listen connections as shared. What is the way to do this ?
June 11, 2003 - 7:02 am UTC
see the net admin guide for details on configuring a listener.ora file OR use the net assistant tool (gui) to do it.
Listener questions
Arun Gupta, March 03, 2004 - 2:21 pm UTC
Tom,
The listeners are giving me a hard time. I have following questions:
a) In 8i onwards, automatic service registration registers the database with default listener. Should the default listener have the name LISTENER and PORT 1521 or can any named listener (say LISTENER_XYZ) listening on port 1521 becomes the default listener?
b) I just installed a 10g database on a server which is already running 9i databases. The 10g database automatically registered with 9i listener. Whenever I try to connect to 10g database, I get an error that listener failed to spawn a dedicated server process. To get around this, I created a second 10g listener on port 1421. Is there a better way ?
Thanks
March 03, 2004 - 4:20 pm UTC
a) any listener, it is the "default port" that is connects to -- doesn't really care about the name.
b) you should use just the 10g listener for all, if you use the highest versioned listener, you can get away with a single listener for all databases. running more than one listener works fine however.
Can I rename the listener log file while the listener is up?
A reader, April 25, 2006 - 12:58 pm UTC
Hi Tom,
Can I rename the listener log file in Linux while the listener is up and accepting connections?
Will the rename of the file cause any problems?
Or should I shutdown the listener to do this?
Thanks for any help on this.
April 25, 2006 - 2:29 pm UTC
hmmm, it should be ok, a simple test would bear this out
a) rename it
b) if a new file appears with the old name - it is safe (meaning the listener opens the log file, seeks to the end, writes a message, closes it)
c) if a new file does not appear after it should - it is not safe
I have not tried that out - but it would be simple to test. If we write to it like the alert log, it would be safe.
Can I rename the listener log file while the listener is up?
A reader, April 25, 2006 - 2:51 pm UTC
Thanks for answering me Tom.
I have tried that (rename it and wait to see the new file as the alert log works) but it did not work so I changed it back.
I guess the only way to create the new file is to shutdown the listener and create the new file.
Thanks
Dave, April 25, 2006 - 2:57 pm UTC
there is another way
cp listner.log listener.log.old
cat /dev/null > listener.log
do what you will with old log
listeners on RAC,
A reader, April 25, 2006 - 3:22 pm UTC
Do we need to have listeners running on all the nodes of a RAC database?
How about agent if we are using grid control?
What is the difference between grid control and OEM?
Thanks,
April 25, 2006 - 11:51 pm UTC
You do not need to have listeners running on all nodes, in fact - you don't need a listener on any of them (the listener could be on yet another machine all together)
OEM is now called EM Grid Control in 10g. It is the next generation of OEM.
A reader, April 25, 2006 - 3:23 pm UTC
Thanks for tip Dave.
Have you tried your suggestion on a linux enviroment? Did you have any issues after doing the cp and the cat /dev/null?