天天看點

Linux strace 指令 說明

 Strace是Linux中一個調試和跟蹤工具。它可以接管被跟蹤程序執行的系統調用和收到的信号。然後把每一個執行的系統調用的名字,參數和傳回值列印出來。可以通過strace找到問題出現在user層還是kernel層。

  strace 顯示這些調用的參數并傳回符号形式的值。strace 從核心接收資訊,而且不需要以任何特殊的方式來建構核心。

關于該指令的更多資訊可以參考幫助文檔:man strace

[[email protected] ~]# man strace

STRACE(1)                                                            STRACE(1)

NAME

       strace - trace system calls and signals

SYNOPSIS

strace  [ -dffhiqrtttTvxx ] [ -acolumn ] [ -eexpr ] ...  [ -ofile ] [ -ppid ]

       ...  [ -sstrsize ] [ -uusername ] [ -Evar=val ] ...  [ -Evar ] ...  [ command

       [ arg ...  ] ]

strace  -c [ -eexpr ] ...  [ -Ooverhead ] [ -Ssortby ] [ command [ arg ...  ] ]

DESCRIPTION

       In the simplest case strace runs the specified command until  it  exits.   It intercepts and records the system calls which are called by a process and the signals which are received by a process.  The name of each system  call,  its arguments  and  its return value are printed on standard error or to the file specified with the -o option.

       strace is a useful diagnostic, instructional,  and  debugging  tool.   System administrators,  diagnosticians  and trouble-shooters will find it invaluable for solving problems with programs for which the source is not readily available  since  they  do not need to be recompiled in order to trace them. Students, hackers and the overly-curious will find that  a  great  deal  can  be learned  about  a  system  and its system calls by tracing even ordinary programs.  And programmers will find that since system  calls  and  signals  are events  that happen at the user/kernel interface, a close examination of this boundary is very useful for bug isolation, sanity checking and attempting  to capture race conditions.

       Each  line  in the trace contains the system call name, followed by its arguments in parentheses and its return value.  An example from stracing the command ''cat /dev/null'' is:

       open("/dev/null", O_RDONLY) = 3

       Errors  (typically  a  return  value  of  -1) have the errno symbol and error string appended.

       open("/foo/bar", O_RDONLY) = -1 ENOENT (No such file or directory)

       Signals are printed as a signal symbol and a signal string.  An excerpt  from stracing and interrupting the command ''sleep 666'' is:

       sigsuspend([] <unfinished ...>

       --- SIGINT (Interrupt) ---

       +++ killed by SIGINT +++

       Arguments  are  printed  in symbolic form with a passion.  This example shows the shell performing ''>>xyzzy'' output redirection:

       open("xyzzy", O_WRONLY|O_APPEND|O_CREAT, 0666) = 3

       Here the three argument form of open is decoded by  breaking  down  the  flag      argument  into  its three bitwise-OR constituents and printing the mode value in octal by tradition.  Where traditional or native usage differs  from  ANSI or  POSIX,  the latter forms are preferred.  In some cases, strace output has proven to be more readable than the source.

       Structure pointers are dereferenced and the members are displayed  as  appropriate.  In all cases arguments are formatted in the most C-like fashion possible.  For example, the essence of the command ''ls -l /dev/null''  is  captured as:

       lstat("/dev/null", {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0

       Notice  how the 'struct stat' argument is dereferenced and how each member is displayed symbolically.  In particular, observe how  the  st_mode  member is carefully  decoded  into  a  bitwise-OR of symbolic and numeric values.  Also notice in this example that the first argument to lstat is an  input  to  the system call and the second argument is an output.  Since output arguments are not modified if the system call fails, arguments may not always  be dereferenced.   For example, retrying the ''ls -l'' example with a non-existent file produces the following line:

       lstat("/foo/bar", 0xb004) = -1 ENOENT (No such file or directory)

       In this case the porch light is on but nobody is home.

       Character pointers are dereferenced and printed as C  strings.   Non-printing characters  in  strings  are normally represented by ordinary C escape codes.

       Only the first strsize (32 by default) bytes of strings are  printed;  longer strings  have  an  ellipsis  appended following the closing quote.  Here is a line from ''ls -l'' where the getpwuid library routine is reading  the  password file:

       read(3, "root::0:0:System Administrator:/"..., 1024) = 422

       While structures are annotated using curly braces, simple pointers and arrays are printed using square brackets with commas separating elements.   Here is an example from the command ''id'' on a system with supplementary group ids:

       getgroups(32, [100, 0]) = 2

       On the other hand, bit-sets are also shown using square brackets but set elements are separated only by a space.  Here is the shell preparing to  execute an external command:

       sigprocmask(SIG_BLOCK, [CHLD TTOU], []) = 0

       Here  the  second  argument is a bit-set of two signals, SIGCHLD and SIGTTOU.

       In some cases the bit-set is so full that printing out the unset elements  is more valuable.  In that case, the bit-set is prefixed by a tilde like this:

       sigprocmask(SIG_UNBLOCK, ~[], NULL) = 0

       Here the second argument represents the full set of all signals.

1. 調用: 

strace [ -dffhiqrtttTvxx ] [ -acolumn ] [ -eexpr ] ... 

[ -ofile ] [ -ppid ] ... [ -sstrsize ] [ -uusername ] [ command [ arg ... ] ] 

strace -c [ -eexpr ] ... [ -Ooverhead ] [ -Ssortby ] [ command [ arg ... ] ] 

2. 功能: 

       跟蹤程式執行時的系統調用和所接收的信号. 通常的用法是strace執行一直到commande結束. 并且将所調用的系統調用的名稱、參數和傳回值輸出到标準輸出或者輸出到-o指定的檔案. 

       strace是一個功能強大的調試,分析診斷工具.你将發現他是一個極好的幫手在你要調試一個無法看到源碼或者源碼無法在編譯的程式. 

       你将輕松的學習到一個軟體是如何通過系統調用來實作他的功能的.而且作為一個程式設計師,你可以了解到在使用者态和核心态是如何通過系統調用和信号來實作程式的功能的. 

       strace的每一行輸出包括系統調用名稱,然後是參數和傳回值.這個例子: 

              strace cat /dev/null 

       他的輸出會有: 

              open(/"/dev/null/",O_RDONLY) = 3 

       有錯誤産生時,一般會傳回-1.是以會有錯誤标志和描述: 

              open(/"/foor/bar/",)_RDONLY) = -1 ENOENT (no such file or directory) 

       信号将輸出喂信号标志和信号的描述.跟蹤并中斷這個指令/"sleep 600/": 

              sigsuspend({} 

              --- SIGINT (Interrupt) --- 

              +++ killed by SIGINT +++ 

       參數的輸出有些不一緻.如shell指令中的 /">>tmp/",将輸出: 

              open(/"tmp/",O_WRONLY|O_APPEND|A_CREAT,0666) = 3 

       對于結構指針,将進行适當的顯示.如:/"ls -l /dev/null/": 

              lstat(/"/dev/null/",{st_mode=S_IFCHR|0666},st_rdev=makdev[1,3],...}) = 0 

       請注意/"struct stat/" 的聲明和這裡的輸出.lstat的第一個參數是輸入參數,而第二個參數是向外傳值. 

       當你嘗試/"ls -l/" 一個不存在的檔案時,會有: 

              lstat(/foot/ball/",0xb004) = -1 ENOENT (no such file or directory) 

       char*将作為C的字元串類型輸出.沒有字元串輸出時一般是char* 是一個轉義字元,隻輸出字元串的長度. 

       當字元串過長是會使用/".../"省略.如在/"ls -l/"會有一個gepwuid調用讀取password檔案: 

              read(3,/"root::0:0:System Administrator://"...,1024) = 422 

       當參數是結構數組時,将按照簡單的指針和數組輸出如: 

              getgroups(4,[0,2,4,5]) = 4 

       關于bit作為參數的情形,也是使用方括号,并且用空格将每一項參數隔開.如: 

              sigprocmask(SIG_BLOCK,[CHLD TTOU],[]) = 0 

       這裡第二個參數代表兩個信号SIGCHLD 和 SIGTTOU.如果bit型參數全部置位,則有如下的輸出: 

       sigprocmask(SIG_UNBLOCK,~[],NULL) = 0 

這裡第二個參數全部置位. 

3. 參數說明: 

-c 統計每一系統調用的所執行的時間,次數和出錯的次數等. 

-d 輸出strace關于标準錯誤的調試資訊. 

-f 跟蹤由fork調用所産生的子程序. 

-ff 如果提供-o filename,則所有程序的跟蹤結果輸出到相應的filename.pid中,pid是各程序的程序号. 

-F 嘗試跟蹤vfork調用.在-f時,vfork不被跟蹤. 

-h 輸出簡要的幫助資訊. 

-i 輸出系統調用的入口指針. 

-q 禁止輸出關于脫離的消息. 

-r 列印出相對時間關于,,每一個系統調用. 

-t 在輸出中的每一行前加上時間資訊. 

-tt 在輸出中的每一行前加上時間資訊,微秒級. 

-ttt 微秒級輸出,以秒了表示時間. 

-T 顯示每一調用所耗的時間. 

-v 輸出所有的系統調用.一些調用關于環境變量,狀态,輸入輸出等調用由于使用頻繁,預設不輸出. 

-V 輸出strace的版本資訊. 

-x 以十六進制形式輸出非标準字元串 

-xx 所有字元串以十六進制形式輸出. 

-a column 

設定傳回值的輸出位置.預設為40. 

-e expr 

指定一個表達式,用來控制如何跟蹤.格式如下: 

[qualifier=][!]value1[,value2]... 

qualifier隻能是 trace,abbrev,verbose,raw,signal,read,write其中之一.value是用來限定的符号或數字.預設的qualifier是 trace.感歎号是否定符号.例如: 

-eopen等價于 -e trace=open,表示隻跟蹤open調用.而-etrace!=open表示跟蹤除了open以外的其他調用.有兩個特殊的符号 all 和 none. 

注意有些shell使用!來執行曆史記錄裡的指令,是以要使用//. 

-e trace=set 

隻跟蹤指定的系統調用.例如:-e trace=open,close,rean,write表示隻跟蹤這四個系統調用.預設的為set=all. 

-e trace=file 

隻跟蹤有關檔案操作的系統調用. 

-e trace=process 

隻跟蹤有關程序控制的系統調用. 

-e trace=network 

跟蹤與網絡有關的所有系統調用. 

-e strace=signal 

跟蹤所有與系統信号有關的系統調用 

-e trace=ipc 

跟蹤所有與程序通訊有關的系統調用 

-e abbrev=set 

設定strace輸出的系統調用的結果集.-v 等與 abbrev=none.預設為abbrev=all. 

-e raw=set 

将指定的系統調用的參數以十六進制顯示. 

-e signal=set 

指定跟蹤的系統信号.預設為all.如signal=!SIGIO(或者signal=!io),表示不跟蹤SIGIO信号. 

-e read=set 

輸出從指定檔案中讀出的資料.例如: 

-e read=3,5 

-e write=set 

輸出寫入到指定檔案中的資料. 

-o filename 

将strace的輸出寫入檔案filename 

-p pid 

跟蹤指定的程序pid. 

-s strsize 

指定輸出的字元串的最大長度.預設為32.檔案名一直全部輸出. 

-u username 

以username的UID和GID執行被跟蹤的指令. 

4. 示例

[[email protected] u01]# strace cat /dev/null

execve("/bin/cat", ["cat", "/dev/null"], []) = 0

brk(0)                                  = 0x9052000

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f8f000

access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/tls/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib/tls/i686/sse2", 0xbfdb8218) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib/tls/i686", 0xbfdb8218) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/tls/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib/tls/sse2", 0xbfdb8218) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/tls/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib/tls", 0xbfdb8218) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib/i686/sse2", 0xbfdb8218) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib/i686", 0xbfdb8218) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib/sse2", 0xbfdb8218) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib", {st_mode=S_IFDIR|0750, st_size=12288, ...}) = 0

open("/lib/tls/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/tls/i686/sse2", 0xbfdb8218) = -1 ENOENT (No such file or directory)

open("/lib/tls/i686/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/tls/i686", 0xbfdb8218)     = -1 ENOENT (No such file or directory)

open("/lib/tls/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/tls/sse2", 0xbfdb8218)     = -1 ENOENT (No such file or directory)

open("/lib/tls/libc.so.6", O_RDONLY)    = -1 ENOENT (No such file or directory)

stat64("/lib/tls", 0xbfdb8218)          = -1 ENOENT (No such file or directory)

open("/lib/i686/sse2/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i686/sse2", 0xbfdb8218)    = -1 ENOENT (No such file or directory)

open("/lib/i686/libc.so.6", O_RDONLY)   = -1 ENOENT (No such file or directory)

stat64("/lib/i686", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

open("/lib/sse2/libc.so.6", O_RDONLY)   = -1 ENOENT (No such file or directory)

stat64("/lib/sse2", 0xbfdb8218)         = -1 ENOENT (No such file or directory)

open("/lib/libc.so.6", O_RDONLY)        = 3

read(3, "/177ELF/1/1/1/0/0/0/0/0/0/0/0/0/3/0/3/0/1/0/0/0/340/257Z/0004/0/0/0"..., 512) = 512

fstat64(3, {st_mode=S_IFREG|0755, st_size=1611564, ...}) = 0

mmap2(0x595000, 1332676, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x595000

mprotect(0x6d4000, 4096, PROT_NONE)     = 0

mmap2(0x6d5000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13f) = 0x6d5000

mmap2(0x6d8000, 9668, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x6d8000

close(3)                                = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f8e000

set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f8e6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0

mprotect(0x6d5000, 8192, PROT_READ)     = 0

mprotect(0x591000, 4096, PROT_READ)     = 0

open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = 3

fstat64(3, {st_mode=S_IFREG|0644, st_size=56416016, ...}) = 0

mmap2(NULL, 2097152, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7d8e000

mmap2(NULL, 233472, PROT_READ, MAP_PRIVATE, 3, 0x17d6) = 0xb7d55000

brk(0)                                  = 0x9052000

brk(0x9073000)                          = 0x9073000

mmap2(NULL, 4096, PROT_READ, MAP_PRIVATE, 3, 0x1849) = 0xb7d54000

close(3)                                = 0

fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0

open("/dev/null", O_RDONLY|O_LARGEFILE) = 3

fstat64(3, {st_mode=S_IFCHR|0666, st_rdev=makedev(1, 3), ...}) = 0

read(3, "", 4096)                       = 0

close(3)                                = 0

close(1)                                = 0

exit_group(0)                           = ?

[[email protected] u01]# strace sqlplus / as sysdba;

execve("/u01/app/oracle/product/10.2.0/db_1/bin/sqlplus", ["sqlplus", "/", "as", "sysdba"], []) = 0

brk(0)                                  = 0x9ce9000

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xea6000

access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/tls/i686/sse2/libsqlplus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib/tls/i686/sse2", 0xbfeecfa8) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/tls/i686/libsqlplus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib/tls/i686", 0xbfeecfa8) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/tls/sse2/libsqlplus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib/tls/sse2", 0xbfeecfa8) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/tls/libsqlplus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib/tls", 0xbfeecfa8) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/i686/sse2/libsqlplus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib/i686/sse2", 0xbfeecfa8) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/i686/libsqlplus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib/i686", 0xbfeecfa8) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/sse2/libsqlplus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/u01/app/oracle/product/10.2.0/db_1/lib/sse2", 0xbfeecfa8) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/libsqlplus.so", O_RDONLY) = 3

read(3, "/177ELF/1/1/1/0/0/0/0/0/0/0/0/0/3/0/3/0/1/0/0/[email protected]/1/0004/0/0/0"..., 512) = 512

fstat64(3, {st_mode=S_IFREG|0640, st_size=1047293, ...}) = 0

mmap2(NULL, 728168, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x759000

mmap2(0x802000, 36864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa8) = 0x802000

close(3)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/lib/libclntsh.so.10.1", O_RDONLY) = 3

read(3, "/177ELF/1/1/1/0/0/0/0/0/0/0/0/0/3/0/3/0/1/0/0/0/360/376/21/0004/0/0/0"..., 512) = 512

fstat64(3, {st_mode=S_IFREG|0750, st_size=18451220, ...}) = 0

mmap2(NULL, 14310420, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xea7000

mmap2(0x1bd8000, 397312, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd31) = 0x1bd8000

mmap2(0x1c39000, 80916, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x1c39000

close(3)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/lib/libnnz10.so", O_RDONLY) = 3

read(3, "/177ELF/1/1/1/0/0/0/0/0/0/0/0/0/3/0/3/0/1/0/0/0/3006/6/0004/0/0/0"..., 512) = 512

fstat64(3, {st_mode=S_IFREG|0640, st_size=5480533, ...}) = 0

mmap2(NULL, 2110644, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xc1f000

mmap2(0xdfb000, 155648, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1dc) = 0xdfb000

mmap2(0xe21000, 5300, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xe21000

close(3)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/tls/i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/tls/i686/sse2", 0xbfeecf54) = -1 ENOENT (No such file or directory)

open("/lib/tls/i686/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/tls/i686", 0xbfeecf54)     = -1 ENOENT (No such file or directory)

open("/lib/tls/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/tls/sse2", 0xbfeecf54)     = -1 ENOENT (No such file or directory)

open("/lib/tls/libdl.so.2", O_RDONLY)   = -1 ENOENT (No such file or directory)

stat64("/lib/tls", 0xbfeecf54)          = -1 ENOENT (No such file or directory)

open("/lib/i686/sse2/libdl.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/lib/i686/sse2", 0xbfeecf54)    = -1 ENOENT (No such file or directory)

open("/lib/i686/libdl.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)

stat64("/lib/i686", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

open("/lib/sse2/libdl.so.2", O_RDONLY)  = -1 ENOENT (No such file or directory)

stat64("/lib/sse2", 0xbfeecf54)         = -1 ENOENT (No such file or directory)

open("/lib/libdl.so.2", O_RDONLY)       = 3

read(3, "/177ELF/1/1/1/0/0/0/0/0/0/0/0/0/3/0/3/0/1/0/0/0P/332m/0004/0/0/0"..., 512) = 512

fstat64(3, {st_mode=S_IFREG|0755, st_size=16428, ...}) = 0

mmap2(0x6dd000, 12408, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x6dd000

mmap2(0x6df000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0x6df000

close(3)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/libm.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/i686/libm.so.6", O_RDONLY)   = -1 ENOENT (No such file or directory)

open("/lib/libm.so.6", O_RDONLY)        = 3

read(3, "/177ELF/1/1/1/0/0/0/0/0/0/0/0/0/3/0/3/0/1/0/0/0/20dn/0004/0/0/0"..., 512) = 512

fstat64(3, {st_mode=S_IFREG|0755, st_size=208352, ...}) = 0

mmap2(0x6e3000, 155760, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x6e3000

mmap2(0x708000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x24) = 0x708000

close(3)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/i686/libpthread.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/libpthread.so.0", O_RDONLY)  = 3

read(3, "/177ELF/1/1/1/0/0/0/0/0/0/0/0/0/3/0/3/0/1/0/0/0P/10q/0004/0/0/0"..., 512) = 512

fstat64(3, {st_mode=S_IFREG|0755, st_size=129716, ...}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x879000

mmap2(0x70c000, 94692, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x70c000

mmap2(0x720000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0x720000

mmap2(0x722000, 4580, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x722000

close(3)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/i686/libnsl.so.1", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/libnsl.so.1", O_RDONLY)      = 3

read(3, "/177ELF/1/1/1/0/0/0/0/0/0/0/0/0/3/0/3/0/1/0/0/0 Q/233/0004/0/0/0"..., 512) = 512

fstat64(3, {st_mode=S_IFREG|0755, st_size=101404, ...}) = 0

mmap2(0x9b2000, 92104, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x9b2000

mmap2(0x9c5000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0x9c5000

mmap2(0x9c7000, 6088, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x9c7000

close(3)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/i686/libc.so.6", O_RDONLY)   = -1 ENOENT (No such file or directory)

open("/lib/libc.so.6", O_RDONLY)        = 3

read(3, "/177ELF/1/1/1/0/0/0/0/0/0/0/0/0/3/0/3/0/1/0/0/0/340/257Z/0004/0/0/0"..., 512) = 512

fstat64(3, {st_mode=S_IFREG|0755, st_size=1611564, ...}) = 0

mmap2(0x595000, 1332676, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x595000

mprotect(0x6d4000, 4096, PROT_NONE)     = 0

mmap2(0x6d5000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13f) = 0x6d5000

mmap2(0x6d8000, 9668, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x6d8000

close(3)                                = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x110000

set_thread_area({entry_number:-1 -> 6, base_addr:0x110ac0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0

mprotect(0x6d5000, 8192, PROT_READ)     = 0

mprotect(0x9c5000, 4096, PROT_READ)     = 0

mprotect(0x720000, 4096, PROT_READ)     = 0

mprotect(0x708000, 4096, PROT_READ)     = 0

mprotect(0x6df000, 4096, PROT_READ)     = 0

mprotect(0xc1f000, 1949696, PROT_READ|PROT_WRITE) = 0

mprotect(0xc1f000, 1949696, PROT_READ|PROT_EXEC) = 0

mprotect(0xea7000, 13832192, PROT_READ|PROT_WRITE) = 0

mprotect(0xea7000, 13832192, PROT_READ|PROT_EXEC) = 0

mprotect(0x759000, 692224, PROT_READ|PROT_WRITE) = 0

mprotect(0x759000, 692224, PROT_READ|PROT_EXEC) = 0

mprotect(0x591000, 4096, PROT_READ)     = 0

set_tid_address(0x110b08)               = 2211

set_robust_list(0x110b10, 0xc)          = 0

futex(0xbfeed844, FUTEX_WAKE_PRIVATE, 1) = 0

rt_sigaction(SIGRTMIN, {0x7103e0, [], SA_SIGINFO}, NULL, 8) = 0

rt_sigaction(SIGRT_1, {0x7102e0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0

rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0

getrlimit(RLIMIT_STACK, {rlim_cur=10240*1024, rlim_max=RLIM_INFINITY}) = 0

uname({sys="Linux", node="rac1", ...})  = 0

brk(0)                                  = 0x9ce9000

brk(0x9d0a000)                          = 0x9d0a000

mmap2(NULL, 143360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x111000

futex(0x6e006c, FUTEX_WAKE_PRIVATE, 2147483647) = 0

open("/u01/app/oracle/product/10.2.0/db_1/lib/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/i686/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/libsqlplusic.so", O_RDONLY)  = -1 ENOENT (No such file or directory)

open("/usr/lib/tls/i686/sse2/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/tls/i686/sse2", 0xbfeeb0f4) = -1 ENOENT (No such file or directory)

open("/usr/lib/tls/i686/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/tls/i686", 0xbfeeb0f4) = -1 ENOENT (No such file or directory)

open("/usr/lib/tls/sse2/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/tls/sse2", 0xbfeeb0f4) = -1 ENOENT (No such file or directory)

open("/usr/lib/tls/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/tls", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

open("/usr/lib/i686/sse2/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i686/sse2", 0xbfeeb0f4) = -1 ENOENT (No such file or directory)

open("/usr/lib/i686/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/i686", 0xbfeeb0f4)     = -1 ENOENT (No such file or directory)

open("/usr/lib/sse2/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib/sse2", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0

open("/usr/lib/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

stat64("/usr/lib", {st_mode=S_IFDIR|0755, st_size=61440, ...}) = 0

open("/etc/ld.so.cache", O_RDONLY)      = 3

fstat64(3, {st_mode=S_IFREG|0644, st_size=60343, ...}) = 0

mmap2(NULL, 60343, PROT_READ, MAP_PRIVATE, 3, 0) = 0x134000

close(3)                                = 0

open("/lib/i686/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/libsqlplusic.so", O_RDONLY)  = -1 ENOENT (No such file or directory)

open("/usr/lib/tls/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/lib/sse2/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/lib/libsqlplusic.so", O_RDONLY) = -1 ENOENT (No such file or directory)

munmap(0x134000, 60343)                 = 0

open("/u01/app/oracle/product/10.2.0/db_1/lib/libociicus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/libociicus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/libociicus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/i686/libociicus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/libociicus.so", O_RDONLY)    = -1 ENOENT (No such file or directory)

open("/usr/lib/tls/libociicus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/lib/sse2/libociicus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/lib/libociicus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/etc/ld.so.cache", O_RDONLY)      = 3

fstat64(3, {st_mode=S_IFREG|0644, st_size=60343, ...}) = 0

mmap2(NULL, 60343, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4c9000

close(3)                                = 0

open("/lib/i686/libociicus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/libociicus.so", O_RDONLY)    = -1 ENOENT (No such file or directory)

open("/usr/lib/tls/libociicus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/lib/sse2/libociicus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/lib/libociicus.so", O_RDONLY) = -1 ENOENT (No such file or directory)

munmap(0x4c9000, 60343)                 = 0

open("/u01/app/oracle/product/10.2.0/db_1/lib/libociei.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/libociei.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/libociei.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/i686/libociei.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/libociei.so", O_RDONLY)      = -1 ENOENT (No such file or directory)

open("/usr/lib/tls/libociei.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/lib/sse2/libociei.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/lib/libociei.so", O_RDONLY)  = -1 ENOENT (No such file or directory)

open("/etc/ld.so.cache", O_RDONLY)      = 3

fstat64(3, {st_mode=S_IFREG|0644, st_size=60343, ...}) = 0

mmap2(NULL, 60343, PROT_READ, MAP_PRIVATE, 3, 0) = 0x134000

close(3)                                = 0

open("/lib/i686/libociei.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/libociei.so", O_RDONLY)      = -1 ENOENT (No such file or directory)

open("/usr/lib/tls/libociei.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/lib/sse2/libociei.so", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/usr/lib/libociei.so", O_RDONLY)  = -1 ENOENT (No such file or directory)

munmap(0x134000, 60343)                 = 0

open("/u01/app/oracle/product/10.2.0/db_1/nls/data/lx1boot.nlb", O_RDONLY) = 3

read(3, "/0/0/0/3/0/1 /n/300V/0/0 /257/215/0/0/0/0/0/1/0B/0/271/0/276/1/24/2&/2"..., 48) = 48

read(3, "/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 22160) = 22160

close(3)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/nls/data/lx00001.nlb", O_RDONLY) = 3

read(3, "/0/0/0/3/0/1 /n/263/3/0/0o/2/0/0/0/0/0/0/0/0/0/0/0Z/1/0/0/0/0/0"..., 92) = 92

read(3, "/3/0/0/0/1/0/1/0/1/0`/0/0/0/0/0/2/0/4/0/6/0/f/0/24/0/34/0$/0,/0"..., 856) = 855

close(3)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/nls/data/lx20001.nlb", O_RDONLY) = 3

read(3, "/0/0/0/3/0/1 /n5/33/0/0/211/21/0/0/0/0/0/0/2/0/0/0/0Z/1/0/0/0/0/0"..., 92) = 92

read(3, "/1/0/37/0/t/0/0/0/0/0/0/0/0/0/0/0/0/0?/0/0/0/0/1/0/0/0/0/0/0/0/0"..., 6876) = 6873

close(3)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/nls/data/lx10001.nlb", O_RDONLY) = 3

read(3, "/0/0/0/3/0/1 /np/4/0/0/214/3/0/0/0/0/0/0/1/0/0/0/0Z/1/0/0/0/0/0"..., 92) = 92

read(3, "/3/0/0/0/1/0/1/0/0/0/0/0/0/0/4/0/1/0/2/0/2/0/1/0/1/0/0/0/0/0/0/0"..., 1044) = 1044

close(3)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/nls/data/lx40001.nlb", O_RDONLY) = 3

read(3, "/0/0/0/3/0/1 /n//}/0/0008|/0/0/0/0/0/0/4/0/0/0/0Z/1/0/0/0/0/0"..., 92) = 92

read(3, "/0/0/0/0/0/0/0/0/0/0/0/0/264O/0/0/20[/0/0/314///0/0/330]/0/0/274`/0/0"..., 32000) = 32000

close(3)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/sqlplus/mesg/sp1us.msb", O_RDONLY) = 3

fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0

lseek(3, 0, SEEK_SET)                   = 0

read(3, "/25/23/"/1/23/3/t/t/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 256) = 256

open("/u01/app/oracle/product/10.2.0/db_1/sqlplus/mesg/sp2us.msb", O_RDONLY) = 4

fcntl64(4, F_SETFD, FD_CLOEXEC)         = 0

lseek(4, 0, SEEK_SET)                   = 0

read(4, "/25/23/"/1/23/3/t/t/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 256) = 256

brk(0x9d32000)                          = 0x9d32000

open("/u01/app/oracle/product/10.2.0/db_1/sqlplus/mesg/cpyus.msb", O_RDONLY) = 5

fcntl64(5, F_SETFD, FD_CLOEXEC)         = 0

lseek(5, 0, SEEK_SET)                   = 0

read(5, "/25/23/"/1/23/3/t/t/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 256) = 256

lseek(5, 512, SEEK_SET)                 = 512

read(5, "/f/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 512) = 512

lseek(5, 1024, SEEK_SET)                = 1024

read(5, "/t/0/f/0", 4)                  = 4

gettimeofday({1301410530, 276961}, NULL) = 0

open("/etc/localtime", O_RDONLY)        = 6

fstat64(6, {st_mode=S_IFREG|0644, st_size=405, ...}) = 0

fstat64(6, {st_mode=S_IFREG|0644, st_size=405, ...}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x134000

read(6, "TZif2/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/3/0/0/0/3/0/0/0/0"..., 4096) = 405

close(6)                                = 0

munmap(0x134000, 4096)                  = 0

open("/u01/app/oracle/product/10.2.0/db_1/oracore/zoneinfo/timezlrg.dat", O_RDONLY) = 6

fstat64(6, {st_mode=S_IFREG|0640, st_size=384987, ...}) = 0

mmap2(NULL, 384987, PROT_READ, MAP_PRIVATE|MAP_NORESERVE, 6, 0) = 0xa24000

close(6)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/oracore/zoneinfo/timezlrg.dat", O_RDONLY|O_LARGEFILE) = 6

fstat64(6, {st_mode=S_IFREG|0640, st_size=384987, ...}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x134000

read(6, "ZTrO/333/337/5/0/2/0/2/0/2/0y/1_=/276/0024/20/0/0/374/33/0/0h/347/4/0"..., 4096) = 4096

read(6, "/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 4096) = 4096

close(6)                                = 0

munmap(0x134000, 4096)                  = 0

mmap2(NULL, 385024, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x173000

open("/u01/app/oracle/product/10.2.0/db_1/oracore/zoneinfo/timezlrg.dat", O_RDONLY|O_LARGEFILE) = 6

fstat64(6, {st_mode=S_IFREG|0640, st_size=384987, ...}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x134000

read(6, "ZTrO/333/337/5/0/2/0/2/0/2/0y/1_=/276/0024/20/0/0/374/33/0/0h/347/4/0"..., 4096) = 4096

read(6, "/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 4096) = 4096

close(6)                                = 0

munmap(0x134000, 4096)                  = 0

open("/u01/app/oracle/product/10.2.0/db_1/oracore/zoneinfo/timezlrg.dat", O_RDONLY|O_LARGEFILE) = 6

fstat64(6, {st_mode=S_IFREG|0640, st_size=384987, ...}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x134000

read(6, "ZTrO/333/337/5/0/2/0/2/0/2/0y/1_=/276/0024/20/0/0/374/33/0/0h/347/4/0"..., 380928) = 380928

read(6, "GMT-1/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0Etc/GMT-10/0"..., 4096) = 4059

close(6)                                = 0

munmap(0x134000, 4096)                  = 0

gettimeofday({1301410530, 400713}, NULL) = 0

access("/u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora", F_OK) = -1 ENOENT (No such file or directory)

access("/u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora", F_OK) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/rdbms/mesg/ocius.msb", O_RDONLY) = 6

fcntl64(6, F_SETFD, FD_CLOEXEC)         = 0

lseek(6, 0, SEEK_SET)                   = 0

read(6, "/25/23/"/1/23/3/t/t/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 256) = 256

lseek(6, 512, SEEK_SET)                 = 512

read(6, "/337y/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 512) = 512

lseek(6, 1024, SEEK_SET)                = 1024

read(6, "/25/7'/0072/7>/7j/7/276/17$'/6K5S/24TfT/307T(VsV/222V/6W"..., 86) = 86

times(NULL)                             = 465398586

rt_sigprocmask(SIG_BLOCK, [INT], NULL, 8) = 0

rt_sigaction(SIGINT, {0x19634ac, ~[ILL ABRT BUS FPE SEGV USR2 XCPU XFSZ SYS RTMIN RT_1], SA_RESTART|SA_SIGINFO}, {SIG_DFL, [], 0}, 8) = 0

rt_sigprocmask(SIG_UNBLOCK, [INT], NULL, 8) = 0

brk(0x9d55000)                          = 0x9d55000

gettimeofday({1301410530, 403136}, NULL) = 0

gettimeofday({1301410530, 403203}, NULL) = 0

fstat64(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xab5000

write(1, "/n", 1

)                       = 1

write(1, "SQL*Plus: Release 10.2.0.1.0 - P"..., 70SQL*Plus: Release 10.2.0.1.0 - Production on Tue Mar 29 22:55:30 2011

) = 70

write(1, "/n", 1

)                       = 1

write(1, "Copyright (c) 1982, 2005, Oracle"..., 56Copyright (c) 1982, 2005, Oracle.  All rights reserved.

) = 56

write(1, "/n", 1

)                       = 1

lseek(4, 512, SEEK_SET)                 = 512

read(4, "/245/27/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 512) = 512

lseek(4, 1024, SEEK_SET)                = 1024

read(4, "/26/0*/0R/0h/0/201/0/236/0/350/0/374/0/n/1#/1?/1M/1/251/1/307/1/346/1/3/2"..., 512) = 512

lseek(4, 4608, SEEK_SET)                = 4608

read(4, "/17/0/240/0/0/0b/0/241/0/0/0v/0/242/0/0/0/211/0/253/0/0/0/236/0/254/0/0/0/271/0"..., 512) = 512

getcwd("/u01"..., 256)                  = 5

access("/u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora", F_OK) = -1 ENOENT (No such file or directory)

access("/root/.sqlnet.ora", F_OK)       = -1 ENOENT (No such file or directory)

access("/u01/cli_2211.trc", F_OK)       = -1 ENOENT (No such file or directory)

access("/u01/app/oracle/product/10.2.0/db_1/network/admin/sqlnet.ora", F_OK) = -1 ENOENT (No such file or directory)

access("/etc/intchg.ora", F_OK)         = -1 ENOENT (No such file or directory)

access("/u01/app/oracle/product/10.2.0/db_1/network/admin/intchg.ora", F_OK) = -1 ENOENT (No such file or directory)

access("/etc/tnsnav.ora", F_OK)         = -1 ENOENT (No such file or directory)

access("/u01/app/oracle/product/10.2.0/db_1/network/admin/tnsnav.ora", F_OK) = -1 ENOENT (No such file or directory)

open("/proc/self/cmdline", O_RDONLY)    = 7

read(7, "sqlplus/0/0/0as/0sysdba/0", 255) = 20

close(7)                                = 0

uname({sys="Linux", node="rac1", ...})  = 0

getuid32()                              = 0

socket(PF_FILE, SOCK_STREAM, 0)         = 7

fcntl64(7, F_SETFL, O_RDWR|O_NONBLOCK)  = 0

connect(7, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory)

close(7)                                = 0

socket(PF_FILE, SOCK_STREAM, 0)         = 7

fcntl64(7, F_SETFL, O_RDWR|O_NONBLOCK)  = 0

connect(7, {sa_family=AF_FILE, path="/var/run/nscd/socket"...}, 110) = -1 ENOENT (No such file or directory)

close(7)                                = 0

open("/etc/nsswitch.conf", O_RDONLY)    = 7

fstat64(7, {st_mode=S_IFREG|0644, st_size=1696, ...}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x134000

read(7, "#/n# /etc/nsswitch.conf/n#/n# An ex"..., 4096) = 1696

read(7, "", 4096)                       = 0

close(7)                                = 0

munmap(0x134000, 4096)                  = 0

open("/u01/app/oracle/product/10.2.0/db_1/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/u01/app/oracle/product/10.2.0/db_1/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/i686/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or directory)

open("/lib/libnss_files.so.2", O_RDONLY) = 7

read(7, "/177ELF/1/1/1/0/0/0/0/0/0/0/0/0/3/0/3/0/1/0/0/0/300/30/0/0004/0/0/0"..., 512) = 512

fstat64(7, {st_mode=S_IFREG|0755, st_size=46680, ...}) = 0

mmap2(NULL, 41616, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7, 0) = 0x134000

mmap2(0x13d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0x8) = 0x13d000

close(7)                                = 0

mprotect(0x13d000, 4096, PROT_READ)     = 0

open("/etc/passwd", O_RDONLY)           = 7

fcntl64(7, F_GETFD)                     = 0

fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0

fstat64(7, {st_mode=S_IFREG|0644, st_size=1734, ...}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x13f000

read(7, "root:x:0:0:root:/root:/bin/bash/n"..., 4096) = 1734

close(7)                                = 0

munmap(0x13f000, 4096)                  = 0

getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=1024}) = 0

brk(0x9d76000)                          = 0x9d76000

socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7

setsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0

bind(7, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, 16) = 0

getsockname(7, {sa_family=AF_INET, sin_port=htons(31150), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0

getpeername(7, 0xbfee6a28, [16])        = -1 ENOTCONN (Transport endpoint is not connected)

getsockopt(7, SOL_SOCKET, SO_SNDBUF, [262144], [4]) = 0

getsockopt(7, SOL_SOCKET, SO_RCVBUF, [262144], [4]) = 0

fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0

fcntl64(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0

gettimeofday({1301410530, 485276}, NULL) = 0

rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0

rt_sigprocmask(SIG_BLOCK, [CHLD], NULL, 8) = 0

rt_sigaction(SIGCHLD, {0x19634ac, ~[ILL ABRT BUS FPE SEGV USR2 XCPU XFSZ SYS RTMIN RT_1], SA_RESTART|SA_SIGINFO}, {SIG_DFL, [], 0}, 8) = 0

rt_sigprocmask(SIG_UNBLOCK, [CHLD], NULL, 8) = 0

pipe([8, 9])                            = 0

pipe([10, 11])                          = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x110b08) = 2212

--- SIGCHLD (Child exited) @ 0 (0) ---

rt_sigprocmask(SIG_BLOCK, [], NULL, 8)  = 0

rt_sigprocmask(SIG_UNBLOCK, [], NULL, 8) = 0

rt_sigreturn(0x1200011)                 = 2212

rt_sigprocmask(SIG_BLOCK, [PIPE], NULL, 8) = 0

rt_sigaction(SIGPIPE, {0x19634ac, ~[ILL ABRT BUS FPE SEGV USR2 XCPU XFSZ SYS RTMIN RT_1], SA_RESTART|SA_SIGINFO}, {SIG_DFL, [], 0}, 8) = 0

rt_sigprocmask(SIG_UNBLOCK, [PIPE], NULL, 8) = 0

close(8)                                = 0

close(11)                               = 0

read(10, "NTP13 0/n", 64)               = 8

close(10)                               = 0

close(9)                                = 0

open("/u01/sqlnet.log", O_WRONLY|O_CREAT|O_APPEND|O_LARGEFILE, 0666) = 8

fstat64(8, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x85d000

fstat64(8, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0

_llseek(8, 0, [0], SEEK_SET)            = 0

fcntl64(8, F_SETFD, FD_CLOEXEC)         = 0

write(8, "/n/n******************************"..., 73) = 73

_llseek(8, 0, [73], SEEK_CUR)           = 0

write(8, "/nFatal NI connect error 12546, c"..., 294) = 294

_llseek(8, 0, [367], SEEK_CUR)          = 0

gettimeofday({1301410530, 526020}, NULL) = 0

write(8, "/n  VERSION INFORMATION:/n/tTNS for"..., 223) = 223

_llseek(8, 0, [590], SEEK_CUR)          = 0

write(8, "  Time: 29-MAR-2011 22:55:30/n", 29) = 29

_llseek(8, 0, [619], SEEK_CUR)          = 0

write(8, "  Tracing not turned on./n", 25) = 25

_llseek(8, 0, [644], SEEK_CUR)          = 0

write(8, "  Tns error struct:/n", 20)   = 20

_llseek(8, 0, [664], SEEK_CUR)          = 0

write(8, "    ns main err code: 12546/n", 28) = 28

_llseek(8, 0, [692], SEEK_CUR)          = 0

open("/u01/app/oracle/product/10.2.0/db_1/network/mesg/tnsus.msb", O_RDONLY) = 9

fcntl64(9, F_SETFD, FD_CLOEXEC)         = 0

lseek(9, 0, SEEK_SET)                   = 0

read(9, "/25/23/"/1/23/3/t/t/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 256) = 256

lseek(9, 512, SEEK_SET)                 = 512

read(9, "/2331/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 512) = 512

lseek(9, 1024, SEEK_SET)                = 1024

read(9, "/t/0/22/0/32/0&/0-/0F/0N/0U/0///0k/0w/0/201/0/212/0/223/0/321/0/334/0"..., 170) = 170

lseek(9, 39936, SEEK_SET)               = 39936

read(9, "/16/0/0001/0/0///0/0011/0/0/213/0/0021/0/0/306/0/0031/0/0/333/0/0041/0/0/353/0"..., 512) = 512

write(8, "    ", 4)                     = 4

_llseek(8, 0, [696], SEEK_CUR)          = 0

write(8, "TNS-12546: TNS:permission denied"..., 33) = 33

_llseek(8, 0, [729], SEEK_CUR)          = 0

write(8, "    ns secondary err code: 12560"..., 33) = 33

_llseek(8, 0, [762], SEEK_CUR)          = 0

write(8, "    nt main err code: 516/n", 26) = 26

_llseek(8, 0, [788], SEEK_CUR)          = 0

lseek(9, 14848, SEEK_SET)               = 14848

read(9, "/16/0/1/2/0/0///0/2/2/0/0x/0/3/2/0/0/243/0/4/2/0/0/336/0/5/2/0/0/357/0"..., 512) = 512

write(8, "    ", 4)                     = 4

_llseek(8, 0, [792], SEEK_CUR)          = 0

write(8, "TNS-00516: Permission denied/n", 29) = 29

_llseek(8, 0, [821], SEEK_CUR)          = 0

write(8, "    nt secondary err code: 13/n", 30) = 30

_llseek(8, 0, [851], SEEK_CUR)          = 0

close(7)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/rdbms/mesg/oraus.msb", O_RDONLY) = 7

fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0

lseek(7, 0, SEEK_SET)                   = 0

read(7, "/25/23/"/1/23/3/t/t/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 256) = 256

lseek(7, 512, SEEK_SET)                 = 512

read(7, "d/32/2135/307[/360v/224/206C/226t/255/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 512) = 512

lseek(7, 1536, SEEK_SET)                = 1536

read(7, "s/32/207/32/224/32/234/32/367/32/2/33/16/33+/33?/33%/34./0347/34A/34M/34U/34_/34"..., 512) = 512

lseek(7, 230912, SEEK_SET)              = 230912

read(7, "/16/0/3760/0/0///0/3770/0/0v/0/0001/0/0/226/0/0011/0/0/305/0/0021/0/0/0/1"..., 512) = 512

close(7)                                = 0

lseek(4, 512, SEEK_SET)                 = 512

read(4, "/245/27/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 512) = 512

lseek(4, 1024, SEEK_SET)                = 1024

read(4, "/26/0*/0R/0h/0/201/0/236/0/350/0/374/0/n/1#/1?/1M/1/251/1/307/1/346/1/3/2"..., 512) = 512

lseek(4, 5120, SEEK_SET)                = 5120

read(4, "/r/0/351/0/0/0V/0/352/0/0/0/220/0/353/0/0/0/240/0/356/0/0/0/320/0/357/0/0/0/344/0"..., 512) = 512

write(1, "ERROR:/n", 7ERROR:

)                 = 7

write(1, "ORA-12546: TNS:permission denied"..., 33ORA-12546: TNS:permission denied

) = 33

write(1, "/n", 1

)                       = 1

write(1, "/n", 1

)                       = 1

lseek(4, 512, SEEK_SET)                 = 512

read(4, "/245/27/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 512) = 512

lseek(4, 1024, SEEK_SET)                = 1024

read(4, "/26/0*/0R/0h/0/201/0/236/0/350/0/374/0/n/1#/1?/1M/1/251/1/307/1/346/1/3/2"..., 512) = 512

lseek(4, 4608, SEEK_SET)                = 4608

read(4, "/17/0/240/0/0/0b/0/241/0/0/0v/0/242/0/0/0/211/0/253/0/0/0/236/0/254/0/0/0/271/0"..., 512) = 512

write(1, "Enter user-name: ", 17Enter user-name: )       = 17

fstat64(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x13f000

read(0,

"/n", 4096)                     = 1

getcwd("/u01"..., 256)                  = 5

getuid32()                              = 0

open("/etc/passwd", O_RDONLY)           = 7

fcntl64(7, F_GETFD)                     = 0

fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0

fstat64(7, {st_mode=S_IFREG|0644, st_size=1734, ...}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x140000

read(7, "root:x:0:0:root:/root:/bin/bash/n"..., 4096) = 1734

close(7)                                = 0

munmap(0x140000, 4096)                  = 0

socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7

setsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0

bind(7, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, 16) = 0

getsockname(7, {sa_family=AF_INET, sin_port=htons(60401), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0

getpeername(7, 0xbfee6a28, [16])        = -1 ENOTCONN (Transport endpoint is not connected)

getsockopt(7, SOL_SOCKET, SO_SNDBUF, [262144], [4]) = 0

getsockopt(7, SOL_SOCKET, SO_RCVBUF, [262144], [4]) = 0

fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0

fcntl64(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0

gettimeofday({1301410543, 566789}, NULL) = 0

pipe([10, 11])                          = 0

pipe([12, 13])                          = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x110b08) = 2568

--- SIGCHLD (Child exited) @ 0 (0) ---

rt_sigprocmask(SIG_BLOCK, [], NULL, 8)  = 0

waitpid(2212, NULL, WNOHANG)            = 2212

rt_sigprocmask(SIG_UNBLOCK, [], NULL, 8) = 0

rt_sigreturn(0x1200011)                 = 2568

close(10)                               = 0

close(13)                               = 0

read(12, "NTP13 0/n", 64)               = 8

close(12)                               = 0

close(11)                               = 0

write(8, "    nt OS err code: 0/n", 22) = 22

_llseek(8, 0, [873], SEEK_CUR)          = 0

write(8, "/n/n******************************"..., 73) = 73

_llseek(8, 0, [946], SEEK_CUR)          = 0

write(8, "/nFatal NI connect error 12546, c"..., 289) = 289

_llseek(8, 0, [1235], SEEK_CUR)         = 0

gettimeofday({1301410543, 575619}, NULL) = 0

write(8, "/n  VERSION INFORMATION:/n/tTNS for"..., 223) = 223

_llseek(8, 0, [1458], SEEK_CUR)         = 0

write(8, "  Time: 29-MAR-2011 22:55:43/n", 29) = 29

_llseek(8, 0, [1487], SEEK_CUR)         = 0

write(8, "  Tracing not turned on./n", 25) = 25

_llseek(8, 0, [1512], SEEK_CUR)         = 0

write(8, "  Tns error struct:/n", 20)   = 20

_llseek(8, 0, [1532], SEEK_CUR)         = 0

write(8, "    ns main err code: 12546/n", 28) = 28

_llseek(8, 0, [1560], SEEK_CUR)         = 0

write(8, "    ", 4)                     = 4

_llseek(8, 0, [1564], SEEK_CUR)         = 0

write(8, "TNS-12546: TNS:permission denied"..., 33) = 33

_llseek(8, 0, [1597], SEEK_CUR)         = 0

write(8, "    ns secondary err code: 12560"..., 33) = 33

_llseek(8, 0, [1630], SEEK_CUR)         = 0

write(8, "    nt main err code: 516/n", 26) = 26

_llseek(8, 0, [1656], SEEK_CUR)         = 0

write(8, "    ", 4)                     = 4

_llseek(8, 0, [1660], SEEK_CUR)         = 0

write(8, "TNS-00516: Permission denied/n", 29) = 29

_llseek(8, 0, [1689], SEEK_CUR)         = 0

write(8, "    nt secondary err code: 13/n", 30) = 30

_llseek(8, 0, [1719], SEEK_CUR)         = 0

close(7)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/rdbms/mesg/oraus.msb", O_RDONLY) = 7

fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0

lseek(7, 0, SEEK_SET)                   = 0

read(7, "/25/23/"/1/23/3/t/t/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 256) = 256

lseek(7, 512, SEEK_SET)                 = 512

read(7, "d/32/2135/307[/360v/224/206C/226t/255/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 512) = 512

lseek(7, 1536, SEEK_SET)                = 1536

read(7, "s/32/207/32/224/32/234/32/367/32/2/33/16/33+/33?/33%/34./0347/34A/34M/34U/34_/34"..., 512) = 512

lseek(7, 230912, SEEK_SET)              = 230912

read(7, "/16/0/3760/0/0///0/3770/0/0v/0/0001/0/0/226/0/0011/0/0/305/0/0021/0/0/0/1"..., 512) = 512

close(7)                                = 0

lseek(4, 512, SEEK_SET)                 = 512

read(4, "/245/27/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 512) = 512

lseek(4, 1024, SEEK_SET)                = 1024

read(4, "/26/0*/0R/0h/0/201/0/236/0/350/0/374/0/n/1#/1?/1M/1/251/1/307/1/346/1/3/2"..., 512) = 512

lseek(4, 5120, SEEK_SET)                = 5120

read(4, "/r/0/351/0/0/0V/0/352/0/0/0/220/0/353/0/0/0/240/0/356/0/0/0/320/0/357/0/0/0/344/0"..., 512) = 512

write(1, "ERROR:/n", 7ERROR:

)                 = 7

write(1, "ORA-12546: TNS:permission denied"..., 33ORA-12546: TNS:permission denied

) = 33

write(1, "/n", 1

)                       = 1

write(1, "/n", 1

)                       = 1

lseek(4, 512, SEEK_SET)                 = 512

read(4, "/245/27/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 512) = 512

lseek(4, 1024, SEEK_SET)                = 1024

read(4, "/26/0*/0R/0h/0/201/0/236/0/350/0/374/0/n/1#/1?/1M/1/251/1/307/1/346/1/3/2"..., 512) = 512

lseek(4, 4608, SEEK_SET)                = 4608

read(4, "/17/0/240/0/0/0b/0/241/0/0/0v/0/242/0/0/0/211/0/253/0/0/0/236/0/254/0/0/0/271/0"..., 512) = 512

write(1, "Enter user-name: ", 17Enter user-name: )       = 17

read(0,

"/n", 4096)                     = 1

getcwd("/u01"..., 256)                  = 5

getuid32()                              = 0

open("/etc/passwd", O_RDONLY)           = 7

fcntl64(7, F_GETFD)                     = 0

fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0

fstat64(7, {st_mode=S_IFREG|0644, st_size=1734, ...}) = 0

mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x163000

read(7, "root:x:0:0:root:/root:/bin/bash/n"..., 4096) = 1734

close(7)                                = 0

munmap(0x163000, 4096)                  = 0

socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 7

setsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0

bind(7, {sa_family=AF_INET, sin_port=htons(0), sin_addr=inet_addr("127.0.0.1")}, 16) = 0

getsockname(7, {sa_family=AF_INET, sin_port=htons(49750), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0

getpeername(7, 0xbfee6a28, [16])        = -1 ENOTCONN (Transport endpoint is not connected)

getsockopt(7, SOL_SOCKET, SO_SNDBUF, [262144], [4]) = 0

getsockopt(7, SOL_SOCKET, SO_RCVBUF, [262144], [4]) = 0

fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0

fcntl64(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0

gettimeofday({1301410544, 609990}, NULL) = 0

pipe([10, 11])                          = 0

pipe([12, 13])                          = 0

clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x110b08) = 2597

--- SIGCHLD (Child exited) @ 0 (0) ---

rt_sigprocmask(SIG_BLOCK, [], NULL, 8)  = 0

waitpid(2568, NULL, WNOHANG)            = 2568

rt_sigprocmask(SIG_UNBLOCK, [], NULL, 8) = 0

rt_sigreturn(0x1200011)                 = 2597

close(10)                               = 0

close(13)                               = 0

read(12, "NTP13 0/n", 64)               = 8

close(12)                               = 0

close(11)                               = 0

write(8, "    nt OS err code: 0/n", 22) = 22

_llseek(8, 0, [1741], SEEK_CUR)         = 0

write(8, "/n/n******************************"..., 73) = 73

_llseek(8, 0, [1814], SEEK_CUR)         = 0

write(8, "/nFatal NI connect error 12546, c"..., 289) = 289

_llseek(8, 0, [2103], SEEK_CUR)         = 0

gettimeofday({1301410544, 618535}, NULL) = 0

write(8, "/n  VERSION INFORMATION:/n/tTNS for"..., 223) = 223

_llseek(8, 0, [2326], SEEK_CUR)         = 0

write(8, "  Time: 29-MAR-2011 22:55:44/n", 29) = 29

_llseek(8, 0, [2355], SEEK_CUR)         = 0

write(8, "  Tracing not turned on./n", 25) = 25

_llseek(8, 0, [2380], SEEK_CUR)         = 0

write(8, "  Tns error struct:/n", 20)   = 20

_llseek(8, 0, [2400], SEEK_CUR)         = 0

write(8, "    ns main err code: 12546/n", 28) = 28

_llseek(8, 0, [2428], SEEK_CUR)         = 0

write(8, "    ", 4)                     = 4

_llseek(8, 0, [2432], SEEK_CUR)         = 0

write(8, "TNS-12546: TNS:permission denied"..., 33) = 33

_llseek(8, 0, [2465], SEEK_CUR)         = 0

write(8, "    ns secondary err code: 12560"..., 33) = 33

_llseek(8, 0, [2498], SEEK_CUR)         = 0

write(8, "    nt main err code: 516/n", 26) = 26

_llseek(8, 0, [2524], SEEK_CUR)         = 0

write(8, "    ", 4)                     = 4

_llseek(8, 0, [2528], SEEK_CUR)         = 0

write(8, "TNS-00516: Permission denied/n", 29) = 29

_llseek(8, 0, [2557], SEEK_CUR)         = 0

write(8, "    nt secondary err code: 13/n", 30) = 30

_llseek(8, 0, [2587], SEEK_CUR)         = 0

close(7)                                = 0

open("/u01/app/oracle/product/10.2.0/db_1/rdbms/mesg/oraus.msb", O_RDONLY) = 7

fcntl64(7, F_SETFD, FD_CLOEXEC)         = 0

lseek(7, 0, SEEK_SET)                   = 0

read(7, "/25/23/"/1/23/3/t/t/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 256) = 256

lseek(7, 512, SEEK_SET)                 = 512

read(7, "d/32/2135/307[/360v/224/206C/226t/255/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 512) = 512

lseek(7, 1536, SEEK_SET)                = 1536

read(7, "s/32/207/32/224/32/234/32/367/32/2/33/16/33+/33?/33%/34./0347/34A/34M/34U/34_/34"..., 512) = 512

lseek(7, 230912, SEEK_SET)              = 230912

read(7, "/16/0/3760/0/0///0/3770/0/0v/0/0001/0/0/226/0/0011/0/0/305/0/0021/0/0/0/1"..., 512) = 512

close(7)                                = 0

lseek(4, 512, SEEK_SET)                 = 512

read(4, "/245/27/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 512) = 512

lseek(4, 1024, SEEK_SET)                = 1024

read(4, "/26/0*/0R/0h/0/201/0/236/0/350/0/374/0/n/1#/1?/1M/1/251/1/307/1/346/1/3/2"..., 512) = 512

lseek(4, 5120, SEEK_SET)                = 5120

read(4, "/r/0/351/0/0/0V/0/352/0/0/0/220/0/353/0/0/0/240/0/356/0/0/0/320/0/357/0/0/0/344/0"..., 512) = 512

write(1, "ERROR:/n", 7ERROR:

)                 = 7

write(1, "ORA-12546: TNS:permission denied"..., 33ORA-12546: TNS:permission denied

) = 33

write(1, "/n", 1

)                       = 1

write(1, "/n", 1

)                       = 1

write(1, "SP2-0157: ", 10SP2-0157: )              = 10

lseek(4, 512, SEEK_SET)                 = 512

read(4, "/245/27/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0/0"..., 512) = 512

lseek(4, 1024, SEEK_SET)                = 1024

read(4, "/26/0*/0R/0h/0/201/0/236/0/350/0/374/0/n/1#/1?/1M/1/251/1/307/1/346/1/3/2"..., 512) = 512

lseek(4, 4096, SEEK_SET)                = 4096

read(4, "/f/0/202/0/0/0P/0/206/0/0/0a/0/207/0/0/0~/0/210/0/0/0/225/0/211/0/0/0/267/0"..., 512) = 512

brk(0x9d9b000)                          = 0x9d9b000

write(1, "unable to CONNECT to ORACLE afte"..., 63unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus

) = 63

brk(0x9d93000)                          = 0x9d93000

close(6)                                = 0

close(5)                                = 0

close(3)                                = 0

close(4)                                = 0

munmap(0x111000, 143360)                = 0

write(8, "    nt OS err code: 0/n", 22) = 22

exit_group(1)                           = ?

[[email protected] u01]#

---------------------------------------------------------------------------------------------------

繼續閱讀