Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: How to find a listener service without running lsnrctl servic
List
This problem is solved thanks to Chuck Hamilton suggestion. I thank all the list members who took their time in suggesting the solution.
Following is the solution given by Chuck Hamilton.
You can do what you want by using the setuid bit. On some version of unix you may need a kernel parameter change to allow shell scripts to run with the setuid bit turned on.
Any user can now run the script, and even read the script, but can't see the password because he can only cat the script, not the password file.
Thank You Chuk Hamilton.
Rao
Maheswara.Rao_at_SunGardP3.com
Hi DBAs,
I would like to find out whether a specific listener service is up or not without running the command ---> lsnrctl services. Is there any way I can do this through a shell script or unix command?
My environment : Solaris 2.7 : Oracle 8.0.4
Thanks for your help,
Rao
Maheswara.Rao_at_SunGardP3.com
-- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Rao, Maheswara INET: Maheswara.Rao_at_Sungardp3.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-LReceived on Thu Feb 22 2001 - 02:42:18 CST
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
![]() |
![]() |