Connection log for bequeath connection [message #438610] |
Mon, 11 January 2010 03:25 |
suresh_gau@hotmail.com
Messages: 4 Registered: January 2010 Location: Kathmandu, Nepal
|
Junior Member |
|
|
Hello All,
We are known for that listener will no longer be used for oracle database connection if the connection is being requested from the server itself, it's called "Bequeath" connection.
I am searching such a log(something like listener log) which is maintained for "Bequeath" connection.
Can anybody suggest me how can I get the log of each "Bequeath" connection in a particular oracle database server.
Thanks in advance and Best Regards,
Suresh Gautam
|
|
|
|
|
Re: Connection log for bequeath connection [message #438618 is a reply to message #438616] |
Mon, 11 January 2010 04:00 |
suresh_gau@hotmail.com
Messages: 4 Registered: January 2010 Location: Kathmandu, Nepal
|
Junior Member |
|
|
Hello John,
Thanks a lot for your quick response. We need to consider something like trigger based solution for auditing "create session", which will add additional overhead to the database. Listener log can give you details of connection establish through the listener log. Adding trigger based solution only for logging bequeath connection is no longer suitable for me.
Thanks and Best Regards,
Suresh Gautam
|
|
|
|
Re: Connection log for bequeath connection [message #438646 is a reply to message #438610] |
Mon, 11 January 2010 06:55 |
suresh_gau@hotmail.com
Messages: 4 Registered: January 2010 Location: Kathmandu, Nepal
|
Junior Member |
|
|
Michel,
I can't disable to log listener log for some other reasons.
Do we have any option to disable bequeath connection in the database server?
If we disable bequeath connection, user will be enforced to use service name even if they are requesting the connection from the same server.
Thanks and Best Regards,
Suresh Gautam
|
|
|
|
|
|
Re: Connection log for bequeath connection [message #438699 is a reply to message #438698] |
Mon, 11 January 2010 22:41 |
|
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
I then did
SQL> CONNECT SCOTT/TIGER
which produced following audit log file
cat /u01/app/oracle/admin/v102/adump/ora_2278.aud
Audit file /u01/app/oracle/admin/v102/adump/ora_2278.aud
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
ORACLE_HOME = /u01/app/oracle
System name: Linux
Node name: bcm-laptop
Release: 2.6.28-17-generic
Version: #58-Ubuntu SMP Tue Dec 1 18:57:07 UTC 2009
Machine: i686
Instance name: v102
Redo thread mounted by this instance: 1
Oracle process number: 20
Unix process pid: 2278, image: oracle@bcm-laptop (TNS V1-V3)
Mon Jan 11 20:37:59 2010
LENGTH: "247"
SESSIONID:[7] "3261340" ENTRYID:[1] "1" STATEMENT:
[1] "1" USERID:[5] "SCOTT" USERHOST:[10] "bcm-laptop" TERMINAL:[5] "pts/2" ACTION:[3] "100" RETURNCODE:
[1] "0" COMMENT$TEXT:[26] "Authenticated by: DATABASE" OS$USERID:[3] "bcm" PRIV$USED:[1] "5"
The listener is down because I do all my connections to local DB
[Updated on: Tue, 12 January 2010 12:27] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|