[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] leafnode hangs up on me



>>>>> "Cornelius" == Cornelius Krasel <krasel@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> writes:

    Cornelius> Laura Conrad wrote:

    >> [root@serpent init.d]# telnet localhost nntp
    >> Trying 127.0.0.1...
    >> Connected to localhost.
    >> Escape character is '^]'.
    >> 200 Leafnode NNTP Daemon, version 1.9.9 running at serpent.local
    >> Connection closed by foreign host.
    >> [root@serpent init.d]# 

    Cornelius> This usually indicates that leafnode has died by segfault. You could try
    Cornelius> to check what's going on by using strace. If you have a bash, try the
    Cornelius> following (as root):

    Cornelius> strace /usr/local/sbin/leafnode 2&> /tmp/logfile

    Cornelius> and send the logfile to me (it's probably quite
    Cornelius> large). 

No, it's crashing real fast.




execve("/usr/local/sbin/leafnode", ["/usr/local/sbin/leafnode", "2"], [/* 38 vars */]) = 0
brk(0)                                  = 0x8057488
open("/etc/ld.so.preload", O_RDONLY)    = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=31294, ...}) = 0
mmap(0, 31294, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40015000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=1282102, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 1022396, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x4001d000
mprotect(0x4010f000, 31164, PROT_NONE)  = 0
mmap(0x4010f000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf1000) = 0x4010f000
mmap(0x40114000, 10684, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40114000
close(3)                                = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40117000
mprotect(0x4001d000, 991232, PROT_READ|PROT_WRITE) = 0
mprotect(0x4001d000, 991232, PROT_READ|PROT_EXEC) = 0
munmap(0x40015000, 31294)               = 0
personality(PER_LINUX)                  = 0
getpid()                                = 30676
brk(0)                                  = 0x8057488
brk(0x8057628)                          = 0x8057628
brk(0x8058000)                          = 0x8058000
mkdir("/var/spool/news/interesting.groups", 0775) = -1 EEXIST (File exists)
mkdir("/var/spool/news/leaf.node", 0755) = -1 EEXIST (File exists)
mkdir("/var/spool/news/failed.postings", 0775) = -1 EEXIST (File exists)
mkdir("/var/spool/news/out.going", 05303) = -1 EEXIST (File exists)
chmod("/var/spool/news/out.going", 04755) = 0
getsockname(0, 0xbffff500, [16])        = -1 ENOTSOCK (Socket operation on non-socket)
uname({sys="Linux", node="serpent.local", ...}) = 0
gettimeofday({947594467, 767548}, NULL) = 0
getpid()                                = 30676
open("/etc/resolv.conf", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=55, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
read(3, "search .\nnameserver 192.74.137."..., 4096) = 55
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40015000, 4096)                = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 3
connect(3, {sun_family=AF_UNIX, sun_path="/var/run/.nscd_socket"}, 110) = -1 ECONNREFUSED (Connection refused)
close(3)                                = 0
open("/etc/nsswitch.conf", O_RDONLY)    = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1542, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
read(3, "#\n# /etc/nsswitch.conf\n#\n# An"..., 4096) = 1542
brk(0x8059000)                          = 0x8059000
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40015000, 4096)                = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=31294, ...}) = 0
mmap(0, 31294, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40015000
close(3)                                = 0
open("/lib/libnss_files.so.2", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0755, st_size=42183, ...}) = 0
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3"..., 4096) = 4096
mmap(0, 36396, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) = 0x40118000
mprotect(0x40120000, 3628, PROT_NONE)   = 0
mmap(0x40120000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x7000) = 0x40120000
close(3)                                = 0
munmap(0x40015000, 31294)               = 0
open("/etc/host.conf", O_RDONLY)        = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=27, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
read(3, "order hosts, bind\nmulti on\n", 4096) = 27
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x40015000, 4096)                = 0
open("/etc/hosts", O_RDONLY)            = 3
fcntl(3, F_GETFD)                       = 0
fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
fstat(3, {st_mode=S_IFREG|0644, st_size=157, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
read(3, "127.0.0.1\tlocalhost\tlocalhost."..., 4096) = 157
close(3)                                = 0
munmap(0x40015000, 4096)                = 0
umask(02)                               = 022
fstat(1, {st_mode=S_IFREG|0644, st_size=4482, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40015000
write(1, "200 Leafnode NNTP Daemon, versio"..., 66200 Leafnode NNTP Daemon, version 1.9.9 running at serpent.local
) = 66
open("/etc/leafnode/config", O_RDONLY)  = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1626, ...}) = 0
mmap(0, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40016000
read(3, "# This is the NNTP server leafno"..., 4096) = 1626
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++





-- 
Laura (mailto:lconrad@xxxxxxxxxxxxx , http://www.world.std.com/~lconrad/ )
(617) 661-8097	fax: (801) 365-6574 
233 Broadway, Cambridge, MA 02139