cut and paste from sqlplus your step by steps please.
something like this:
ops$tkyte%ORA11GR2> select status, sid, serial#, sql_trace from v$session where username = USER;
STATUS SID SERIAL# SQL_TRAC
---------- ---------- ---------- --------
ACTIVE 11 3283 DISABLED
INACTIVE 198 2333 DISABLED
2 rows selected.
<b>my active session is "me", the rest of this cut and paste is "me". I'm going to activate tracing on the inactive session</b>
ops$tkyte%ORA11GR2> !ls -l /home/ora11gr2/app/ora11gr2/diag/rdbms/ora11gr2/ora11gr2/trace/ora11gr2_ora_26143.trc
ls: /home/ora11gr2/app/ora11gr2/diag/rdbms/ora11gr2/ora11gr2/trace/ora11gr2_ora_26143.trc: No such file or directory
<b>I figured out what its trace file name would be - file does not exist</b>
ops$tkyte%ORA11GR2> exec dbms_monitor.session_trace_enable( 198, 2333 );
PL/SQL procedure successfully completed.
ops$tkyte%ORA11GR2> !ls -l /home/ora11gr2/app/ora11gr2/diag/rdbms/ora11gr2/ora11gr2/trace/ora11gr2_ora_26143.trc
ls: /home/ora11gr2/app/ora11gr2/diag/rdbms/ora11gr2/ora11gr2/trace/ora11gr2_ora_26143.trc: No such file or directory
<b>file still doesn't exist, it won't until that session does something to cause it to exist</b>
ops$tkyte%ORA11GR2> select status, sid, serial#, sql_trace from v$session where username = USER;
STATUS SID SERIAL# SQL_TRAC
---------- ---------- ---------- --------
ACTIVE 11 3283 DISABLED
INACTIVE 198 2333 ENABLED
2 rows selected.
<b>but tracing is on and if I go into that other session at this point and issue "select * from dual", then</b>
ops$tkyte%ORA11GR2> !ls -l /home/ora11gr2/app/ora11gr2/diag/rdbms/ora11gr2/ora11gr2/trace/ora11gr2_ora_26143.trc
-rw-rw---- 1 ora11gr2 ora11gr2 3645 Oct 12 09:16 /home/ora11gr2/app/ora11gr2/diag/rdbms/ora11gr2/ora11gr2/trace/ora11gr2_ora_26143.trc
<b>trace file appears</b>
so, do that for us.