`
ijavagos
  • 浏览: 1241594 次
  • 性别: Icon_minigender_2
  • 来自: 北京
文章分类
社区版块
存档分类
最新评论

Linux 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
usernameUIDGID执行被跟踪的命令.

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]#

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

Blog http://blog.csdn.net/tianlesoftware

网上资源: http://tianlesoftware.download.csdn.net

相关视频:http://blog.csdn.net/tianlesoftware/archive/2009/11/27/4886500.aspx

DBA1 群:62697716(); DBA2 群:62697977() DBA3 群:62697850()

DBA 超级群:63306533(); DBA4 群: 83829929 DBA5群: 142216823

聊天 群:40132017 聊天2群:69087192

--加群需要在备注说明Oracle表空间和数据文件的关系,否则拒绝申请

分享到:
评论

相关推荐

    Linux常用命令手册大全.rar

    "E书说明.txt"可能包含关于如何使用这份手册或阅读器的详细说明,例如如何查找特定命令、如何离线查看等。 通过系统性地学习和实践这些Linux命令,无论是初学者还是有经验的用户,都能从中受益匪浅,提升自己的...

    linux常用命令大全.zip

    "Linux常用命令大全.zip"这个压缩包包含了两个文件:项目说明.pdf和linux常用命令大全.pdf,它们提供了一个全面的Linux命令学习资源。 1. **文件和目录操作**: - `ls`:列出目录内容。 - `cd`:切换当前工作目录...

    Linux教程-使用truss、strace或ltrace诊断软件

    strace最初是为SunOS编写的,现在广泛应用于各种Linux发行版。它的功能与truss类似,用于跟踪进程的系统调用,但不涉及库函数。strace的常用选项包括: - `-f`:同样用于跟踪子进程。 - `-o file`:输出到指定...

    gdb-6.7&strace-4.5.15

    `gdb`(GNU调试器)和`strace`是两种强大的Linux系统级工具,它们主要用于理解和解决与程序执行相关的问题。在这里,我们将深入探讨这两个工具及其在ARM平台上的应用。 `gdb`是一个开源的、跨平台的调试器,它支持...

    Linux 命令手册

    ### Linux命令手册知识点详解 #### 一、简介与背景 《Linux命令手册》是一本全面介绍Linux操作系统常用命令的手册,由Red Hat Software, Inc.出版。本书详细介绍了各种常用的Linux命令及其用法,旨在帮助用户更好...

    linux 命令高手大全必备

    在Linux操作系统中,掌握命令行工具是成为高手的必经之路。Linux命令行提供了一种高效、强大的方式...同时,别忘了了解和使用man页面,它包含了每个命令的详细使用说明。不断练习,你将成为一名真正的Linux命令行高手。

    linux下的rs232测试程序

    Linux提供了诸如`strace`和`dmesg`等工具,可以帮助开发者跟踪系统调用和查看内核消息,从而找出并解决这些问题。 7. **串口监控工具**:除了编写自定义的串口程序,Linux还有一系列现成的串口调试工具,如`minicom...

    Linux系统性能优化命令与工具大全

    在Linux环境下,有许多命令和工具可用于监控和优化系统的性能,包括vmstat、sar、iostat、uptime、free、watch、top、gtop、dmesg、pmap和strace等。这些工具能够帮助管理员识别和解决各种性能问题,如CPU、内存、...

    linux编程调试详解

    通过编译并运行这个程序,然后使用strace命令来跟踪它的系统调用,可以看到程序启动时涉及到的各种系统调用,例如execve、brk、mmap等,这些调用涉及程序的初始化、内存分配、库文件加载等操作。 在strace的输出中...

    linux 命令手册

    Linux命令手册是Linux系统用户日常操作中的重要工具,它提供了详尽的命令使用说明和示例,帮助用户理解和掌握各种Linux命令。在这个手册中,我们可以找到关于文件管理、系统管理、网络操作、进程控制等多方面的知识...

    Linux 常用命令

    15. **man**:查看命令的帮助文档,`man command`将显示对应命令的详细说明。 16. **which**:查找命令的执行路径,`which ls`将显示ls命令的所在位置。 17. **history**:显示命令历史记录,方便回顾和重复使用...

    期末Linux复习资料整理

    掌握基本的shell命令如ls、cd、mkdir、rm、cp、mv等,以及管道符、重定向和脚本编写是Linux操作的基础。 4. **文件系统与权限**:Linux采用层次化的文件系统结构,理解文件的读、写、执行权限和用户/用户组的概念至...

    linux命令大全

    以下是一些主要的Linux命令及其详细说明: 1. **查看内核信息**:`uname -a` 命令用于显示系统内核版本和相关信息,如操作系统名称、内核版本、硬件平台等。 2. **查看Ubuntu版本**:`cat /etc/issue` 或 `lsb_...

    Linux设备驱动开发免费讲座教材

    3. **驱动开发基础**:涵盖如何编写简单的字符设备驱动,包括打开、关闭、读写操作的实现,以及ioctl命令的处理。 4. **中断处理**:中断是设备与CPU通信的重要方式,讲解中断服务程序的编写,中断向量表,中断处理...

    如何使用Strace调试工具

    首先,让我们以一个简单的例子——`pwd`命令来说明strace的使用。`pwd`命令用于打印当前工作目录,看似简单,但实际上它涉及到了一系列的系统调用。当你在终端中输入`strace pwd`并执行时,你会看到一系列的输出,...

    Linux性能测试工具

    "Linux系统参数说明.pdf"可能详细介绍了这些参数的含义和调整方法,包括内存管理、调度策略、网络配置等方面的参数。"Linux性能测试工具.pdf"和"linux性能优化和分析.ppt"可能提供了更深入的工具使用教程和案例分析...

    关于Linux运维从入门到高级全套案例v3的分析说明.zip

    《Linux运维从入门到高级全套案例v3》的分析说明 在信息技术领域,Linux操作系统以其开源、稳定和高效的特点,广泛应用于服务器管理、云计算、数据分析等多个场景。本资料集“关于Linux运维从入门到高级全套案例v3...

    RTL8188E的Linux驱动源码+移植调试步骤记录文档

    5. 编译与加载:使用目标平台的交叉编译工具链编译驱动,并通过insmod或modprobe命令加载到内核。 三、调试技巧 1. 日志输出:在驱动代码中添加日志语句,利用`printk`函数输出关键步骤的信息,便于分析问题。 2....

    详解Linux time 命令的使用

    Linux时间(time)命令是Linux操作系统中一个非常实用的工具,它允许用户跟踪和分析命令执行时的性能指标,包括时间消耗、内存...在日常工作中,你可以结合time命令和其他工具,如strace或gprof,进行更深入的性能分析。

    linux-KERNEL.rar_linux 系统

    要编译和运行Linux内核,你需要在Linux环境下执行`make`命令,这会根据配置选项和依赖关系构建内核。如果你是新手,建议先阅读官方文档,了解如何配置内核(`make menuconfig`)以及编译步骤。 此外,学习Linux内核...

Global site tag (gtag.js) - Google Analytics