Operating System - HP-UX
1752862 Members
4307 Online
108791 Solutions
New Discussion юеВ

Why an ORACLE listener needs running /usr/sbin/lanscan ?

 
SOLVED
Go to solution
Jdamian
Respected Contributor

Why an ORACLE listener needs running /usr/sbin/lanscan ?

Hi

After removing setUID of /usr/sbin/lanscan I found that an ORACLE listener cannot start up ?

What does an ORACLE listener need execute /usr/sbin/lanscan command ?

Thanx in advance
4 REPLIES 4
Rajeev  Shukla
Honored Contributor
Solution

Re: Why an ORACLE listener needs running /usr/sbin/lanscan ?

I guess it does a basic check by running the lanscan to see if the network interface is UP or not and there after runs the listener service. Also dont remove the setUID or SetGID of any files in /usr/bin or usr/sbin
other wise it will effect other applications too.

Cheers
Rajeev
T G Manikandan
Honored Contributor

Re: Why an ORACLE listener needs running /usr/sbin/lanscan ?


When client programs are invoked on HP-UX, the hardware address is obtained by using "lanscan".
It has to have the setUID permissions.
Else things wont work!!
Thierry Poels_1
Honored Contributor

Re: Why an ORACLE listener needs running /usr/sbin/lanscan ?

hi,

lanscan is a fairly harmless command (if not used every millisecond), so no reason to remove SETUID.

Lanscan is used by Oracle to get the hardware addresss.

There were issues with lanscan on Oracle 8.0.x (bug 869343 & bug 1201812).

Best regards,
Thierry.
All unix flavours are exactly the same . . . . . . . . . . for end users anyway.
Yogeeraj_1
Honored Contributor

Re: Why an ORACLE listener needs running /usr/sbin/lanscan ?

hi,
*
see metalink note 105862.1 about something related.
*
Basically, lanscan allows the hardware address to be obtained when invoking a client connection. The listener uses it!
*
regards
Yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)