Problem z OpenVPN
Grzegorz Zorczykowski
pld-lists w sterdam.net
Wto, 25 Gru 2007, 13:49:02 CET
Witam
Podczas uruchamiania OpenVPN występuje następujący problem:
[root w serwer~]$ /etc/rc.d/init.d/openvpn start
[root w serwer~]$
Nie dzieje się nic OpenVPN się nie uruchamia. Mam ten problem tylko na
jednym z serwerów, na innych jest ok. Dlaczego tak może się dziac ?
Oto strace z uruchamiania usługi:
Jedyne co widzę niepokojącego to: access("/etc/ld.so.preload",
R_OK) = -1 ENOENT (No such file or directory)
Niebardzo to rozumiem.
PLD 2.0 AC jądro jak poniżej:
Linux serwer 2.6.16.57-1 #1 Wed Nov 7 11:56:55 CET 2007 i686
Intel(R)_Celeron(R)_CPU_2.53GHz PLD Linux
[root w serwer~]$ strace /etc/rc.d/init.d/openvpn start
execve("/etc/rc.d/init.d/openvpn", ["/etc/rc.d/init.d/openvpn",
"start"], [/* 25 vars */]) = 0
uname({sys="Linux", node="t-matic", ...}) = 0
brk(0) = 0x8076d1c
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=26168, ...}) = 0
mmap2(NULL, 26168, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7eea000
close(3) = 0
open("/lib/tls/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\20Q\1\000"...,
512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1148008, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7ee9000
mmap2(NULL, 1154236, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xb7dcf000
mmap2(0xb7ee3000, 16384, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x114) = 0xb7ee3000
mmap2(0xb7ee7000, 7356, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ee7000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0xb7dce000
mprotect(0xb7ee3000, 4096, PROT_READ) = 0
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7dce6c0,
limit:1048575, seg_32bit:1, contents:0, read_exec_only:0,
limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0xb7eea000, 26168) = 0
brk(0) = 0x8076d1c
brk(0x8097d1c) = 0x8097d1c
brk(0x8098000) = 0x8098000
rt_sigaction(SIGINT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {0x8067140, [], SA_INTERRUPT}, NULL, 8) = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {0x8067140, [], SA_INTERRUPT}, NULL, 8) = 0
rt_sigaction(SIGTERM, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGTERM, {0x8067140, [], SA_INTERRUPT}, NULL, 8) = 0
rt_sigaction(SIGHUP, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGHUP, {0x8067140, [], SA_INTERRUPT}, NULL, 8) = 0
access("/root/tmp", W_OK|X_OK) = 0
stat64("/root/tmp", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
getpid() = 7652
stat64("/root", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
getppid() = 7651
time(NULL) = 1198585558
time(NULL) = 1198585558
time(NULL) = 1198585558
geteuid32() = 0
getuid32() = 0
getgid32() = 0
getegid32() = 0
open("/etc/rc.d/init.d/openvpn", O_RDONLY|O_LARGEFILE) = 3
fcntl64(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
fstat64(0, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 347), ...}) = 0
fcntl64(0, F_GETFL) = 0x8002 (flags O_RDWR|O_LARGEFILE)
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGCHLD, {SIG_IGN}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {0x8067140, [], SA_INTERRUPT}, NULL, 8) = 0
read(10, "#!/bin/sh\n#\n# openvpn\tStart/stop"..., 512) = 512
stat64("/etc/sysconfig/openvpn", {st_mode=S_IFREG|0644, st_size=207,
...}) = 0
stat64("/etc/sysconfig/openvpn", {st_mode=S_IFREG|0644, st_size=207,
...}) = 0
access("/etc/sysconfig/openvpn", R_OK) = 0
open("/etc/sysconfig/openvpn", O_RDONLY|O_LARGEFILE) = 3
fcntl64(3, F_DUPFD, 10) = 11
close(3) = 0
fcntl64(11, F_SETFD, FD_CLOEXEC) = 0
read(11, "# Customized settings for openvp"..., 512) = 207
read(11, "", 512) = 0
close(11) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
exit_group(0) = ?
Process 7652 detached
--
--
Grzegorz Zorczykowski
pld-lists w sterdam.net
grzegorzz w sterdam.net
http://www.sterdam.net
Więcej informacji o liście dyskusyjnej pld-users-pl