strange error in freeradius
Semenenko Pavel
psemenenko at mail.ru
Sun Jan 28 19:06:42 CET 2007
I have 2.6.18-gentoo-r6 kernel, and freeradius-1.1.3-r2
I correctly configure radius for working with certificates in debug mode (radiusd -fX), then add it into init scripts, and try to start...
Ooops!..
it don't start ;(
# /usr/sbin/radiusd
Sun Jan 28 20:58:13 2007 : Info: Starting - reading configuration files ...
#
In log only:
# cat /var/log/radius/radius.log | tail -n 1
Sun Jan 28 20:58:13 2007 : Info: rlm_eap_tls: Loading the certificate file as a chain
#
I'll read closely all comments in radiusd.conf, and I check that all rlm_ libs is accessible for radius... I try start radius with root:root user and group, without result. All permissions (/etc/raddb, /var/log, /var/run) set radiusd:radiusd. It won't work.
But in debug mode all work correct.
strace -f /usr/sbin/radiusd
shows that cloned process can't open pipe (I also check all rlm_*'s load correct)
clone(Process 25483 attached
child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df66f8) = 25483
[pid 25483] getsockname(3, {sa_family=AF_INET, sin_port=htons(36102), sin_addr=inet_addr("192.168.1.5")}, [16]) = 0
[pid 25482] exit_group(0) = ?
[pid 25483] getpeername(3, Process 25482 detached
{sa_family=AF_INET, sin_port=htons(636), sin_addr=inet_addr("192.168.1.5")}, [16]) = 0
fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC)
dup(3) = 6
fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 7
close(3) = 0
fcntl64(7, F_GETFD) = 0
dup2(7, 3) = 3
fcntl64(3, F_SETFD, 0) = 0
close(7) = 0
write(3, "\25\3\1\0 \256\376\323d\204\16\217\227\337\343oX\237\5"..., 37) = -1 EPIPE (Broken pipe)
--- SIGPIPE (Broken pipe) @ 0 (0) ---
Process 25483 detached
I try rebuild radius, try version 1.1.4, without result.
Any ideas?..
More information about the Freeradius-Users
mailing list