[Openswan Users] can't start ipsec pluto
aheesh nagraj
aheesh at gmail.com
Thu Feb 9 20:04:45 CET 2006
Hi,
I am trying to start ipsec service of Openswan on ixp2800 , (2.4 kernel
image)
It looks like it is not able to read the ipsec shell script.
As seen the stat64 reports file not found error and then the child exits.
Has anybody faced any similar problem
Thanks
Aheesh
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
# strace OR_ipsec pluto
strace: OR_ipsec: command not found
# strace /etc/init.d/OR_ipsec pluto
execve("/etc/init.d/OR_ipsec", ["/etc/init.d/OR_ipsec", "pluto"], [/* 8 vars
*/]) = 0
uname({sys="Linux", node="IXDP2800", ...}) = 0
brk(0) = 0x873d0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2aac2000
open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/ld.so.cache", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/v5b/fast-mult/half/libm.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\2\1a\0\0\0\0\0\0\0\0\0\3\0(\0\0\0\1\0\0;\0\0"..., 1024) =
1024
fstat64(0x3, 0x7ffff2bc) = 0
old_mmap(NULL, 716484, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2aaca000
mprotect(0x2ab71000, 32452, PROT_NONE) = 0
old_mmap(0x2ab72000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0xa0000) = 0x2ab72000
close(3) = 0
open("/lib/v5b/fast-mult/half/libcrypt.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\2\1a\0\0\0\0\0\0\0\0\0\3\0(\0\0\0\1\0\0\n\214"..., 1024)
= 1024
fstat64(0x3, 0x7ffff2b0) = 0
old_mmap(NULL, 211712, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2ab79000
mprotect(0x2ab7e000, 191232, PROT_NONE) = 0
old_mmap(0x2ab81000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0) = 0x2ab81000
old_mmap(0x2ab86000, 158464, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab86000
close(3) = 0
open("/lib/v5b/fast-mult/half/libc.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\2\1a\0\0\0\0\0\0\0\0\0\3\0(\0\0\0\1\0\1\177\30"..., 1024)
= 1024
fstat64(0x3, 0x7ffff2a4) = 0
old_mmap(NULL, 1250904, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x2abad000
mprotect(0x2acd0000, 58968, PROT_NONE) = 0
old_mmap(0x2acd5000, 28672, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3,
0x120000) = 0x2acd5000
old_mmap(0x2acdc000, 9816, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2acdc000
close(3) = 0
mprotect(0x2abad000, 1191936, PROT_READ|PROT_WRITE) = 0
mprotect(0x2abad000, 1191936, PROT_READ|PROT_EXEC) = 0
mprotect(0x2ab79000, 20480, PROT_READ|PROT_WRITE) = 0
mprotect(0x2ab79000, 20480, PROT_READ|PROT_EXEC) = 0
mprotect(0x2aaca000, 684032, PROT_READ|PROT_WRITE) = 0
mprotect(0x2aaca000, 684032, PROT_READ|PROT_EXEC) = 0
getuid32() = 0
getgid32() = 0
setgid32(0) = 0
setuid32(0) = 0
getpid() = 10606
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
geteuid32() = 0
brk(0) = 0x873d0
brk(0x883d0) = 0x883d0
brk(0) = 0x883d0
brk(0x89000) = 0x89000
getppid() = 10605
getcwd("/etc/init.d", 4096) = 12
open("/etc/init.d/OR_ipsec", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x3c830, ~[], 0x4000000}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
read(10, "#! /bin/sh\n\n#AHEESH\n# prefix com"..., 8191) = 3617
stat64(0x878dc, 0x7ffffb2c) = -1 ENOENT (No such file or
directory)
stat64(0x878dc, 0x7ffffb2c) = -1 ENOENT (No such file or
directory)
stat64(0x878dc, 0x7ffffb2c) = -1 ENOENT (No such file or
directory)
stat64(0x878dc, 0x7ffffb2c) = -1 ENOENT (No such file or
directory)
stat64(0x878dc, 0x7ffffb2c) = -1 ENOENT (No such file or
directory)
stat64(0x878dc, 0x7ffffb2c) = 0
fork() = 10607
wait4(-1, [WIFEXITED(s) && WEXITSTATUS(s) == 1], 0, NULL) = 10607
--- SIGCHLD (Child exited) ---
execve("/usr/local/libexec/ipsec/pluto", ["/usr/local/libexec/ipsec/pluto"],
[/* 13 vars */]) = 0
setup() = 2147481972
uname(ptrace: umoven: Input/output error
{...}) = 0
brk(0xddfb8) = 0x7ffff7ec
old_mmap(NULL, 0, PROT_NONE, MAP_FILE, 0, 0) = 0x2aabe960
open(umovestr: Input/output error
0xfffffffe, O_RDONLY) = 715915560
open(umovestr: Input/output error
0xfffffffe, O_RDONLY) = 2147479976
open(umovestr: Input/output error
0xfffffffe, O_RDONLY) = 2147479976
stat64(0, 0x7ffff1fc) = 2147479976
open(umovestr: Input/output error
0xfffffffe, O_RDONLY) = 2147479976
stat64(0, 0x7ffff1fc) = 2147479976
open(umovestr: Input/output error
0xfffffffe, O_RDONLY) = 2147479976
stat64(0xfffffffe, 0x7ffff1fc) = 2147479976
open(umovestr: Input/output error
0xfffffffe, O_RDONLY) = 2147479976
stat64(0, 0x7ffff1fc) = 2147479976
open(umovestr: Input/output error
0xfffffffe, O_RDONLY) = 2147479976
stat64(0xfffffffe, 0x7ffff1fc) = 2147479976
open(umovestr: Input/output error
0xfffffffe, O_RDONLY) = 2147479976
stat64(0xfffffffe, 0x7ffff1fc) = 2147479976
open(umovestr: Input/output error
0xfffffffe, O_RDONLY) = 2147479976
stat64(0xfffffffe, 0x7ffff1fc) = 2147479976
open(umovestr: Input/output error
0x3, O_RDONLY) = 3
read(1024, "\177EL", 1024) = 3
fstat64(0, 0x7ffff1fc) = 2147479832
old_mmap(0x7f454c46, 16908641, PROT_NONE, MAP_FILE, 196648, 0x1) =
0x2ab19000
mprotect(0, 34296, PROT_NONE) = 2147479832
old_mmap(0xe50b3018, 3843764244, 0xe5932008, 0x8 /* MAP_???
*/|MAP_FIXED|MAP_EXECUTABLE|MAP_LOCKED|0xe51b0000, -528343037, 0xe3a03000) =
0x3
close(0) = 2147479960
open(umovestr: Input/output error
0xfffffffe, O_RDONLY) = 2147479960
open(umovestr: Input/output error
0xfffffffe, O_RDONLY) = 2147479960
open(umovestr: Input/output error
0xfffffffe, O_RDONLY) = 2147479960
open(umovestr: Input/output error
0x3, O_RDONLY) = 3
read(1024, "\177EL", 1024) = 3
fstat64(0, 0x7ffff1f0) = 2147479748
old_mmap(0x7f454c46, 16908641, PROT_NONE, MAP_FILE, 196648, 0x1) =
0x2ab30000
mprotect(0, 43052, PROT_NONE) = 2147479748
old_mmap(0xe3a01001, 3800902658, PROT_EXEC|0xe58d1000, 0xe /* MAP_???
*/|MAP_FIXED|MAP_ANONYMOUS|MAP_EXECUTABLE|MAP_LOCKED|0xe1c20480, -352321621,
0xebffea3e) = 0x7ffff0f0
old_mmap(NULL, 0, PROT_NONE, MAP_FILE, 0, 0) = 0x3
close(0) = 2147479952
open(umovestr: Input/output error
0x3, O_RDONLY) = 3
read(1024, "\177EL", 1024) = 3
fstat64(0, 0x7ffff1e4) = 2147479736
old_mmap(0x7f454c46, 16908641, PROT_NONE, MAP_FILE, 196648, 0x1) =
0x2ac5e000
mprotect(0, 58968, PROT_NONE) = 2147479736
old_mmap(0x50574400, 0, PROT_READ|0x73746468, MAP_FILE|0x6e000000,
1937007727, 0x75740000) = 0x7ffff0e4
old_mmap(NULL, 0, PROT_NONE, MAP_FILE, 0, 0) = 0x3
close(0) = 716419072
mprotect(0, 1191936, PROT_READ|PROT_WRITE) = 716419072
mprotect(0, 1191936, PROT_READ|PROT_EXEC) = 716316672
mprotect(0, 57344, PROT_READ|PROT_WRITE) = 716316672
mprotect(0, 57344, PROT_READ|PROT_EXEC) = 629080
mkdir(umovestr: Input/output error
0xffffffef, 0755) = 818508
open(umovestr: Input/output error
0x3, O_WRONLY|O_CREAT|O_TRUNC|O_EXCL, 0444) = 818630
unlink(umovestr: Input/output error
0xfffffffe) = 1
listen(1, 1) = 4
fcntl64(0, F_SETFD, FD_CLOEXEC) = 14
socket_subcall(0x4, 0x1, 0x2, 0x9aad0, 0x4, 0x1e6dc, 0, 0) = -1 ERRNO_449
(Unknown error 449)
umask(022) = 02
socket_subcall(0x4, 0xc7dc4, 0x1a, 0x4, 0x1e6dc, 0x12, 0, 0x7ffffdc4) = 18
umask(077) = 04
socket_subcall(0x4, 0x5, 0x4, 0x1e6dc, 0x12, 0, 0x7ffffdc4, 0x7ffffd94) = 0
fork() = 3
write(6, "10608\n", 6) = 3
close(0) = 0
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openswan.org/pipermail/users/attachments/20060209/849c9035/attachment-0001.htm
More information about the Users
mailing list