|
|
|
Re: URGENT!!! How to kill a SYS session [message #245292 is a reply to message #245288] |
Fri, 15 June 2007 14:40 |
shaseeb
Messages: 113 Registered: April 2007 Location: Madison, WI
|
Senior Member |
|
|
>The ALTER SYSTEM KILL SESSION 'SID,SERIAL#' does not work.
Is this user logged directly onto DB server system?
- He is logged in through sqlplus
Is this user connected to the DB over the network?
>URGENT!!!!
Please explain why it is URGENT for me to solve this problem for you.
- Because he could mess things up.
What is Operating System name & version?
- Oracle 10.2.0.3 RHEL 4 (rh-development.fprc.ophth.wisc.edu)
|
|
|
|
Re: URGENT!!! How to kill a SYS session [message #245297 is a reply to message #245286] |
Fri, 15 June 2007 14:49 |
shaseeb
Messages: 113 Registered: April 2007 Location: Madison, WI
|
Senior Member |
|
|
the pid for sys is not there!!
What UNIX command do you give to find it out??
I did ps -ef|grep sqlplus, but it did not give anything
or if I do pd -ef|grep ora it gives the following:
oracle 2826 1 0 May21 ? 00:01:06 ora_pmon_FPRCDEV
oracle 2828 1 0 May21 ? 00:00:09 ora_psp0_FPRCDEV
oracle 2830 1 0 May21 ? 00:00:02 ora_mman_FPRCDEV
oracle 2832 1 0 May21 ? 00:00:54 ora_dbw0_FPRCDEV
oracle 2834 1 0 May21 ? 00:01:12 ora_dbw1_FPRCDEV
oracle 2836 1 0 May21 ? 00:00:52 ora_dbw2_FPRCDEV
oracle 2838 1 0 May21 ? 00:00:54 ora_dbw3_FPRCDEV
oracle 2840 1 0 May21 ? 00:04:43 ora_lgwr_FPRCDEV
oracle 2842 1 0 May21 ? 00:08:42 ora_ckpt_FPRCDEV
oracle 2844 1 0 May21 ? 00:02:26 ora_smon_FPRCDEV
oracle 2846 1 0 May21 ? 00:00:04 ora_reco_FPRCDEV
oracle 2848 1 0 May21 ? 00:03:52 ora_cjq0_FPRCDEV
oracle 2850 1 0 May21 ? 00:02:18 ora_mmon_FPRCDEV
oracle 2852 1 0 May21 ? 00:02:11 ora_mmnl_FPRCDEV
oracle 2854 1 0 May21 ? 00:00:00 ora_d000_FPRCDEV
oracle 2856 1 0 May21 ? 00:00:00 ora_s000_FPRCDEV
oracle 2864 1 0 May21 ? 00:00:16 ora_arc0_FPRCDEV
oracle 2866 1 0 May21 ? 00:00:25 ora_arc1_FPRCDEV
oracle 2868 1 0 May21 ? 00:00:17 ora_arc2_FPRCDEV
oracle 2870 1 0 May21 ? 00:00:17 ora_arc3_FPRCDEV
oracle 2872 1 0 May21 ? 00:00:00 ora_qmnc_FPRCDEV
oracle 3365 1 0 May21 ? 00:00:32 ora_q000_FPRCDEV
oracle 3368 1 0 May21 ? 00:00:01 ora_q001_FPRCDEV
oracle 12740 1 0 14:58 ? 00:00:00 ora_j001_FPRCDEV
oracle 12902 3910 0 15:04 pts/1 00:00:00 grep ora_
where is the SYS's user's pid???
[Updated on: Fri, 15 June 2007 14:55] Report message to a moderator
|
|
|
Re: URGENT!!! How to kill a SYS session [message #245299 is a reply to message #245286] |
Fri, 15 June 2007 14:55 |
|
BlackSwan
Messages: 26766 Registered: January 2009 Location: SoCal
|
Senior Member |
|
|
> Let's say someone figured out the SYS password and logged in.
What make you think this is the case?
>He is logged in through sqlplus
>I did ps -ef|grep sqlplus, but it did not give anything
How do you reconcile these two contradictory statements?
>What do I do?
Run in circles & scream & shout "The sky is Falling"!
[Updated on: Fri, 15 June 2007 14:55] by Moderator Report message to a moderator
|
|
|
Re: URGENT!!! How to kill a SYS session [message #245300 is a reply to message #245299] |
Fri, 15 June 2007 14:58 |
shaseeb
Messages: 113 Registered: April 2007 Location: Madison, WI
|
Senior Member |
|
|
Ok I don't know if you're trying to be funny or sarcastic, but you don't have to know the reason behind things happening. I just asked How to kill a SYS session. THe command...that's it.
All I am asking is the command please.
Thank you
|
|
|
|
|
|
|
|
Re: URGENT!!! How to kill a SYS session [message #245816 is a reply to message #245297] |
Mon, 18 June 2007 21:05 |
gkrishn
Messages: 506 Registered: December 2005 Location: Putty a dark screen
|
Senior Member |
|
|
shaseeb wrote on Fri, 15 June 2007 14:49 | the pid for sys is not there!!
What UNIX command do you give to find it out??
|
Also, Shaseeb for ur information .
You can get process ID from SPID column of v$process .
#complete query
select
substr(a.spid,1,9) pid,
substr(b.sid,1,5) sid,
substr(b.serial#,1,5) ser#,
substr(b.machine,1,6) box,
substr(b.username,1,10) username,
-- b.server,
substr(b.osuser,1,8) os_user,
substr(b.program,1,30) program
from v$session b, v$process a
where
b.paddr = a.addr
and type='USER'
order by spid;
[Updated on: Mon, 18 June 2007 21:06] Report message to a moderator
|
|
|