[linux-l] boa start probleme - HAT SICH ERLEDIGT
alex b.
mailinglists1 at gmx.de
Di Jun 10 00:06:23 CEST 2003
ich habe diese libs einfach NOCHMAL kompiliert... hat zwar gedauert, aber jetzt geht's
die libs habe ich noch neulich bei nem kumpel kompiliert, und nich auf meinem drahtesel.. womöglich
lag es daran... jetzt gehts
trotzdem danke an euch alle!!!
alex b. wrote:
> moin,
>
> ich habe mir mal den spaß erlaubt, uClibc zu kompilieren ebenso, wie
> busy box.
>
> alles läuft super, bis auf boa (winziger webserver ->
> http://www.boa.org/ ). die neueste version befand sich sehr bald auf
> meiner platte und wurde kompiliert...
>
> boa wolte nicht... :(
>
>
> mit strace habe ich mal verfolgt, was da so vor sich geht:
>
>
>
> execve("./boa", ["./boa"], [/* 7 vars */]) = 0
> old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, 0,
> 0) = 0x40005000
> readlink("/lib/ld-uClibc.so.0", "ld-uClibc-0.9.19.so", 1024) = 19
> open("/lib/libc.so.0", O_RDONLY) = 5
> read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P\303\0"...,
> 4096) = 4096
> old_mmap(NULL, 217088, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
> 0x40006000
> old_mmap(0x40006000, 200672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED,
> 5, 0) = 0x40006000
> old_mmap(0x40037000, 4452, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED,
> 5, 0x31000) = 0x40037000
> old_mmap(0x40039000, 5676, PROT_READ|PROT_WRITE,
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40039000
> close(5) = 0
> mprotect(0x40006000, 200672, PROT_READ|PROT_WRITE|PROT_EXEC) = 0
> mprotect(0x40006000, 200672, PROT_READ|PROT_EXEC) = 0
> ioctl(0, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
> ioctl(1, SNDCTL_TMR_TIMEBASE, {B38400 opost isig icanon echo ...}) = 0
> brk(0x805d65c) = 0x805d65c
> brk(0x805e000) = 0x805e000
> brk(0x805f000) = 0x805f000
> umask(037777777177) = 022
> open("/dev/null", O_RDONLY) = 5
> dup2(5, 0) = 0
> dup2(5, 1) = 1
> time([1055191780]) = 1055191780
> brk(0x8060000) = 0x8060000
> chdir("/etc/boa") = 0
> getuid() = 0
> brk(0x8061000) = 0x8061000
> open("boa.conf", O_RDONLY) = 6
> ioctl(6, SNDCTL_TMR_TIMEBASE, 0xbffffd30) = -1 ENOTTY (Inappropriate
> ioctl for device)
> brk(0x8062000) = 0x8062000
> brk(0x8067000) = 0x8067000
> ioctl(6, SNDCTL_TMR_TIMEBASE, 0xbffff7f4) = -1 ENOTTY (Inappropriate
> ioctl for device)
> read(6, "# Boa v0.94 configuration file\n#"..., 8192) = 7340
> read(6, "", 852) = 0
> open("/etc/passwd", O_RDONLY) = 7
> read(7, "root:x:0:0:root:/root:/bin/sh\nno"..., 256) = 136
> lseek(7, -106, SEEK_CUR) = 30
> read(7, "nobody:x:65534:65534:nobody:/hom"..., 256) = 106
> lseek(7, -64, SEEK_CUR) = 72
> close(7) = 0
> open("/etc/group", O_RDONLY) = 7
> read(7, "root::0:root\nnobody::98:nobody\nn"..., 256) = 56
> lseek(7, -43, SEEK_CUR) = 13
> brk(0x8068000) = 0x8068000
> read(7, "nobody::98:nobody\nnogroup::99:\nu"..., 256) = 43
> lseek(7, -25, SEEK_CUR) = 31
> read(7, "nogroup::99:\nusers::100:\n", 256) = 25
> lseek(7, -12, SEEK_CUR) = 44
> close(7) = 0
> brk(0x8069000) = 0x8069000
> read(6, "", 8192) = 0
> ioctl(6, SNDCTL_TMR_TIMEBASE, 0xbffff7d4) = -1 ENOTTY (Inappropriate
> ioctl for device)
> close(6) = 0
> open("/etc/mime.types", O_RDONLY) = 6
> ioctl(6, SNDCTL_TMR_TIMEBASE, 0xbffff7f0) = -1 ENOTTY (Inappropriate
> ioctl for device)
> ioctl(6, SNDCTL_TMR_TIMEBASE, 0xbffff7f4) = -1 ENOTTY (Inappropriate
> ioctl for device)
> read(6, "# This is a comment. I love comm"..., 8192) = 8192
> read(6, "on/vnd.wt.stf\napplication/vnd.xa"..., 8192) = 4189
> read(6, "", 4003) = 0
> read(6, "", 8192) = 0
> ioctl(6, SNDCTL_TMR_TIMEBASE, 0xbffff7d4) = -1 ENOTTY (Inappropriate
> ioctl for device)
> close(6) = 0
> open("/var/log/boa/error_log", O_WRONLY|O_APPEND|O_CREAT, 0644) = 6
> dup2(6, 2) = 2
> close(6) = 0
> fcntl(2, F_SETFD, FD_CLOEXEC) = 0
> open("/var/log/boa/access_log", O_WRONLY|O_APPEND|O_CREAT, 0644) = 6
> fcntl(6, F_GETFL) = 0x401 (flags O_WRONLY|O_APPEND)
> ioctl(6, SNDCTL_TMR_TIMEBASE, 0xbffffd9c) = -1 ENOTTY (Inappropriate
> ioctl for device)
> socket(PF_INET, SOCK_STREAM, IPPROTO_TCP) = 7
> fcntl(7, F_SETFL, O_RDONLY|O_NONBLOCK) = 0
> fcntl(7, F_SETFD, FD_CLOEXEC) = 0
> setsockopt(7, SOL_SOCKET, SO_REUSEADDR, [1], 4) = 0
> bind(7, {sin_family=AF_INET, sin_port=htons(80),
> sin_addr=inet_addr("0.0.0.0")}}, 16) = 0
> listen(7, 250) = 0
> rt_sigaction(SIGSEGV, {0x8050c4c, [HUP INT BUS USR1 SEGV USR2 PIPE ALRM
> TERM CHLD], 0x4000000}, NULL, 8) = 0
> rt_sigaction(SIGBUS, {0x8050c98, [HUP INT BUS USR1 SEGV USR2 PIPE ALRM
> TERM CHLD], 0x4000000}, NULL, 8) = 0
> rt_sigaction(SIGTERM, {0x8050d00, [HUP INT BUS USR1 SEGV USR2 PIPE ALRM
> TERM CHLD], 0x4000000}, NULL, 8) = 0
> rt_sigaction(SIGHUP, {0x8050dc4, [HUP INT BUS USR1 SEGV USR2 PIPE ALRM
> TERM CHLD], 0x4000000}, NULL, 8) = 0
> rt_sigaction(SIGINT, {0x8050e78, [HUP INT BUS USR1 SEGV USR2 PIPE ALRM
> TERM CHLD], 0x4000000}, NULL, 8) = 0
> rt_sigaction(SIGPIPE, {SIG_IGN}, NULL, 8) = 0
> rt_sigaction(SIGCHLD, {0x8050ec8, [HUP INT BUS USR1 SEGV USR2 PIPE ALRM
> TERM CHLD], 0x4000000}, NULL, 8) = 0
> rt_sigaction(SIGALRM, {0x8050f40, [HUP INT BUS USR1 SEGV USR2 PIPE ALRM
> TERM CHLD], 0x4000000}, NULL, 8) = 0
> rt_sigaction(SIGUSR1, {SIG_IGN}, NULL, 8) = 0
> rt_sigaction(SIGUSR2, {SIG_IGN}, NULL, 8) = 0
> getuid() = 0
> open("/etc/passwd", O_RDONLY) = 8
> read(8, "root:x:0:0:root:/root:/bin/sh\nno"..., 256) = 136
> lseek(8, -106, SEEK_CUR) = 30
> read(8, "nobody:x:65534:65534:nobody:/hom"..., 256) = 106
> lseek(8, -64, SEEK_CUR) = 72
> close(8) = 0
> open("/etc/group", O_RDONLY) = 8
> read(8, "root::0:root\nnobody::98:nobody\nn"..., 256) = 56
> lseek(8, -43, SEEK_CUR) = 13
> read(8, "nobody::98:nobody\nnogroup::99:\nu"..., 256) = 43
> lseek(8, -25, SEEK_CUR) = 31
> read(8, "nogroup::99:\nusers::100:\n", 256) = 25
> lseek(8, -12, SEEK_CUR) = 44
> read(8, "users::100:\n", 256) = 12
> lseek(8, 0, SEEK_CUR) = 56
> read(8, "", 256) = 0
> close(8) = 0
> setgroups(1, [98]) = 0
> setgid(99) = 0
> setuid(65534) = 0
> setuid(0) = -1 EPERM (Operation not
> permitted)
> getrlimit(0x7, 0xbffffe50) = -1 ENOSYS (Function not
> implemented)
> write(2, "getrlimit", 9) = 9
> write(2, ": ", 2) = 2
> write(2, "Function not implemented", 24) = 24
> write(2, "\n", 1) = 1
> _exit(1) = ?
>
>
>
> dabei sind die zeilen mit folgendem inhalt besonders auffällig:
> "ioctl(6, SNDCTL_TMR_TIMEBASE, 0xbffffd30) = -1 ENOTTY (Inappropriate
> ioctl for device)"
> "getrlimit(0x7, 0xbffffe50) = -1 ENOSYS (Function not
> implemented)"
>
> hat irgend jemand eine idee, was das heißt?
>
>
> _______________________________________________
> linux-l mailing list
> linux-l at mlists.in-berlin.de
> https://mlists.in-berlin.de/mailman/listinfo/linux-l
>
>
Mehr Informationen über die Mailingliste linux-l