[vz-dev] unknown middleware response

Tom Weber tom.weber at gmx.de
Wed Apr 11 17:34:07 CEST 2012


Strace war etwas geschwätziger, siehe unten

Kann es sein, dass meine Pfade zerwürfelt sind? Da sind ja zig nicht
gefundene Dateien....


mmap(0xf684000, 8192, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 8, 0x3000) = 0xf684000
close(8)                                = 0
close(7)                                = 0
close(6)                                = 0
stat64("/usr/bin/rfc822", 0x7ff2cff0)   = -1 ENOENT (No such file or
directory)
open("/usr/bin/rfc822.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file
or directory)
open("/usr/bin/rfc822module.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
file or directory)
open("/usr/bin/rfc822.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file
or directory)
open("/usr/bin/rfc822.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file
or directory)
stat64("/opt/local/lib/python2.7/site-packages/rfc822", 0x7ff2cff0) = -1
ENOENT (No such file or directory)
open("/opt/local/lib/python2.7/site-packages/rfc822.so",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/opt/local/lib/python2.7/site-packages/rfc822module.so",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/opt/local/lib/python2.7/site-packages/rfc822.py",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/opt/local/lib/python2.7/site-packages/rfc822.pyc",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/python2.7/rfc822", 0x7ff2cff0) = -1 ENOENT (No such file or
directory)
open("/opt/lib/python2.7/rfc822.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/opt/lib/python2.7/rfc822module.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/opt/lib/python2.7/rfc822.py", O_RDONLY|O_LARGEFILE) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=33295, ...}) = 0
open("/opt/lib/python2.7/rfc822.pyc", O_RDONLY|O_LARGEFILE) = 7
fstat64(7, {st_mode=S_IFREG|0644, st_size=31671, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30018000
read(7,
"\3\363\r\n\365v=Oc\0\0\0\0\0\0\0\0\30\0\0\0@\0\0\0s\271\3\0\0d\0"..., 4096)
= 4096
fstat64(7, {st_mode=S_IFREG|0644, st_size=31671, ...}) = 0
read(7,
"\3\0\204\0\0Z\4\0d\4\0\204\0\0Z\5\0d\5\0\204\0\0Z\6\0d\6\0\204\0\0"...,
24576) = 24576
read(7, "\1\0|\f\0f\n\0S(\25\0\0\0sQ\0\0\0Convert a dat"..., 4096) = 2999
read(7, "", 4096)                       = 0
close(7)                                = 0
munmap(0x30018000, 4096)                = 0
close(6)                                = 0
close(5)                                = 0
close(4)                                = 0
close(3)                                = 0
stat64("/usr/bin/json", 0x7ff36c50)     = -1 ENOENT (No such file or
directory)
open("/usr/bin/json.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("/usr/bin/jsonmodule.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
file or directory)
open("/usr/bin/json.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("/usr/bin/json.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
stat64("/opt/local/lib/python2.7/site-packages/json", 0x7ff36c50) = -1
ENOENT (No such file or directory)
open("/opt/local/lib/python2.7/site-packages/json.so", O_RDONLY|O_LARGEFILE)
= -1 ENOENT (No such file or directory)
open("/opt/local/lib/python2.7/site-packages/jsonmodule.so",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/opt/local/lib/python2.7/site-packages/json.py", O_RDONLY|O_LARGEFILE)
= -1 ENOENT (No such file or directory)
open("/opt/local/lib/python2.7/site-packages/json.pyc",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/python2.7/json", {st_mode=S_IFDIR|0755, st_size=4096, ...})
= 0
stat64("/opt/lib/python2.7/json/__init__.py", {st_mode=S_IFREG|0644,
st_size=13818, ...}) = 0
stat64("/opt/lib/python2.7/json/__init__", 0x7ff35be0) = -1 ENOENT (No such
file or directory)
open("/opt/lib/python2.7/json/__init__.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/json/__init__module.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/json/__init__.py", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=13818, ...}) = 0
open("/opt/lib/python2.7/json/__init__.pyc", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=13064, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30018000
read(4, "\3\363\r\n\7w=Oc\0\0\0\0\0\0\0\0\21\0\0\0@\0\0\0s&\1\0\0d\0"...,
4096) = 4096
fstat64(4, {st_mode=S_IFREG|0644, st_size=13064, ...}) = 0
read(4, "None``)\n    will be skipped inst"..., 8192) = 8192
read(4, " strings: -Infinity, Infinity, N"..., 4096) = 776
read(4, "", 4096)                       = 0
brk(0x10143000)                         = 0x10143000
close(4)                                = 0
munmap(0x30018000, 4096)                = 0
stat64("/opt/lib/python2.7/json", {st_mode=S_IFDIR|0755, st_size=4096, ...})
= 0
stat64("/opt/lib/python2.7/json", {st_mode=S_IFDIR|0755, st_size=4096, ...})
= 0
stat64("/opt/lib/python2.7/json/decoder", 0x7ff327c0) = -1 ENOENT (No such
file or directory)
open("/opt/lib/python2.7/json/decoder.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/opt/lib/python2.7/json/decodermodule.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/json/decoder.py", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=13785, ...}) = 0
open("/opt/lib/python2.7/json/decoder.pyc", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=11925, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30018000
read(5, "\3\363\r\n\7w=Oc\0\0\0\0\0\0\0\0\5\0\0\0@\0\0\0s\243\1\0\0d\0"...,
4096) = 4096
fstat64(5, {st_mode=S_IFREG|0644, st_size=11925, ...}) = 0
read(5, "\0\0k\t\0r\233\0|\5\0|\n\0\203\1\0}\r\0|\r\0|\t\0f\2\0Si\0"...,
4096) = 4096
read(5, "e given ``dict``.  This can be u"..., 4096) = 3733
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x30018000, 4096)                = 0
stat64("/opt/lib/python2.7/json/re", 0x7ff2f3a0) = -1 ENOENT (No such file
or directory)
open("/opt/lib/python2.7/json/re.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/opt/lib/python2.7/json/remodule.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/json/re.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/opt/lib/python2.7/json/re.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
stat64("/opt/lib/python2.7/json/sys", 0x7ff2f3a0) = -1 ENOENT (No such file
or directory)
open("/opt/lib/python2.7/json/sys.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/opt/lib/python2.7/json/sysmodule.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/json/sys.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/opt/lib/python2.7/json/sys.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
stat64("/opt/lib/python2.7/json/struct", 0x7ff2f3a0) = -1 ENOENT (No such
file or directory)
open("/opt/lib/python2.7/json/struct.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/opt/lib/python2.7/json/structmodule.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/json/struct.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/opt/lib/python2.7/json/struct.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
stat64("/opt/lib/python2.7/json/json", 0x7ff2f3a0) = -1 ENOENT (No such file
or directory)
open("/opt/lib/python2.7/json/json.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/opt/lib/python2.7/json/jsonmodule.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/json/json.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/opt/lib/python2.7/json/json.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
stat64("/opt/lib/python2.7/json/scanner", 0x7ff2f3a0) = -1 ENOENT (No such
file or directory)
open("/opt/lib/python2.7/json/scanner.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/opt/lib/python2.7/json/scannermodule.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/json/scanner.py", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=2297, ...}) = 0
open("/opt/lib/python2.7/json/scanner.pyc", O_RDONLY|O_LARGEFILE) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=2223, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30018000
read(6, "\3\363\r\n\7w=Oc\0\0\0\0\0\0\0\0\5\0\0\0@\0\0\0s\205\0\0\0d\0"...,
4096) = 2223
fstat64(6, {st_mode=S_IFREG|0644, st_size=2223, ...}) = 0
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x30018000, 4096)                = 0
stat64("/opt/lib/python2.7/json/_json", 0x7ff2bf80) = -1 ENOENT (No such
file or directory)
open("/opt/lib/python2.7/json/_json.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/opt/lib/python2.7/json/_jsonmodule.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/json/_json.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/opt/lib/python2.7/json/_json.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
stat64("/usr/bin/_json", 0x7ff2bf80)    = -1 ENOENT (No such file or
directory)
open("/usr/bin/_json.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("/usr/bin/_jsonmodule.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
file or directory)
open("/usr/bin/_json.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or
directory)
open("/usr/bin/_json.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file
or directory)
stat64("/opt/local/lib/python2.7/site-packages/_json", 0x7ff2bf80) = -1
ENOENT (No such file or directory)
open("/opt/local/lib/python2.7/site-packages/_json.so",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/opt/local/lib/python2.7/site-packages/_jsonmodule.so",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/opt/local/lib/python2.7/site-packages/_json.py",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/opt/local/lib/python2.7/site-packages/_json.pyc",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
stat64("/opt/lib/python2.7/_json", 0x7ff2bf80) = -1 ENOENT (No such file or
directory)
open("/opt/lib/python2.7/_json.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/opt/lib/python2.7/_jsonmodule.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/opt/lib/python2.7/_json.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
open("/opt/lib/python2.7/_json.pyc", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No
such file or directory)
stat64("/opt/lib/python2.7/plat-linux2/_json", 0x7ff2bf80) = -1 ENOENT (No
such file or directory)
open("/opt/lib/python2.7/plat-linux2/_json.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/plat-linux2/_jsonmodule.so", O_RDONLY|O_LARGEFILE)
= -1 ENOENT (No such file or directory)
open("/opt/lib/python2.7/plat-linux2/_json.py", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/plat-linux2/_json.pyc", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
stat64("/opt/lib/python2.7/lib-tk/_json", 0x7ff2bf80) = -1 ENOENT (No such
file or directory)
open("/opt/lib/python2.7/lib-tk/_json.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/opt/lib/python2.7/lib-tk/_jsonmodule.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/lib-tk/_json.py", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/opt/lib/python2.7/lib-tk/_json.pyc", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
stat64("/opt/lib/python2.7/lib-dynload/_json", 0x7ff2bf80) = -1 ENOENT (No
such file or directory)
open("/opt/lib/python2.7/lib-dynload/_json.so", O_RDONLY|O_LARGEFILE) = 6
fstat64(6, {st_mode=S_IFREG|0755, st_size=48552, ...}) = 0
open("/opt/lib/python2.7/lib-dynload/_json.so", O_RDONLY) = 7
read(7,
"\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0,\30\0\0\0004"..., 512)
= 512
fstat64(7, {st_mode=S_IFREG|0755, st_size=48552, ...}) = 0
mmap(0xf645000, 113496, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 7,
0) = 0xf645000
mprotect(0xf650000, 68440, PROT_NONE)   = 0
mmap(0xf660000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 7, 0xb000) = 0xf660000
close(7)                                = 0
close(6)                                = 0
close(5)                                = 0
stat64("/opt/lib/python2.7/encodings/hex_codec", 0x7ff2f040) = -1 ENOENT (No
such file or directory)
open("/opt/lib/python2.7/encodings/hex_codec.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/encodings/hex_codecmodule.so",
O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/opt/lib/python2.7/encodings/hex_codec.py", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=2309, ...}) = 0
open("/opt/lib/python2.7/encodings/hex_codec.pyc", O_RDONLY|O_LARGEFILE) = 6
fstat64(6, {st_mode=S_IFREG|0644, st_size=3754, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30018000
read(6, "\3\363\r\n\4w=Oc\0\0\0\0\0\0\0\0\3\0\0\0@\0\0\0s\306\0\0\0d\0"...,
4096) = 3754
fstat64(6, {st_mode=S_IFREG|0644, st_size=3754, ...}) = 0
read(6, "", 4096)                       = 0
close(6)                                = 0
munmap(0x30018000, 4096)                = 0
stat64("/opt/lib/python2.7/encodings/binascii", 0x7ff2bc20) = -1 ENOENT (No
such file or directory)
open("/opt/lib/python2.7/encodings/binascii.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/encodings/binasciimodule.so", O_RDONLY|O_LARGEFILE)
= -1 ENOENT (No such file or directory)
open("/opt/lib/python2.7/encodings/binascii.py", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/encodings/binascii.pyc", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
close(5)                                = 0
close(4)                                = 0
stat64("/opt/lib/python2.7/json/encoder", 0x7ff327c0) = -1 ENOENT (No such
file or directory)
open("/opt/lib/python2.7/json/encoder.so", O_RDONLY|O_LARGEFILE) = -1 ENOENT
(No such file or directory)
open("/opt/lib/python2.7/json/encodermodule.so", O_RDONLY|O_LARGEFILE) = -1
ENOENT (No such file or directory)
open("/opt/lib/python2.7/json/encoder.py", O_RDONLY|O_LARGEFILE) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=16014, ...}) = 0
open("/opt/lib/python2.7/json/encoder.pyc", O_RDONLY|O_LARGEFILE) = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=13224, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30018000
read(5, "\3\363\r\n\7w=Oc\0\0\0\0\0\0\0\0\r\0\0\0@\0\0\0s|\1\0\0d\0"...,
4096) = 4096
fstat64(5, {st_mode=S_IFREG|0644, st_size=13224, ...}) = 0
read(5, "f allow_nan is true, then NaN, I"..., 8192) = 8192
read(5, "7\0\0\0RY\0\0\0RZ\0\0\0R[\0\0\0RD\0\0\0R\22\0\0\0R\\\0"..., 4096) =
936
read(5, "", 4096)                       = 0
close(5)                                = 0
munmap(0x30018000, 4096)                = 0
close(4)                                = 0
close(3)                                = 0
open("/etc/vzclient.conf", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=65, ...}) = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=65, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30018000
read(3, "[default]\nurl:http://r2d2/volksz"..., 4096) = 65
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x30018000, 4096)                = 0
open("/root/.vzclient.conf", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file
or directory)
gettimeofday({1334158325, 406451}, NULL) = 0
getpid()                                = 17941
open("/etc/resolv.conf", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=42, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30018000
read(3, "nameserver 192.168.178.1\nsearch "..., 4096) = 42
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x30018000, 4096)                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1
ENOENT (No such file or directory)
close(3)                                = 0
socket(PF_FILE, SOCK_STREAM, 0)         = 3
fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK)  = 0
connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1
ENOENT (No such file or directory)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=283, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30018000
read(3, "passwd:     files\nshadow:     fi"..., 4096) = 283
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x30018000, 4096)                = 0
open("/opt/lib/libnss_files.so.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/lib/libnss_files.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\2\1\0\0\0\0\0\0\0\0\0\0\3\0\24\0\0\0\1\0\0
\340\0\0\0004"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=43732, ...}) = 0
mmap(0xf61a000, 108256, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3,
0) = 0xf61a000
mprotect(0xf624000, 67296, PROT_NONE)   = 0
mmap(0xf634000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xa000) = 0xf634000
close(3)                                = 0
open("/etc/host.conf", O_RDONLY)        = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=17, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30018000
read(3, "order hosts,bind\n", 4096)     = 17
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x30018000, 4096)                = 0
open("/etc/hosts", O_RDONLY)            = 3
fcntl64(3, F_GETFD)                     = 0
fcntl64(3, F_SETFD, FD_CLOEXEC)         = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=150, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30018000
read(3, "127.0.0.1\tlocalhost\n192.168.178."..., 4096) = 150
close(3)                                = 0
munmap(0x30018000, 4096)                = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 3
connect(3, {sa_family=AF_INET, sin_port=htons(80),
sin_addr=inet_addr("192.168.178.22")}, 16) = 0
send(3, "GET /volkszaehler.org/htdocs/mid"..., 172, 0) = 172
recv(3, "HTTP/1.0 500 Internal Server Err"..., 8192, 0) = 228
close(3)                                = 0
fstat64(1, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x30018000
write(1, "\n", 1)                       = 1
rt_sigaction(SIGINT, {SIG_DFL, [], 0}, {0xfdd9d64, [], 0}, 8) = 0
munmap(0x30018000, 4096)                = 0
exit_group(1)                           = ?
r2d2>

-----Ursprüngliche Nachricht-----
Von: volkszaehler-dev-bounces at lists.volkszaehler.org
[mailto:volkszaehler-dev-bounces at lists.volkszaehler.org] Im Auftrag von
Thorben Thuermer
Gesendet: Mittwoch, 11. April 2012 17:08
An: volkszaehler.org
Betreff: Re: [vz-dev] unknown middleware response

On Wed, 11 Apr 2012 17:01:37 +0200 "Tom Weber" <tom.weber at gmx.de> wrote:
> Was für eine Odyssee...
>
> Ich probiere nun mit vzclient, das liefert mir bei der Abfrage mit 
> "./vzclient get channel" einen Leerstring zurück.... da kommt nix, 
> wenn ich eine falsche url in der conf angebe, erscheint zumindest eine
Fehlermeldung.

das waer' dann ein bug in vzclient...
im zweifelsfall mal unter strace oder ltrace ausfuehren ("ltrace /vzclient
get channel"), dann solltest du den http-request und antwort sehen koennen.

> Zur httpd.conf:
> Dort hatte ich eine Datei angegeben, aber die wird gar nicht angelegt.

"eine datei angegeben"?
du meinst ein AccessLog und/oder ErrorLog?
danach musst du apache noch neustarten (oder zumindest per reload die config
neu einlesen)...?

im zweifelsfall kannst du dir auch konkret klarheit verschaffen, wo apache
hinschreibt (beispiel von meinem system):
# pidof apache2
12031 11998 11538 11261 3263 3262 3261 3260 3259 2791 # ls -l
/proc/12031/fd/*
l-wx------ 1 root root 64 Apr 11 17:05 /proc/12031/fd/2 ->
/var/log/apache2/error.log
l-wx------ 1 root root 64 Apr 11 17:05 /proc/12031/fd/7 ->
/var/log/apache2/other_vhosts_access.log
l-wx------ 1 root root 64 Apr 11 17:05 /proc/12031/fd/8 ->
/var/log/apache2/access.log

- T.

> -----Ursprüngliche Nachricht-----
> Von: volkszaehler-dev-bounces at lists.volkszaehler.org
> [mailto:volkszaehler-dev-bounces at lists.volkszaehler.org] Im Auftrag 
> von Thorben Thuermer
> Gesendet: Mittwoch, 11. April 2012 16:19
> An: volkszaehler.org
> Betreff: Re: [vz-dev] unknown middleware response
> 
> On Wed, 11 Apr 2012 16:05:04 +0200 "Tom Weber" <tom.weber at gmx.de> wrote:
> > Ich weiß, was ihr jetzt denkt, und ihr habt Recht ;-)
> > 
> > Nach den kontrollierten Fehlschlägen ziehe ich gerade auf die 
> > Synology Diskstation um.
> was versprichst du dir davon, wenn die _weniger_ ram hat?
> 
> > Habe die DB "erfolgreich" mit mysqldump kopiert.
> > Volkszaehler-Skripte neu aufgesetzt, doctrine ebenfalls. User vz 
> > angelegt, das müsste eigentlich passen.
> > 
> > Und es erscheint fröhlich: "500 Unknown middleware response"
> woran es hier mangelt ist eine sinnvollere fehlermeldung im frontend, 
> in der die "unbekannten" daten mal angezeigt werden, dann duerfte 
> sowas schneller zu beheben sein - du kannst ir aber auch erstmal mit 
> firebug oder notfalls wireshark helfen...
> 
> > - der Hinweis
> > in der Wiki nützt nichts, und was ich überhaupt nicht verstehe: Ich 
> > finde nirgends die apache error_log Datei. Auch nicht die access_log.
> 
> wo genau die liegen (und wie sie heissen!), bzw ob es die ueberhaupt 
> gibt, haengt von der konfiguration deines apache ab, entsprechend 
> laesst sich das nicht genauer angeben.
> _ueblich_ ist halt /var/log/apache2/access.log und 
> /vAr/log/apache2/error.log.
> ansonsten musst du halt in deiner kofiguration nachschauen, bzw:
> $ grep -riE '(access|error)log' /etc/apache2/
> 
> > Was auch lästig ist:
> > Das install.sh lässt sich nicht mehr aufrufen, es kommt "-ash:
> ./install.sh:
> > not found" - der in dem Skript enthaltene shopt funktioniert 
> > ebenfalls nicht (not found)
> 
> $ head install.sh
> #!/bin/bash
> 
> das install.sh script ist ein bash script, du hast (siehe deine
> fehlermedung) keine bash sondern wohl nur ash, weswegen das ausfuehren 
> dann fehlschlaegt.
> entsprechend funktioniert das shopt nicht, wenn du versucht das script 
> mit ash statt bash auszufuehren.
> (es waehre u.U. eine akzektable forderung, das script portabler zu 
> machen, andererseits ist es etwas unsinnig, auf einem system apache 
> und mysql zu installieren, aber auf bash verzichten zu wollen...)
> 
> > Tja, ist heute wohl nicht mein volkszaehler-tag...
> 
> - T.
> 



More information about the volkszaehler-dev mailing list