Centos系统下载大全 | Redhat系统下载大全 | Windows2012系统下载大全 | Windows2008系统下载大全| CMS教程 | 网站地图 51运维网-专注Linux/Unix系统安全运维!
当前位置:51运维网 > 入门 > Linux命令大全 > 正文

CentOS下strace 命令说明

时间:2016-07-09 19:01 来源:网络整理 作者:linux系统 阅读:

 

CentOS下strace 命令说明

 

  StraceLinux中一个调试和跟踪工具。它可以接管被跟踪进程执行的系统调用和收到的信号。然后把每一个执行的系统调用的名字,参数和返回值打印出来。可以通过strace找到问题出现在user层还是kernel层。
  strace 显示这些调用的参数并返回符号形式的值。strace 从内核接收信息,而且不需要以任何特殊的方式来构建内核。
 
 
关于该命令的更多信息可以参考帮助文档:man strace
 
[root@rac1 ~]# 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. 示例
[root@rac1 u01]# strace cat /dev/null
execve("/bin/cat", ["cat", "/dev/null"], [/* 32 vars */]) = 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)                           = ?
 
 
[root@rac1 u01]# strace sqlplus / as sysdba;
execve("/u01/app/oracle/product/10.2.0/db_1/bin/sqlplus", ["sqlplus", "/", "as", "sysdba"], [/* 32 vars */]) = 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/0@H/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)                           = ?
[root@rac1 u01]#

 


 

 

感谢您对【51运维网 http://www.51ou.com/】的支持,我们为您免费提供《CentOS下strace 命令说明》技术文章,《CentOS下strace 命令说明》详细使用和说明,有时《CentOS下strace 命令说明》可能不完善、敬请谅解!如果《CentOS下strace 命令说明》有错误请给我们留言,我们将尽快修复文章错误,如果您觉得本站不错,请分享给周围的朋友!谢谢!

顶一下
(0)
0%
踩一下
(0)
0%
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
验证码:点击我更换图片