> It looks like you modified a file it was used originally to configure
> freeradius and you shouldn't use it anymore. Try to check
> with the HowTo to
> see if you are changing the files you should and if you
> changed other one
> try to comment any change you did on it, just in order to
> follow the normal
> course of the application.
>
> It used to happen that if you change one old file like the
> "clients" instead
> of "clients.conf" it refuses to work. :)
Thanks for the tip, the main problem is it does it even if I don't touch any
files at all, eg: just start it and issue a HUP. I have also found, it does
the same thing with any signal sent to the process; it outputs that "Error:
sql_postgresql: calling unimplemented" message and dies. Probably not a good
thing :)
I deleted the deprecated clients, realms and naslist files (you can see the
open failure below) and included the strace output. It looks much the same
unfortunately :\
-------------------
read(15, "#\n# dictionary.wispr\n#\n#\tVSAs or"..., 4096) = 996
read(15, "", 4096) = 0
close(15) = 0
munmap(0x4024d000, 4096) = 0
open("/usr/share/freeradius/dictionary.xedia", O_RDONLY) = 15
fstat64(15, {st_mode=S_IFREG|0644, st_size=766, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x4024d000
read(15, "################################"..., 4096) = 766
read(15, "", 4096) = 0
close(15) = 0
munmap(0x4024d000, 4096) = 0
read(14, "3\tinteger\nATTRIBUTE\tAcct-Session"..., 4096) = 4096
read(14, "\t1010\tdate\nATTRIBUTE\tAutz-Type\t\t"..., 4096) = 4096
read(14, " Acct-Terminate-Cause Id"..., 4096) = 4096
read(14, "e\tAccounting-Request\t\t4\nVALUE\t\tR"..., 4096) = 462
read(14, "", 4096) = 0
close(14) = 0
munmap(0x40216000, 4096) = 0
read(13, "", 4096) = 0
close(13) = 0
munmap(0x40017000, 4096) = 0
open("/etc/freeradius/naslist", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/freeradius/clients", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/etc/freeradius/realms", O_RDONLY) = -1 ENOENT (No such file or
directory)
getrlimit(0x4, 0xbfffe520) = 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(0x40234000, 10040) = 0
munmap(0x40237000, 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=30259, ...}) = 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=30259, ...}) = 0
_llseek(7, 30259, [30259], SEEK_SET) = 0
time(NULL) = 1059609253
write(7, "Thu Jul 31 09:54:13 2003 : Error"..., 81) = 81
close(7) = 0
munmap(0x40017000, 4096) = 0
write(12, "[EMAIL PROTECTED]"..., 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(9795, NULL, __WCLONE, NULL) = 9795
munmap(0x40014000, 4096) = 0
_exit(1)
-------------------
Fenn.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html