Oradebug utility works but no trace file [message #147031] |
Tue, 15 November 2005 07:35 |
tarundua
Messages: 1080 Registered: June 2005 Location: India
|
Senior Member |
|
|
Hi,
I am using Solaris 9 and Oracle 9.2 .
I did this
--> SQL> ! ps -ef | grep pmon
oracle 4531 4529 0 08:15:41 pts/7 0:00 grep pmon
oracle 556 1 0 Oct 19 ? 0:01 ora_pmon_testdb
SQL> oradebug setospid 564
Oracle pid: 6, Unix process pid: 564, image: oracle@dogmatix (SMON)
SQL> oradebug ipc
Information written to trace file.
SQL> !ls -lat $ORACLE_BASE/admin/testdb/udump |head
total 668
drwxr-xr-x 2 oracle oinstall 2560 Oct 19 06:31 .
-rw-r----- 1 oracle oinstall 695 Oct 19 06:31 testdb_ora_571.trc
-rw-r----- 1 oracle oinstall 611 Oct 19 05:32 testdb_ora_679.trc
no new trace file created at udump location , so i tried this
--> SQL> SELECT pid FROM v$process
WHERE addr = ( SELECT paddr FROM v$bgprocess
WHERE name = 'SMON');
PID
----------
6
SQL> oradebug setorapid 6
Unix process pid: 564, image: oracle@dogmatix (SMON)
SQL> oradebug ipc
Information written to trace file.
SQL> !ls -lat $ORACLE_BASE/admin/testdb/udump |head
total 668
drwxr-xr-x 2 oracle oinstall 2560 Oct 19 06:31 .
-rw-r----- 1 oracle oinstall 695 Oct 19 06:31 testdb_ora_571.trc
-rw-r----- 1 oracle oinstall 611 Oct 19 05:32 testdb_ora_679.trc
then again, no new trace file found.
Am i missing something or doing something wrong.
thanks & regards,
tarun
[Updated on: Tue, 15 November 2005 07:37] Report message to a moderator
|
|
|
|
|
Re: Oradebug utility works but no trace file [message #147505 is a reply to message #147500] |
Fri, 18 November 2005 00:07 |
tarundua
Messages: 1080 Registered: June 2005 Location: India
|
Senior Member |
|
|
hi mahesh,
Even i tried the same again, see this
SQL> select pid from v$process
2 where addr = (select paddr from v$bgprocess
3 where name='SMON');
PID
----------
6
SQL> oradebug setorapid 6
Unix process pid: 564, image: oracle@dogmatix (SMON)
SQL> ! ls -lrt $ORACLE_BASE/admin/testdb/udump
total 0
SQL> oradebug ipc
Information written to trace file.
SQL> ! ls -lrt $ORACLE_BASE/admin/testdb/udump
total 0
Why i am not getting any trace file??
[Edit: Sorry but its pointing to bdump location , i just checked]
SQL> oradebug tracefile_name
/data1/u01/app/oracle/admin/testdb/bdump/testdb_smon_564.trc
[Updated on: Fri, 18 November 2005 00:16] Report message to a moderator
|
|
|