Discussion:
ORA-01940: cannot drop a user that is currently connected
mayur nagarsheth
2010-10-02 16:11:41 UTC
Permalink
Hello,



I am working on an issue where I need to drop users. These users have no
objects, no active sessions but still it gives me below error: L



*ORA-01940: cannot drop a user that is currently connected*



Has any one come across such an issue or does any one have suggestions other
than bouncing the database? I am still searching for other alternative.



I have rasied SR with Oracle but nothing seems to be effective until now and
only suggests for startup restrict and drop the user.


FYI, I checked the following just to ensure several things pertaining to
the user



1) select s.sid, s.serial#, s.status, p.spid

from v$session s, v$process p

where s.username = 'ACOSTA'

and p.addr (+) = s.paddr;

- no rows selected



2) Checked that the user is not associated with any active jobs:



select job from dba_jobs where log_user='ACOSTA';

- no rows selected





3) Finally, checked that the user is not associated with any Streams
replication queues:



select

queue_table,

qid

from

dba_queues

where owner='ACOSTA';

- no rows selected



select

apply_name

from

dba_apply

where

queue_owner='ACOSTA';

- no rows selected



select

capture_name,

queue_name,

from

dba_capture

where

queue_owner='ACOSTA';

- no rows selected



select

propagation_name

from

dba_propagation

where

source_queue_owner='ACOSTA'

or

destination_queue_owner='ACOSTA';

- no rows selected





Thank you!
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth

http://lyle.smu.edu/~mnagarshet/
Saurabh Sood
2010-10-02 16:28:20 UTC
Permalink
Hi,

you can set 10046 trace before using drop user command and check what are
the recursive statements that are getting executed while this drop user
command.

Regards,
Saurabh Sood
www.askdba.org/weblog
Post by mayur nagarsheth
Hello,
I am working on an issue where I need to drop users. These users have no
objects, no active sessions but still it gives me below error: L
*ORA-01940: cannot drop a user that is currently connected*
Has any one come across such an issue or does any one have suggestions
other than bouncing the database? I am still searching for other
alternative.
I have rasied SR with Oracle but nothing seems to be effective until now
and only suggests for startup restrict and drop the user.
FYI, I checked the following just to ensure several things pertaining to
the user
1) select s.sid, s.serial#, s.status, p.spid
from v$session s, v$process p
where s.username = 'ACOSTA'
and p.addr (+) = s.paddr;
- no rows selected
select job from dba_jobs where log_user='ACOSTA';
- no rows selected
3) Finally, checked that the user is not associated with any Streams
select
queue_table,
qid
from
dba_queues
where owner='ACOSTA';
- no rows selected
select
apply_name
from
dba_apply
where
queue_owner='ACOSTA';
- no rows selected
select
capture_name,
queue_name,
from
dba_capture
where
queue_owner='ACOSTA';
- no rows selected
select
propagation_name
from
dba_propagation
where
source_queue_owner='ACOSTA'
or
destination_queue_owner='ACOSTA';
- no rows selected
Thank you!
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth
http://lyle.smu.edu/~mnagarshet/ <http://lyle.smu.edu/%7Emnagarshet/>
--
SAURABH SOOD
ORA-DBA
Taral Desai
2010-10-04 13:15:12 UTC
Permalink
If this is RAC then also check gv$session.
Post by Saurabh Sood
Hi,
you can set 10046 trace before using drop user command and check what are
the recursive statements that are getting executed while this drop user
command.
Regards,
Saurabh Sood
www.askdba.org/weblog
On Sat, Oct 2, 2010 at 9:41 PM, mayur nagarsheth <
Post by mayur nagarsheth
Hello,
I am working on an issue where I need to drop users. These users have no
objects, no active sessions but still it gives me below error: L
*ORA-01940: cannot drop a user that is currently connected*
Has any one come across such an issue or does any one have suggestions
other than bouncing the database? I am still searching for other
alternative.
I have rasied SR with Oracle but nothing seems to be effective until now
and only suggests for startup restrict and drop the user.
FYI, I checked the following just to ensure several things pertaining to
the user
1) select s.sid, s.serial#, s.status, p.spid
from v$session s, v$process p
where s.username = 'ACOSTA'
and p.addr (+) = s.paddr;
- no rows selected
select job from dba_jobs where log_user='ACOSTA';
- no rows selected
3) Finally, checked that the user is not associated with any Streams
select
queue_table,
qid
from
dba_queues
where owner='ACOSTA';
- no rows selected
select
apply_name
from
dba_apply
where
queue_owner='ACOSTA';
- no rows selected
select
capture_name,
queue_name,
from
dba_capture
where
queue_owner='ACOSTA';
- no rows selected
select
propagation_name
from
dba_propagation
where
source_queue_owner='ACOSTA'
or
destination_queue_owner='ACOSTA';
- no rows selected
Thank you!
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth
http://lyle.smu.edu/~mnagarshet/ <http://lyle.smu.edu/%7Emnagarshet/>
--
SAURABH SOOD
ORA-DBA
--
Thanks & Regards,
Taral Desai
mayur nagarsheth
2010-10-04 14:55:39 UTC
Permalink
There are no jobs existing with these users. Also, it is not on RAC.
Post by Taral Desai
If this is RAC then also check gv$session.
Post by Saurabh Sood
Hi,
you can set 10046 trace before using drop user command and check what are
the recursive statements that are getting executed while this drop user
command.
Regards,
Saurabh Sood
www.askdba.org/weblog
On Sat, Oct 2, 2010 at 9:41 PM, mayur nagarsheth <
Post by mayur nagarsheth
Hello,
I am working on an issue where I need to drop users. These users have no
objects, no active sessions but still it gives me below error: L
*ORA-01940: cannot drop a user that is currently connected*
Has any one come across such an issue or does any one have suggestions
other than bouncing the database? I am still searching for other
alternative.
I have rasied SR with Oracle but nothing seems to be effective until now
and only suggests for startup restrict and drop the user.
FYI, I checked the following just to ensure several things pertaining to
the user
1) select s.sid, s.serial#, s.status, p.spid
from v$session s, v$process p
where s.username = 'ACOSTA'
and p.addr (+) = s.paddr;
- no rows selected
select job from dba_jobs where log_user='ACOSTA';
- no rows selected
3) Finally, checked that the user is not associated with any Streams
select
queue_table,
qid
from
dba_queues
where owner='ACOSTA';
- no rows selected
select
apply_name
from
dba_apply
where
queue_owner='ACOSTA';
- no rows selected
select
capture_name,
queue_name,
from
dba_capture
where
queue_owner='ACOSTA';
- no rows selected
select
propagation_name
from
dba_propagation
where
source_queue_owner='ACOSTA'
or
destination_queue_owner='ACOSTA';
- no rows selected
Thank you!
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth
http://lyle.smu.edu/~mnagarshet/ <http://lyle.smu.edu/%7Emnagarshet/>
--
SAURABH SOOD
ORA-DBA
--
Thanks & Regards,
Taral Desai
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth

http://lyle.smu.edu/~mnagarshet/
Andy Klock
2010-10-04 15:20:22 UTC
Permalink
On Mon, Oct 4, 2010 at 10:55 AM, mayur nagarsheth <
Post by mayur nagarsheth
There are no jobs existing with these users. Also, it is not on RAC.
That is a strange one. Not knowing how your database is set up, is it
possible that ACOSTA connects periodically? Could you try locking the
account, then do the delete?

alter user acosta account lock;
mayur nagarsheth
2010-10-06 14:46:52 UTC
Permalink
This user account has been locked since 1 month. No active connections, no
active sessions, no db links, no objects are being owned by this user. I
revoked all the privileges this (ACOSTA) user had just to be on safer side.
But nothing works :(
Post by Andy Klock
On Mon, Oct 4, 2010 at 10:55 AM, mayur nagarsheth <
Post by mayur nagarsheth
There are no jobs existing with these users. Also, it is not on RAC.
That is a strange one. Not knowing how your database is set up, is it
possible that ACOSTA connects periodically? Could you try locking the
account, then do the delete?
alter user acosta account lock;
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth

http://lyle.smu.edu/~mnagarshet/
Bill Zakrzewski
2010-10-06 14:53:17 UTC
Permalink
Have you (are you able to?) bounced the database and then attempt to drop the user?
This user account has been locked since 1 month. No active connections, no active sessions, no db links, no objects are being owned by this user. I revoked all the privileges this (ACOSTA) user had just to be on safer side. But nothing works :(
There are no jobs existing with these users. Also, it is not on RAC.
That is a strange one. Not knowing how your database is set up, is it possible that ACOSTA connects periodically? Could you try locking the account, then do the delete?
alter user acosta account lock;
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth
http://lyle.smu.edu/~mnagarshet/
mayur nagarsheth
2010-10-06 14:57:17 UTC
Permalink
Bouncing is mot possible as it is a production database.

No flashback enabled.
Post by Bill Zakrzewski
Have you (are you able to?) bounced the database and then attempt to drop the user?
This user account has been locked since 1 month. No active connections, no
active sessions, no db links, no objects are being owned by this user. I
revoked all the privileges this (ACOSTA) user had just to be on safer side.
But nothing works :(
Post by Andy Klock
On Mon, Oct 4, 2010 at 10:55 AM, mayur nagarsheth <
Post by mayur nagarsheth
There are no jobs existing with these users. Also, it is not on RAC.
That is a strange one. Not knowing how your database is set up, is it
possible that ACOSTA connects periodically? Could you try locking the
account, then do the delete?
alter user acosta account lock;
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth
http://lyle.smu.edu/~mnagarshet/ <http://lyle.smu.edu/%7Emnagarshet/>
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth

http://lyle.smu.edu/~mnagarshet/
D'Hooge Freek
2010-10-06 15:10:36 UTC
Permalink
Have you tried to trace the sql statement as was suggested?


Freek D'Hooge
Uptime
Oracle Database Administrator
email: freek.dhooge-2tvnBG85piuzQB+***@public.gmane.org
tel +32(0)3 451 23 82
http://www.uptime.be
disclaimer: www.uptime.be/disclaimer
---
From: oracle-l-bounce-***@public.gmane.org [mailto:oracle-l-bounce-***@public.gmane.org] On Behalf Of mayur nagarsheth
Sent: woensdag 6 oktober 2010 16:57
To: Bill Zakrzewski
Cc: Oracle-L-***@public.gmane.org
Subject: Re: ORA-01940: cannot drop a user that is currently connected

Bouncing is mot possible as it is a production database.

No flashback enabled.
On Wed, Oct 6, 2010 at 9:53 AM, Bill Zakrzewski <bill-t0DhP5ZmW6RWk0Htik3J/***@public.gmane.org> wrote:
Have you (are you able to?) bounced the database and then attempt to drop the user?


--
http://www.freelists.org/webpage/oracle-l
mayur nagarsheth
2010-10-06 16:13:32 UTC
Permalink
Yes I have trace it and even forwarded to Oracle support for analysis. But
nothing came out.

I have also attached the trace in my earlier mail.
Post by D'Hooge Freek
Have you tried to trace the sql statement as was suggested?
Freek D'Hooge
Uptime
Oracle Database Administrator
tel +32(0)3 451 23 82
http://www.uptime.be
disclaimer: www.uptime.be/disclaimer
---
On Behalf Of mayur nagarsheth
Sent: woensdag 6 oktober 2010 16:57
To: Bill Zakrzewski
Subject: Re: ORA-01940: cannot drop a user that is currently connected
Bouncing is mot possible as it is a production database.
No flashback enabled.
Have you (are you able to?) bounced the database and then attempt to drop the user?
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth

http://lyle.smu.edu/~mnagarshet/
r***@public.gmane.org
2010-10-06 15:10:03 UTC
Permalink
Did you also check v$access for any accesses

This thread is baffling and looks like maybe you need to take a
systemstate dump and scan the log for the user.



________________________________

From: oracle-l-bounce-***@public.gmane.org
[mailto:oracle-l-bounce-***@public.gmane.org] On Behalf Of mayur nagarsheth
Sent: Wednesday, October 06, 2010 10:57 AM
To: Bill Zakrzewski
Cc: Oracle-L-***@public.gmane.org
Subject: Re: ORA-01940: cannot drop a user that is currently connected



Bouncing is mot possible as it is a production database.

No flashback enabled.

On Wed, Oct 6, 2010 at 9:53 AM, Bill Zakrzewski <bill-t0DhP5ZmW6RWk0Htik3J/***@public.gmane.org>
wrote:

Have you (are you able to?) bounced the database and then attempt to
drop the user?





On Oct 6, 2010, at 10:46 AM, mayur nagarsheth wrote:





This user account has been locked since 1 month. No active connections,
no active sessions, no db links, no objects are being owned by this
user. I revoked all the privileges this (ACOSTA) user had just to be on
safer side. But nothing works :(



On Mon, Oct 4, 2010 at 10:20 AM, Andy Klock <andy-ncWl4Xv4oz+***@public.gmane.org>
wrote:



On Mon, Oct 4, 2010 at 10:55 AM, mayur nagarsheth
<mayurpnagarsheth-***@public.gmane.org> wrote:

There are no jobs existing with these users. Also, it is not on RAC.





That is a strange one. Not knowing how your database is set up, is it
possible that ACOSTA connects periodically? Could you try locking the
account, then do the delete?



alter user acosta account lock;
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth

http://lyle.smu.edu/~mnagarshet/ <http://lyle.smu.edu/%7Emnagarshet/>
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth

http://lyle.smu.edu/~mnagarshet/
Daniel W. Fink
2010-10-06 14:58:16 UTC
Permalink
Is there an "inconsistency" in the data dictionary? I have recently come
across a few bugs in 10g/11g that cause incorrect entries in the data
dictionary (like tables without segments, objects where the owner does
not exist any longer).

Did Oracle support have you run a 'healthcheck'? There is a script
available from them (not sure how publicly available it is) that found
these inconsistencies in one database I am supporting.

What you really REALLY need to do is to go back to Oracle Support and
ask for a transfer. It sounds like the current support analyst is not
helping and that is just not acceptable.
Post by mayur nagarsheth
This user account has been locked since 1 month. No active
connections, no active sessions, no db links, no objects are being
owned by this user. I revoked all the privileges this (ACOSTA) user
had just to be on safer side. But nothing works :(
On Mon, Oct 4, 2010 at 10:55 AM, mayur nagarsheth
There are no jobs existing with these users. Also, it is not on RAC.
That is a strange one. Not knowing how your database is set up,
is it possible that ACOSTA connects periodically? Could you try
locking the account, then do the delete?
alter user acosta account lock;
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth
http://lyle.smu.edu/~mnagarshet/ <http://lyle.smu.edu/%7Emnagarshet/>
mayur nagarsheth
2010-10-06 15:14:26 UTC
Permalink
Daniel,

This database is 9.2.0.8. Will it have inconsistency as well.
Yes, Oracle support just suggests me to bounce the database whenever we have
downtime for it.

Stephanie,

Could you please elaborate on your advice?

Thank you :)

On Wed, Oct 6, 2010 at 9:58 AM, Daniel W. Fink
Post by Daniel W. Fink
Is there an "inconsistency" in the data dictionary? I have recently come
across a few bugs in 10g/11g that cause incorrect entries in the data
dictionary (like tables without segments, objects where the owner does not
exist any longer).
Did Oracle support have you run a 'healthcheck'? There is a script
available from them (not sure how publicly available it is) that found these
inconsistencies in one database I am supporting.
What you really REALLY need to do is to go back to Oracle Support and ask
for a transfer. It sounds like the current support analyst is not helping
and that is just not acceptable.
This user account has been locked since 1 month. No active connections, no
active sessions, no db links, no objects are being owned by this user. I
revoked all the privileges this (ACOSTA) user had just to be on safer side.
But nothing works :(
Post by Andy Klock
On Mon, Oct 4, 2010 at 10:55 AM, mayur nagarsheth <
Post by mayur nagarsheth
There are no jobs existing with these users. Also, it is not on RAC.
That is a strange one. Not knowing how your database is set up, is it
possible that ACOSTA connects periodically? Could you try locking the
account, then do the delete?
alter user acosta account lock;
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth
http://lyle.smu.edu/~mnagarshet/ <http://lyle.smu.edu/%7Emnagarshet/>
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth

http://lyle.smu.edu/~mnagarshet/
Daniel W. Fink
2010-10-06 16:06:32 UTC
Permalink
I don't recall all the details, but these bugs or similar ones could
very well exist in 9.2.0.8.

Push back on Oracle Support. Ask them for proof that an instance restart
will resolve your problem.
Post by mayur nagarsheth
Daniel,
This database is 9.2.0.8. Will it have inconsistency as well.
Yes, Oracle support just suggests me to bounce the database whenever
we have downtime for it.
Stephanie,
Could you please elaborate on your advice?
Thank you :)
On Wed, Oct 6, 2010 at 9:58 AM, Daniel W. Fink
Is there an "inconsistency" in the data dictionary? I have
recently come across a few bugs in 10g/11g that cause incorrect
entries in the data dictionary (like tables without segments,
objects where the owner does not exist any longer).
Did Oracle support have you run a 'healthcheck'? There is a script
available from them (not sure how publicly available it is) that
found these inconsistencies in one database I am supporting.
What you really REALLY need to do is to go back to Oracle Support
and ask for a transfer. It sounds like the current support analyst
is not helping and that is just not acceptable.
Post by mayur nagarsheth
This user account has been locked since 1 month. No active
connections, no active sessions, no db links, no objects are
being owned by this user. I revoked all the privileges this
(ACOSTA) user had just to be on safer side. But nothing works :(
On Mon, Oct 4, 2010 at 10:55 AM, mayur nagarsheth
There are no jobs existing with these users. Also, it is
not on RAC.
That is a strange one. Not knowing how your database is set
up, is it possible that ACOSTA connects periodically? Could
you try locking the account, then do the delete?
alter user acosta account lock;
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth
http://lyle.smu.edu/~mnagarshet/ <http://lyle.smu.edu/%7Emnagarshet/>
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth
http://lyle.smu.edu/~mnagarshet/ <http://lyle.smu.edu/%7Emnagarshet/>
Adric Norris
2010-10-06 20:53:41 UTC
Permalink
Post by mayur nagarsheth
This user account has been locked since 1 month. No active connections, no
active sessions, no db links, no objects are being owned by this user. I
revoked all the privileges this (ACOSTA) user had just to be on safer side.
But nothing works :(
Any chance this account is being used as a proxy for another user? This
will (by design) work even if the proxying account is locked, or lacks the
CREATE SESSION privilege.

I'm not sure how to detect whether or not any existing sessions were
connected via proxy, but you can use the PROXY_USERS view to determine if
any are configured to allow it.

For example:

***@mydb> -- create a proxy account, which is both locked and
***@mydb> -- lacking the CREATE SESSION privilege
***@mydb> create user proxy
2 identified by proxy
3 account lock;

User created.

***@mydb> -- create an application account
***@mydb> create user test
2 identified by values 'unusable';

User created.

***@mydb> grant create session to test;

Grant succeeded.

***@mydb> alter user test grant connect through proxy;

User altered.


SQL> -- connect through the proxy account using a separate sqlplus session,
and
SQL> -- just let it sit at the SQL prompt
SQL> connect proxy[test]/proxy
Connected.


-- now back in our original session, attempt to drop the proxy account
-- with the active connection
***@mydb> drop user proxy;
drop user proxy
*
ERROR at line 1:
ORA-01940: cannot drop a user that is currently connected

***@mydb> select * from proxy_users;

PROXY CLIENT AUT FLAGS
------------------------------ ------------------------------ ---
-----------------------------------
PROXY TEST NO PROXY MAY
ACTIVATE ALL CLIENT ROLES
Post by mayur nagarsheth
Post by Andy Klock
On Mon, Oct 4, 2010 at 10:55 AM, mayur nagarsheth <
Post by mayur nagarsheth
There are no jobs existing with these users. Also, it is not on RAC.
That is a strange one. Not knowing how your database is set up, is it
possible that ACOSTA connects periodically? Could you try locking the
account, then do the delete?
alter user acosta account lock;
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth
http://lyle.smu.edu/~mnagarshet/ <http://lyle.smu.edu/%7Emnagarshet/>
--
"I'm too sexy for my code." -Awk Sed Fred
Adric Norris
2010-10-06 21:02:59 UTC
Permalink
Just to clarify on my earlier message, you need a 10g or later version of
sqlplus to support the proxy-connect syntax in my example (connect
proxy_user[real_user]/proxy_password). Oracle 9i actually supports the
proxy functionality... it's just that sqlplus didn't support the syntax
until 10g.
--
"I'm too sexy for my code." -Awk Sed Fred
Goulet, Richard
2010-10-05 17:07:22 UTC
Permalink
Did you check to see if the user's objects were being accessed by
another active session??


Dick Goulet
Senior Oracle DBA/NA Team Lead
PAREXEL International



________________________________

From: oracle-l-bounce-***@public.gmane.org
[mailto:oracle-l-bounce-***@public.gmane.org] On Behalf Of mayur nagarsheth
Sent: Saturday, October 02, 2010 12:12 PM
To: oracle-l-***@public.gmane.org
Subject: ORA-01940: cannot drop a user that is currently connected


Hello,



I am working on an issue where I need to drop users. These users have no
objects, no active sessions but still it gives me below error: :-(



ORA-01940: cannot drop a user that is currently connected



Has any one come across such an issue or does any one have suggestions
other than bouncing the database? I am still searching for other
alternative.



I have rasied SR with Oracle but nothing seems to be effective until now
and only suggests for startup restrict and drop the user.




FYI, I checked the following just to ensure several things pertaining to
the user



1) select s.sid, s.serial#, s.status, p.spid

from v$session s, v$process p

where s.username = 'ACOSTA'

and p.addr (+) = s.paddr;

- no rows selected



2) Checked that the user is not associated with any active jobs:



select job from dba_jobs where log_user='ACOSTA';

- no rows selected





3) Finally, checked that the user is not associated with any Streams
replication queues:



select

queue_table,

qid

from

dba_queues

where owner='ACOSTA';

- no rows selected



select

apply_name

from

dba_apply

where

queue_owner='ACOSTA';

- no rows selected



select

capture_name,

queue_name,

from

dba_capture

where

queue_owner='ACOSTA';

- no rows selected



select

propagation_name

from

dba_propagation

where

source_queue_owner='ACOSTA'

or

destination_queue_owner='ACOSTA';

- no rows selected





Thank you!
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth

http://lyle.smu.edu/~mnagarshet/
Madhu Sreeram
2010-10-06 03:21:53 UTC
Permalink
May be there are sessions connecting remotely through db links?

-Madhu
mayur nagarsheth
2010-10-06 09:49:54 UTC
Permalink
Hi,

Yes we checked that earlier, there is no dblink which is using this user.
Post by Madhu Sreeram
May be there are sessions connecting remotely through db links?
-Madhu
--
Thanks n Regards,
Mayur Nagarsheth
Cell : (+1)214-364-8271
http://www.linkedin.com/in/mayurnagarsheth

http://lyle.smu.edu/~mnagarshet/
Yong Huang
2010-10-07 18:00:28 UTC
Permalink
Post by Adric Norris
I'm not sure how to detect whether or not any existing sessions
were connected via proxy
v$session_connect_info.authentication_type will be "PROXY" if you connect
through proxy. If you have audit_trail turned on, dba_audit_trail will
have multiple records. The one you proxy'ed into will have proxy_sessionid
populated and comment_text will tell you it's authenticated by proxy.
Post by Adric Norris
I have also attached the trace in my earlier mail.
Mayur, if you post to Oracle-L, the attachment (of your SQL
trace) will be stripped and we can't see it. Can you post the relevant
part of it?

Yong Huang



--
http://www.freelists.org/webpage/oracle-l

Loading...