Запустила strace без рекомендованных параметров(не успела разобраться, простите, если критично, перезапощу).
[root@test-lamp ~]# strace ping 10.0.5.10
execve("/bin/ping", ["ping", "10.0.5.10"], [/* 20 vars */]) = 0
brk(0) = 0x8616000
uname({sys="Linux", node="test-lamp.loc", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12998, ...}) = 0
mmap2(NULL, 12998, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fe7000
close(3) = 0
open("/lib/libresolv.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\0\300 \0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=74616, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe6000
mmap2(NULL, 75976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x9c7000
mmap2(0x9d6000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0x9d6000
mmap2(0x9d8000, 6344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x9d8000
close(3) = 0
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\0000_\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1594552, ...}) = 0
mmap2(NULL, 1320356, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x187000
mmap2(0x2c4000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13c) = 0x2c4000
mmap2(0x2c7000, 9636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2c7000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fe5000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7fe56c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x2c4000, 8192, PROT_READ) = 0
mprotect(0x9d6000, 4096, PROT_READ) = 0
mprotect(0x39c000, 4096, PROT_READ) = 0
munmap(0xb7fe7000, 12998) = 0
socket(PF_INET, SOCK_RAW, IPPROTO_ICMP) = 3
getuid32() = 0
setuid32(0) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(1025), sin_addr=inet_addr("10.0.5.10")}, 16) = -1 EINVAL (Invalid argument)
dup(2) = 5
fcntl64(5, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
brk(0) = 0x8616000
brk(0x8637000) = 0x8637000
fstat64(5, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fea000
_llseek(5, 0, 0xbff1b324, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(5, "connect: Invalid argument\n", 26connect: Invalid argument
) = 26
close(5) = 0
munmap(0xb7fea000, 4096) = 0
exit_group(2) = ?
[root@test-lamp ~]# strace ping 10.0.5.10
execve("/bin/ping", ["ping", "10.0.5.10"], [/* 20 vars */]) = 0
brk(0) = 0x8885000
uname({sys="Linux", node="test-lamp.loc", ...}) = 0
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=12998, ...}) = 0
mmap2(NULL, 12998, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f78000
close(3) = 0
open("/lib/libresolv.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\0\300 \0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=74616, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f77000
mmap2(NULL, 75976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x373000
mmap2(0x382000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0x382000
mmap2(0x384000, 6344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x384000
close(3) = 0
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\0000_\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1594552, ...}) = 0
mmap2(NULL, 1320356, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fd000
mmap2(0x93a000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13c) = 0x93a000
mmap2(0x93d000, 9636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x93d000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f76000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f766c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x93a000, 8192, PROT_READ) = 0
mprotect(0x382000, 4096, PROT_READ) = 0
mprotect(0xf47000, 4096, PROT_READ) = 0
munmap(0xb7f78000, 12998) = 0
socket(PF_INET, SOCK_RAW, IPPROTO_ICMP) = 3
getuid32() = 0
setuid32(0) = 0
socket(PF_INET, SOCK_DGRAM, IPPROTO_IP) = 4
connect(4, {sa_family=AF_INET, sin_port=htons(1025), sin_addr=inet_addr("10.0.5.10")}, 16) = -1 EINVAL (Invalid argument)
dup(2) = 5
fcntl64(5, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
brk(0) = 0x8885000
brk(0x88a6000) = 0x88a6000
fstat64(5, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 0), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f7b000
_llseek(5, 0, 0xbf839c44, SEEK_CUR) = -1 ESPIPE (Illegal seek)
write(5, "connect: Invalid argument\n", 26connect: Invalid argument
) = 26
close(5) = 0
munmap(0xb7f7b000, 4096) = 0
exit_group(2) = ?
[root@test-lamp ~]#
Это трейс пинга до ноды.
А это diff трейса этого пинга с пингом до воркстанции:
[root@test-lamp ~]# diff 10.0.5.10 10.0.5.2
2c2
< brk(0) = 0x8cb5000
---
> brk(0) = 0x8949000
7c7
< mmap2(NULL, 12998, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f48000
---
> mmap2(NULL, 12998, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fb4000
12,15c12,15
< mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f47000
< mmap2(NULL, 75976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x8ab000
< mmap2(0x8ba000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0x8ba000
< mmap2(0x8bc000, 6344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x8bc000
---
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb3000
> mmap2(NULL, 75976, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x308000
> mmap2(0x317000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0x317000
> mmap2(0x319000, 6344, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x319000
20,22c20,22
< mmap2(NULL, 1320356, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xe69000
< mmap2(0xfa6000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13c) = 0xfa6000
< mmap2(0xfa9000, 9636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xfa9000
---
> mmap2(NULL, 1320356, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x110000
> mmap2(0x24d000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13c) = 0x24d000
> mmap2(0x250000, 9636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x250000
24,29c24,29
< mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f46000
< set_thread_area({entry_number:-1 -> 6, base_addr:0xb7f466c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
< mprotect(0xfa6000, 8192, PROT_READ) = 0
< mprotect(0x8ba000, 4096, PROT_READ) = 0
< mprotect(0x89b000, 4096, PROT_READ) = 0
< munmap(0xb7f48000, 12998) = 0
---
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb2000
> set_thread_area({entry_number:-1 -> 6, base_addr:0xb7fb26c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
> mprotect(0x24d000, 8192, PROT_READ) = 0
> mprotect(0x317000, 4096, PROT_READ) = 0
> mprotect(0xdd7000, 4096, PROT_READ) = 0
> munmap(0xb7fb4000, 12998) = 0
[root@test-lamp ~]#
Спасибо, что помогаете!
IT-outsource for UNIX servers,
http://ha-systems.ru
[Updated on: Wed, 08 October 2008 04:54] Report message to a moderator
|