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

Re: [leafnode-list] ANNOUNCE: leafnode-2.0b5_ma6



On Thu, Nov 23, 2000 at 05:13:56AM +0100 Matthias Andree wrote:

Hi again :-)

> - - Makefile fix: don't append {0,0} in configparam_data.c, should fix
>   configparam related crashes (reported by Stefan Fleiter)

Partly.
Now I at least get error messages and no crash, but leafnode still is
not working for me.


# telnet localhost nntp
Trying 127.0.0.1...
Connected to mobile.
Escape character is '^]'.
no server declaration in config file
503 Unable to read configuration from /etc/news/leafnode/config, exiting (Destination address required)
Connection closed by foreign host.


Note that all rights are _indeed_ ok.


a strace (of a test configuration, only one line "server = torsten" in it):
---------

execve("/usr/local/sbin/fetchnews", ["/usr/local/sbin/fetchnews", "-vvvv"], [/* 36 vars */]) = 0
[..]
munmap(0x40017000, 4096)                = 0
open("/etc/news/leafnode/config", O_RDONLY) = 4
fstat(4, {st_mode=S_IFREG|0600, st_size=17, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(4, "server = torsten\n", 4096)     = 17
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40017000, 4096)                = 0
brk(0x805d000)                          = 0x805d000
time([975010819])                       = 975010819
open("/etc/localtime", O_RDONLY)        = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1323, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
read(4, "TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\7\0\0\0\7\0"..., 4096) = 1323
close(4)                                = 0
munmap(0x40017000, 4096)                = 0
getpid()                                = 22969
rt_sigaction(SIGPIPE, {0x400ece38, [], 0x4000000}, {SIG_DFL}, 8) = 0
socket(PF_UNIX, SOCK_DGRAM, 0)          = 4
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
connect(4, {sin_family=AF_UNIX, path="      /dev/log"}, 16) = -1 EPROTOTYPE (Protocol wrong type for socket)
close(4)                                = 0
socket(PF_UNIX, SOCK_STREAM, 0)         = 4
fcntl(4, F_SETFD, FD_CLOEXEC)           = 0
connect(4, {sin_family=AF_UNIX, path="      /dev/log"}, 16) = 0
send(4, "<59>Nov 23 20:20:19 fetchnews[22"..., 75, 0) = 75
rt_sigaction(SIGPIPE, {SIG_DFL}, NULL, 8) = 0
write(2, "no server declaration in config "..., 36) = 36
write(2, "\n", 1)                       = 1
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 3), ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000
ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
write(1, "Reading configuration failed (De"..., 61) = 61
munmap(0x40017000, 4096)                = 0
_exit(2)                                = ?



If you need the full strace from the start, please tell me!


libc:
-----
# /lib/libc-2.2.so
GNU C Library stable release version 2.2, by Roland McGrath et al.



HTH,

Stefan

-- 
  friendly greetings from Chelmsford/Britain

Playing now: Iron Maiden - Fear Of The Dark

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list