Linux strace 命令 说明

2023-10-27

 Strace是Linux中一个调试和跟踪工具。它可以接管被跟踪进程执行的系统调用和收到的信号。然后把每一个执行的系统调用的名字,参数和返回值打印出来。可以通过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]#

 

 

 

 

 

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

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

Linux strace 命令 说明 的相关文章

  • ftrace:仅打印trace_printk()的输出

    是否可以只转储trace printk 输出于trace文件 我的意思是过滤掉函数跟踪器 或任何其他跟踪器 中的所有函数 一般来说 您可以在选项目录中关闭选项 sys kernel debug tracing options Use ls显
  • 查找哪个程序运行另一个程序

    我有一个 NAS 运行在 Redhat Linux 的有限版本上 我按照指示破解了它 这样我就可以访问 shell 这很有帮助 我还做了一些修改 其他人也做过修改 除了一个问题之外 它们似乎都工作得很好 不知何故 每隔 22 天 系统就会关
  • 如何使用 GOPATH 的 Samba 服务器位置?

    我正在尝试将 GOPATH 设置为共享网络文件夹 当我进入 export GOPATH smb path to shared folder I get go GOPATH entry is relative must be absolute
  • CoAP数据包的大小是多少?

    我是这项技术的新手 有人可以帮助我了解一些疑问吗 Q 1 CoAP数据包的大小是多少 我知道有 4 字节固定标头 但是包括标头 选项和负载在内的最大大小限制是多少 Q 2 有像MQTT那样的Keep Alive的概念吗 它在UDP上工作 它
  • 是否可以创建一个脚本来保存和恢复权限?

    我正在使用 Linux 系统 需要对一组嵌套文件和目录进行一些权限实验 我想知道是否没有某种方法可以保存文件和目录的权限 而不保存文件本身 换句话说 我想保存权限 编辑一些文件 调整一些权限 然后将权限恢复到目录结构中 将更改的文件保留在适
  • 我不明白 execlp() 在 Linux 中如何工作

    过去两天我一直在试图理解execlp 系统调用 但我还在这里 让我直奔主题 The man pageexeclp 将系统调用声明为int execlp const char file const char arg 与描述 execl exe
  • MySQL 中的创建/写入权限

    我的设备遇到一些权限问题SELECT INTO OUTFILE陈述 当我登录数据库并执行简单的导出命令时 例如 mysql gt select from XYZ into outfile home mropa Photos Desktop
  • php exec 返回的结果比直接进入命令行要少

    我有一个 exec 命令 它的行为与通过 Penguinet 给 linux 的相同命令不同 res exec cd mnt mydirectory zcat log file gz echo res 当将命令直接放入命令行时 我在日志文件
  • 如果在等待“read -s”时中断,在子进程中运行 bash 会破坏 tty 的标准输出吗?

    正如 Bakuriu 在评论中指出的那样 这基本上与BASH 输入期间按 Ctrl C 会中断当前终端 https stackoverflow com questions 31808863 bash ctrlc during input b
  • 使用Git记录文件复制操作

    当我使用 git mv 在 git 中移动文件时 状态显示该文件已被重命名 即使我更改了某些部分 它仍然被认为几乎是相同的东西 这很好 因为它让我可以跟踪它的历史记录 当我复制文件时 原始文件有一些历史记录 我想将其与新副本关联起来 我尝试
  • NUMA 在虚拟内存中是如何表示的?

    有许多资源 https en wikipedia org wiki Non uniform memory access从硬件角度描述NUMA的架构性能影响 http practical tech com infrastructure num
  • 在 C++ linux 中将 STRINGS 写入串口

    我知道这个问题遍布互联网 但仍然没有任何东西能让我完全解决这个问题 我想用 C linux 将数据写入 Propeller 板的串行端口 从控制台获取输入时程序运行良好 但是当我向它写入字符串时总是返回 ERROR Invalid comm
  • 捕获实时流量时如何开启纳秒精度?

    如何告诉 libpcap v1 6 2 将纳秒值存储在struct pcap pkthdr ts tv usec 而不是微秒值 捕获实时数据包时 Note This question is similar to How to enable
  • C#:如何使用 SHOpenFolderAndSelectItems [重复]

    这个问题在这里已经有答案了 有人可以举例说明如何使用 shell 函数吗SH打开文件夹并选择项目 http msdn microsoft com en us library bb762232 VS 85 aspx来自 C 我不太明白如何使用
  • 在 unix 中编译 dhrystone 时出错

    我是使用基准测试和 makefile 的新手 我已经从下面的链接下载了 Dhrystone 基准测试 我正在尝试编译它 但我遇到了奇怪的错误 我尝试解决它 但没有成功 有人可以帮助我运行 dhrystone 基准测试吗 以下是我尝试编译的两
  • 为什么 Laravel 中的 .env 文件配置不起作用

    DB CONNECTION mysql DB HOST 127 0 0 1 DB PORT 3306 DB DATABASE DB USERNAME root DB PASSWORD 这是我的 laravel 5 4 配置 但 php ar
  • Gearman,php 扩展问题:使用终端在 .. 中找不到类“GearmanWorker”,但可以在浏览器上使用

    我最近在 ubuntu 10 04 上安装了 gearman 并安装了它的 pecl 扩展 现在 当我在浏览器中运行一个 php 文件时 其中包含 client new GearmanWorker die var Dump client I
  • vagrant ssh -c 并在连接关闭后保持后台进程运行

    我正在编写一个脚本来启动和后台流浪机器内的进程 似乎每次脚本结束和 ssh 会话结束时 后台进程也会结束 这是我正在运行的命令 vagrant ssh c cd vagrant src nohup python hello py gt he
  • 让 TeXstudio 在 linux mint 中工作:找不到文件“url.sty”。

    刚刚切换到 Linux Mint 以前的顽固 Windows 用户 我在尝试安装 TeXstudio 时遇到一些问题 Sudo apt get install texstudio 给了我一个正确的安装 至少 我是这么认为的 但是当我尝试构建
  • 嵌入式linux编写AT命令

    我在向 GSM 模块写入 AT 命令时遇到问题 当我使用 minicom b 115200 D dev ttySP0 term vt100 时它工作完美 但我不知道如何在 C 代码中做同样的事情 我没有收到任何错误 但模块对命令没有反应 有

随机推荐

  • Latex的使用技巧

    0 引用 Latex公式放符号正下方 Latex中实现表格和图片的跨栏显示 LATEX之图片位置 常用数学符号的 LaTeX 表示方法 算法简单示例 overleaf 参考文献中URL过长 关于插入图片的基础知识 Latex中的长度信息 算
  • 类模板、函数模板以及类成员函数在类外定义情况

    1函数模板的写法 函数模板的一般形式如下 Template
  • Shuffle 操作

    在spark中的主要操作 触发一个叫作shuffle的事件 shuffle是spark对于重新分布数据的机制 因此数据 能在partitions上进行不同的分组 Shuffle包含在executors和machines上的数据复制 使得 s
  • Maven下载

    1 访问Maven官网Maven Welcome to Apache Mavenhttps maven apache org 2 单击 DownLoad 出现以下界面 3 点击 apache maven 3 8 6 bin zip 链接 下
  • error C2061: syntax error : identifier 'SHFILEINFOW' // 无法解析的外部符号 wWinMain,该符号在函数 WinMainCRTStartup

    1 gt StdAfx cpp 1 gt E Program Files Windows CE Tools wce600 DbAu13xx include MIPSII shellapi h 321 error C2061 syntax e
  • 接口处理请求时间过长,前台响应“服务器超时”的解决办法

    数据计算量过大 接口响应时间过长时 网关会报超时 页面就挂了 没有很好的解决办法 所以采用了如下解决办法 1 将原本的一个接口拆分为3个 三个接口异步操作 三个接口作用及描述如下 接口1 获取本地异步操作的唯一标识 唯一且加密后的code值
  • app php与html5,uniapp与HTML的区别是什么

    区别 1 uniapp是一个框架 而HTML是一种标记语言 2 组件 标签有差异 例p改成view span font改成text a改成navigator img改成image 3 uniapp不支持dom操作 HTML支持 本教程操作环
  • [2023.7.17]7 CPU Front-End Optimizations

    CPU前端 FE 组件在第3 8 1节中进行了讨论 大多数情况下 CPU FE的低效率可以描述为后端等待执行指令 但FE无法提供指令的情况 结果是 在没有执行任何实际有用工作的情况下浪费了CPU周期 由于现代处理器是4宽度 即 它们每个周期
  • 【汤圆名叫“小刺猬”和“雪化了”】——吃另类汤圆 听奇特民俗

    听奇特民俗 TITLE 汤圆名叫鈥溞 题澓外溠 蒜潯库斺敵粤砝嗵涝 听奇特民俗 gt 把汤圆微出创意来 吃另类汤圆听奇特民俗感世界之大无奇不有 叹那些正在消失的民俗 我挺懒的 而且又不是那么爱吃汤圆 减肥 所以就没有那么勤快来DIY 但节总
  • python字符串与数字类型转换

    str与int i 10 s str i s 10 s 1 i int s i 1 str与float st 4 t float st t 0 4 st 0 4 t float st t 0 4 t 0 4 st str t st 0 4
  • libevent (一) socket属性设置与初始化操作

    socket属性设置与初始化操作 libevent是一个事件触发的网络库 适用于windows linux bsd等多种平台 内部使用select epoll kqueue等系统调用管理事件机制 著名分布式缓存软件memcached也是li
  • 小程序怎么搭建?学会这些技巧,开启创业之路

    随着移动互联网的发展 小程序成为了一种重要的创业工具 小程序具有开发周期短 运营成本低 用户体验好等特点 被越来越多的企业和个人用来实现商业价值 本文将通过一个案例来介绍小程序的搭建技巧 帮助创业者更好地开启创业之路 案例介绍 某家生鲜电商
  • CentOS下安装配置Phabricator

    1 下载快捷安装sh http download csdn net detail u012547633 9882697 把centos版的phabricator安装脚本下载到opt目录并安装 cd opt chmod 777 install
  • java版本号分段比较_版本号判断,例如:1.0.0比较1.0.1

    有的时候可能会判断客户端的版本号信息 多位数的版本号判断做个记录 代码分享者 zzp 注意 Java中应该吧分割的正则使用 来分割小数点字符串 分割 NSArray curVerArr currentVersion componentsSe
  • 了解Chat GPT

    CHATGPT是一款强大的人工智能语言模型 可以回答任何问题和开启有趣的对话 以下是一些使用CHATGPT的技巧和提示 提问明确 CHATGPT能够回答任何问题 但它需要清晰和明确的问题来给出准确的答案 因此 在提问时要尽可能明确和具体 尝
  • 【JDBC】-- Java连接数据库方法(Mysql8+idea)

    Java Database Connectivity 简称JDBC 是Java语言中用来规范客户端程序如何来访问数据库的应用程序接口 提供了诸如查询和更新数据库中数据的方法 Java如何连接数据库 下面使用Mysql8版本 编译器使用ide
  • Flink_CDC搭建及简单使用

    Flink CDC搭建及简单使用 1 CDC简介 CDC Change Data Capture 在广义的概念上 只要能捕获数据变更的技术 都可以称为 CDC 但通常我们说的CDC 技术主要面向数据库 包括常见的mysql Oracle M
  • Dubbo-admin 新版本启动问题记录

    Dubbo admin 新版本启动问题记录 文章目录 Dubbo admin 新版本启动问题记录 1 安装步骤 a 下载zookeeper b 下载并编译dubbo 2 总结 1 安装步骤 直接按照官网下载下来的软件 并按照说明安装软件会存
  • Vagrant虚拟机安装,磁盘扩容以及局域网内访问教程

    1 下载vagrant以及virtualBox 配上vagrant virtualBox线上下载地址 vagrant下载地址 virtualBox下载地址 2 开始准备安装镜像文件 找到需要安装的系统镜像文件 配上vagrant镜像地址 v
  • Linux strace 命令 说明

    Strace是Linux中一个调试和跟踪工具 它可以接管被跟踪进程执行的系统调用和收到的信号 然后把每一个执行的系统调用的名字 参数和返回值打印出来 可以通过strace找到问题出现在user层还是kernel层 strace 显示这些调用