Is there any special trick to getting aolserver to work on 64bit linux?
A stock nsd crashes right away (strace below).
I'm using
Linux www64 2.6.20-15-generic #2 SMP Sun Apr 15 06:17:24 UTC 2007
x86_64 GNU/Linux
The only change I made from the cvs tree was the previously mentioned
-nostartfiles mod:
CC = $(PURIFY) gcc -nostartfiles
I'm crashing running "bin/nsd -h"
-john
strace of bin/nsd -h
...
munmap(0x2b0c9308a000, 51575) = 0
open("/etc/host.conf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2b0c9308a000
read(4, "# The \"order\" line is only used "..., 4096) = 92
read(4, "", 4096) = 0
close(4) = 0
munmap(0x2b0c9308a000, 4096) = 0
futex(0x2b0c93c96ca0, FUTEX_WAKE, 2147483647) = 0
open("/etc/hosts", O_RDONLY) = 4
fcntl(4, F_GETFD) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=284, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2b0c9308a000
read(4, "127.0.0.1\tlocalhost\n#127.0.1.1\tu"..., 4096) = 284
read(4, "", 4096) = 0
close(4) = 0
munmap(0x2b0c9308a000, 4096) = 0
dup2(3, 0) = 0
write(2, "\nError: required -t <config> opt"..., 50
Error: required -t <config> option not specified
) = 50
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 26160 detached
and normal startup:
...
munmap(0x2b2a082a7000, 4096) = 0
open("/usr/local/aolserver/lib/libnss_files.so.2", O_RDONLY) = -1
ENOENT (No such file or directory)
open("/lib/libnss_files.so.2", O_RDONLY) = 4
read(4, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0P \0\0\0"...,
832) = 832
fstat(4, {st_mode=S_IFREG|0644, st_size=43440, ...}) = 0
mmap(NULL, 2139464, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE,
4, 0) = 0x2b2a082a7000
mprotect(0x2b2a082b1000, 2093056, PROT_NONE) = 0
mmap(0x2b2a084b0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|
MAP_FIXED|MAP_DENYWRITE, 4, 0x9000) = 0x2b2a084b0000
close(4) = 0
open("/etc/host.conf", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=92, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2b2a084b2000
read(4, "# The \"order\" line is only used "..., 4096) = 92
read(4, "", 4096) = 0
close(4) = 0
munmap(0x2b2a084b2000, 4096) = 0
futex(0x2b2a082a2ca0, FUTEX_WAKE, 2147483647) = 0
open("/etc/hosts", O_RDONLY) = 4
fcntl(4, F_GETFD) = 0
fcntl(4, F_SETFD, FD_CLOEXEC) = 0
fstat(4, {st_mode=S_IFREG|0644, st_size=283, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x2b2a084b2000
read(4, "127.0.0.1\tlocalhost\n127.0.1.1\tub"..., 4096) = 283
read(4, "", 4096) = 0
close(4) = 0
munmap(0x2b2a084b2000, 4096) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Process 26091 detached
----
--
AOLserver - http://www.aolserver.com/
To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]>
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
field of your email blank.