> I'm wondering if anyone can help me trackdown what exactly might be > happening (or, if I'm doing something REALLY dumb, then to > beat me severely > with a clue-stick). >
Ok, I realise I jumped the gun slightly in my eagerness for help (though still not fixed) - here's a bit more info: Log output AFTER the HUP is: ----------- Wed Jul 30 16:08:19 2003 : Info: Reloading configuration files. Wed Jul 30 16:08:19 2003 : Info: Using deprecated naslist file. Support for this will go away soon. Wed Jul 30 16:08:19 2003 : Info: Using deprecated clients file. Support for this will go away soon. Wed Jul 30 16:08:19 2003 : Info: Using deprecated realms file. Support for this will go away soon. Wed Jul 30 16:08:19 2003 : Error: sql_postgresql: calling unimplemented function ----------- So it's obviously a postgres module related issue (odd that it starts and works, but fails on HUP). Here's the tail of a strace output off the master process/thread: ----------------------- read(13, "#\n#\tTHIS FILE IS DEPRECATED.\n#\n#"..., 4096) = 1387 read(13, "", 4096) = 0 close(13) = 0 munmap(0x40017000, 4096) = 0 getrlimit(0x4, 0xbfffe500) = 0 setrlimit(RLIMIT_CORE, {rlim_cur=0, rlim_max=RLIM_INFINITY}) = 0 open("/etc/group", O_RDONLY) = 13 fcntl64(13, F_GETFD) = 0 fcntl64(13, F_SETFD, FD_CLOEXEC) = 0 fstat64(13, {st_mode=S_IFREG|0644, st_size=519, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 _llseek(13, 0, [0], SEEK_CUR) = 0 read(13, "root:x:0:\ndaemon:x:1:\nbin:x:2:\ns"..., 4096) = 519 close(13) = 0 munmap(0x40017000, 4096) = 0 setgid32(0x67) = 0 open("/etc/passwd", O_RDONLY) = 13 fcntl64(13, F_GETFD) = 0 fcntl64(13, F_SETFD, FD_CLOEXEC) = 0 fstat64(13, {st_mode=S_IFREG|0644, st_size=1354, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 _llseek(13, 0, [0], SEEK_CUR) = 0 read(13, "root:x:0:0:root:/root:/bin/bash\n"..., 4096) = 1354 close(13) = 0 munmap(0x40017000, 4096) = 0 setuid32(0x69) = 0 munmap(0x4023d000, 10040) = 0 munmap(0x40240000, 11824) = 0 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 send(7, "X", 1, 0) = 1 rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_IGN}, 8) = 0 close(7) = 0 open("/var/log/freeradius/radius.log", O_WRONLY|O_APPEND|O_CREAT, 0666) = 7 fstat64(7, {st_mode=S_IFREG|0644, st_size=24247, ...}) = 0 old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40017000 fstat64(7, {st_mode=S_IFREG|0644, st_size=24247, ...}) = 0 _llseek(7, 24247, [24247], SEEK_SET) = 0 time(NULL) = 1059545186 write(7, "Wed Jul 30 16:06:26 2003 : Error"..., 81) = 81 close(7) = 0 munmap(0x40017000, 4096) = 0 write(12, "[EMAIL PROTECTED](\371\22\10\310\377\22\10`="..., 148) = 148 rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0 rt_sigsuspend([] <unfinished ...> --- SIGRTMIN (Real-time signal 0) --- <... rt_sigsuspend resumed> ) = -1 EINTR (Interrupted system call) sigreturn() = ? (mask now [RTMIN]) wait4(4570, NULL, __WCLONE, NULL) = 4570 munmap(0x40014000, 4096) = 0 _exit(1) = ? ----------------------- By the way, this is built/installed using the debian packaging stuff under /debian in the tarball. Thanks heaps again, Fenn. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html