Freeradius init script error
Hi list, Since I have updated Freeradius to v 2.2.4, the init script reports a failed start. It tell me that address is already in use but start correctly. There is no port 1812 open when Freeradius is shutdown. The init script is the same than older version. Thanks Nicolas.
On 16 Jan 2014, at 15:47, Nicolas CLO <nicolasclo@msn.com> wrote:
Hi list,
Since I have updated Freeradius to v 2.2.4, the init script reports a failed start. It tell me that address is already in use but start correctly.
There is no port 1812 open when Freeradius is shutdown.
The init script is the same than older version.
The previous version of the server didn't report bind failures on start, as of v2.x.x Git HEAD it does. Could you provide the logs and output from the init script... Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On 16 Jan 2014, at 16:59, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 16 Jan 2014, at 15:47, Nicolas CLO <nicolasclo@msn.com> wrote:
Hi list,
Since I have updated Freeradius to v 2.2.4, the init script reports a failed start. It tell me that address is already in use but start correctly.
There is no port 1812 open when Freeradius is shutdown.
The init script is the same than older version.
The previous version of the server didn't report bind failures on start, as of v2.x.x Git HEAD it does.
By that I mean it logged them, but the error didn't produce an error code. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On 16 Jan 2014, at 22:14, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 16 Jan 2014, at 16:59, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 16 Jan 2014, at 15:47, Nicolas CLO <nicolasclo@msn.com> wrote:
Hi list,
Since I have updated Freeradius to v 2.2.4, the init script reports a failed start. It tell me that address is already in use but start correctly.
There is no port 1812 open when Freeradius is shutdown.
The init script is the same than older version.
The previous version of the server didn't report bind failures on start, as of v2.x.x Git HEAD it does.
By that I mean it logged them, but the error didn't produce an error code.
*server. Wow, can't type today. Anyway, one side effect of this was that init scripts would report the server as having started successfully, when in fact it had failed due to something else bound on the same port. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On 16 Jan 2014, at 15:47, Nicolas CLO <nicolasclo@msn.com> wrote:
Hi list,
Since I have updated Freeradius to v 2.2.4, the init script reports a failed start. It tell me that address is already in use but start correctly.
There is no port 1812 open when Freeradius is shutdown.
The init script is the same than older version.
The previous version of the server didn't report bind failures on start, as of v2.x.x Git HEAD it does. Could you provide the logs and output from the init script... Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2 Hi, The only log I see is into radius.log : Fri Jan 17 07:01:38 2014 : Info: Loaded virtual server inner-tunnel Fri Jan 17 07:01:38 2014 : Info: Loaded virtual server rif Fri Jan 17 07:01:38 2014 : Error: Failed binding to authentication address * port 1812: Address already in use Fri Jan 17 07:01:38 2014 : Error: /etc/freeradius/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812 Fri Jan 17 07:01:38 2014 : Info: Ready to process requests. and when I launch the script: [FAIL] Starting FreeRADIUS daemon: freeradius failed! It's happen after a git pull on v2.x.x, freeradius -v freeradius: FreeRADIUS Version 2.2.4 (git #14e1ee7), for host i486-pc-linux-gnu, built on Jan 15 2014 at 07:08:19 If I launch freeradius -X, no errors occurs. Thanks.
Hi, What you may need to do is stop all instances of radius by doing "killall radius" or killall radiusd and then starting FreeRADIUS. That works for me ;) Sent from my iPhone
On Jan 17, 2014, at 6:16 AM, nicolas.clo@ricoh-industrie.fr wrote:
On 16 Jan 2014, at 15:47, Nicolas CLO <nicolasclo@msn.com> wrote:
Hi list,
Since I have updated Freeradius to v 2.2.4, the init script reports a failed start. It tell me that address is already in use but start correctly.
There is no port 1812 open when Freeradius is shutdown.
The init script is the same than older version.
The previous version of the server didn't report bind failures on start, as of v2.x.x Git HEAD it does.
Could you provide the logs and output from the init script...
Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
Hi,
The only log I see is into radius.log :
Fri Jan 17 07:01:38 2014 : Info: Loaded virtual server inner-tunnel Fri Jan 17 07:01:38 2014 : Info: Loaded virtual server rif Fri Jan 17 07:01:38 2014 : Error: Failed binding to authentication address * port 1812: Address already in use Fri Jan 17 07:01:38 2014 : Error: /etc/freeradius/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812 Fri Jan 17 07:01:38 2014 : Info: Ready to process requests.
and when I launch the script:
[FAIL] Starting FreeRADIUS daemon: freeradius failed!
It's happen after a git pull on v2.x.x,
freeradius -v freeradius: FreeRADIUS Version 2.2.4 (git #14e1ee7), for host i486-pc-linux-gnu, built on Jan 15 2014 at 07:08:19
If I launch freeradius -X, no errors occurs.
Thanks.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I just built FR 2.2.4 on my os X machine and got the same error. Definitely wasn’t a freeradius process running. I’ve got Radiator running on 1812/13 and freeradius on 184/15 . In my radius config I had a listen block with ipaddr * statement. Tried starting FR 2 or 3 times with the same failure. Changed the line to be ipaddr 192.168.1.77 and away it went. the * statement worked just fine with 2.2.3 Rgds A On 17 Jan 2014, at 06:16, nicolas.clo@ricoh-industrie.fr wrote:
On 16 Jan 2014, at 15:47, Nicolas CLO <nicolasclo@msn.com> wrote:
Hi list,
Since I have updated Freeradius to v 2.2.4, the init script reports a failed start. It tell me that address is already in use but start correctly.
There is no port 1812 open when Freeradius is shutdown.
The init script is the same than older version.
The previous version of the server didn't report bind failures on start, as of v2.x.x Git HEAD it does.
Could you provide the logs and output from the init script...
Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team
FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
Hi,
The only log I see is into radius.log :
Fri Jan 17 07:01:38 2014 : Info: Loaded virtual server inner-tunnel Fri Jan 17 07:01:38 2014 : Info: Loaded virtual server rif Fri Jan 17 07:01:38 2014 : Error: Failed binding to authentication address * port 1812: Address already in use Fri Jan 17 07:01:38 2014 : Error: /etc/freeradius/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812 Fri Jan 17 07:01:38 2014 : Info: Ready to process requests.
and when I launch the script:
[FAIL] Starting FreeRADIUS daemon: freeradius failed!
It's happen after a git pull on v2.x.x,
freeradius -v freeradius: FreeRADIUS Version 2.2.4 (git #14e1ee7), for host i486-pc-linux-gnu, built on Jan 15 2014 at 07:08:19
If I launch freeradius -X, no errors occurs.
Thanks.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I had already tested to set an IP, port but i have the same error. With killall freeradius too. I just built FR 2.2.4 on my os X machine and got the same error. Definitely wasn’t a freeradius process running. I’ve got Radiator running on 1812/13 and freeradius on 184/15 . In my radius config I had a listen block with ipaddr * statement. Tried starting FR 2 or 3 times with the same failure. Changed the line to be ipaddr 192.168.1.77 and away it went. the * statement worked just fine with 2.2.3 Rgds A On 17 Jan 2014, at 06:16, nicolas.clo@ricoh-industrie.fr wrote: On 16 Jan 2014, at 15:47, Nicolas CLO <nicolasclo@msn.com> wrote: > Hi list, > > Since I have updated Freeradius to v 2.2.4, the init script reports a failed start. > It tell me that address is already in use but start correctly. > > There is no port 1812 open when Freeradius is shutdown. > > The init script is the same than older version. The previous version of the server didn't report bind failures on start, as of v2.x.x Git HEAD it does. Could you provide the logs and output from the init script... Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2 Hi, The only log I see is into radius.log : Fri Jan 17 07:01:38 2014 : Info: Loaded virtual server inner-tunnel Fri Jan 17 07:01:38 2014 : Info: Loaded virtual server rif Fri Jan 17 07:01:38 2014 : Error: Failed binding to authentication address * port 1812: Address already in use Fri Jan 17 07:01:38 2014 : Error: /etc/freeradius/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812 Fri Jan 17 07:01:38 2014 : Info: Ready to process requests. and when I launch the script: [FAIL] Starting FreeRADIUS daemon: freeradius failed! It's happen after a git pull on v2.x.x, freeradius -v freeradius: FreeRADIUS Version 2.2.4 (git #14e1ee7), for host i486-pc-linux-gnu, built on Jan 15 2014 at 07:08:19 If I launch freeradius -X, no errors occurs. Thanks. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
On 17 Jan 2014, at 10:56, nicolas.clo@ricoh-industrie.fr wrote:
I had already tested to set an IP, port but i have the same error. With killall freeradius too.
Oh! me too me too! 1 Fri Jan 17 15:03:43 2014 : Info: Loaded virtual server <default> 2 Fri Jan 17 15:03:43 2014 : Info: Loaded virtual server inner-tunnel 3 Fri Jan 17 15:03:43 2014 : Info: Loaded virtual server virtual.example.com 4 Fri Jan 17 15:03:43 2014 : Error: Failed binding to authentication address * port 1812: Address already in use 5 Fri Jan 17 15:03:43 2014 : Error: /usr/local/freeradius-2.x.x/etc/raddb/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812 6 Fri Jan 17 15:03:43 2014 : Info: Ready to process requests. Ah damn, suppose I should have a go at fixing it then :/ -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On 17 Jan 2014, at 15:05, Arran Cudbard-Bell <a.cudbardb@freeradius.org> wrote:
On 17 Jan 2014, at 10:56, nicolas.clo@ricoh-industrie.fr wrote:
I had already tested to set an IP, port but i have the same error. With killall freeradius too.
Oh! me too me too!
1 Fri Jan 17 15:03:43 2014 : Info: Loaded virtual server <default> 2 Fri Jan 17 15:03:43 2014 : Info: Loaded virtual server inner-tunnel 3 Fri Jan 17 15:03:43 2014 : Info: Loaded virtual server virtual.example.com 4 Fri Jan 17 15:03:43 2014 : Error: Failed binding to authentication address * port 1812: Address already in use 5 Fri Jan 17 15:03:43 2014 : Error: /usr/local/freeradius-2.x.x/etc/raddb/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812 6 Fri Jan 17 15:03:43 2014 : Info: Ready to process requests.
Ah damn, suppose I should have a go at fixing it then :/
Pushed a fix. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
On 18 Jan 2014, at 15:00, nicolas.clo@ricoh-industrie.fr wrote:
Oups sorry the problem is still here. Now the logs is clean but always the message when I launch init script:
[FAIL] Starting FreeRADIUS daemon: freeradius failed
fixed. Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2
participants (5)
-
Alex Sharaz -
Arran Cudbard-Bell -
KK Yankson -
Nicolas CLO -
nicolas.clo@ricoh-industrie.fr