Error binding to port for 0.0.0.0 port 1812
Dawgs, I received the following error when starting debug mode or issuing "freeradius reload" and catching the error in radius.log: Tue Mar 24 16:16:05 2009 : Error: Failed binding to socket: Address already in use Tue Mar 24 16:16:05 2009 : Error: /etc/raddb/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812 I disabled IPv6 and verified if there is another service running on this port... RADIUS:~ # lsof -i:1812 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME radiusd 3568 root 5u IPv4 10046 0t0 UDP *:1812 RADIUS:~ # netstat -unpl Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name udp 0 0 0.0.0.0:1812 0.0.0.0:* 3568/radiusd udp 0 0 0.0.0.0:1813 0.0.0.0:* 3568/radiusd udp 0 0 0.0.0.0:1814 0.0.0.0:* 3568/radiusd udp 0 0 0.0.0.0:43956 0.0.0.0:* 2564/avahi-daemon: udp 0 0 0.0.0.0:5353 0.0.0.0:* 2564/avahi-daemon: udp 0 0 0.0.0.0:111 0.0.0.0:* 2347/portmap udp 0 0 0.0.0.0:631 0.0.0.0:* 2663/cupsd According to the outputs above there is just one service running on this port... I don't know what else I can do. I saw all topics related to my problem but no one gave me a solution.
No, you haven't stopped radius then. Only one service per port. man lsof if you're not sure which process is holding on to the port. Sent from my iPhone On 24 Mar 2009, at 20:12, Bruno Noronha <bhnoronha@gmail.com> wrote:
Dawgs,
I received the following error when starting debug mode or issuing "freeradius reload" and catching the error in radius.log:
Tue Mar 24 16:16:05 2009 : Error: Failed binding to socket: Address already in use Tue Mar 24 16:16:05 2009 : Error: /etc/raddb/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812
I disabled IPv6 and verified if there is another service running on this port...
RADIUS:~ # lsof -i:1812 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME radiusd 3568 root 5u IPv4 10046 0t0 UDP *:1812
RADIUS:~ # netstat -unpl Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name udp 0 0 0.0.0.0:1812 0.0.0.0:* 3568/radiusd udp 0 0 0.0.0.0:1813 0.0.0.0:* 3568/radiusd udp 0 0 0.0.0.0:1814 0.0.0.0:* 3568/radiusd udp 0 0 0.0.0.0:43956 0.0.0.0:* 2564/avahi-daemon: udp 0 0 0.0.0.0:5353 0.0.0.0:* 2564/avahi-daemon: udp 0 0 0.0.0.0:111 0.0.0.0:* 2347/portmap udp 0 0 0.0.0.0:631 0.0.0.0:* 2663/cupsd
According to the outputs above there is just one service running on this port...
I don't know what else I can do. I saw all topics related to my problem but no one gave me a solution.
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I didn't understand what you meant... I issued lsof and verified only one service running on 1812 port! 2009/3/24 Anders Holm <anders.holm@sysadmin.ie>
No, you haven't stopped radius then. Only one service per port. man lsof if you're not sure which process is holding on to the port.
Sent from my iPhone
On 24 Mar 2009, at 20:12, Bruno Noronha <bhnoronha@gmail.com> wrote:
Dawgs,
I received the following error when starting debug mode or issuing "freeradius reload" and catching the error in radius.log:
Tue Mar 24 16:16:05 2009 : Error: Failed binding to socket: Address already in use Tue Mar 24 16:16:05 2009 : Error: /etc/raddb/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812
I disabled IPv6 and verified if there is another service running on this port...
RADIUS:~ # lsof -i:1812 COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME radiusd 3568 root 5u IPv4 10046 0t0 UDP *:1812
RADIUS:~ # netstat -unpl Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name udp 0 0 0.0.0.0:1812 0.0.0.0:* 3568/radiusd udp 0 0 0.0.0.0:1813 0.0.0.0:* 3568/radiusd udp 0 0 0.0.0.0:1814 0.0.0.0:* 3568/radiusd udp 0 0 0.0.0.0:43956 0.0.0.0:* 2564/avahi-daemon: udp 0 0 0.0.0.0:5353 0.0.0.0:* 2564/avahi-daemon: udp 0 0 0.0.0.0:111 0.0.0.0:* 2347/portmap udp 0 0 0.0.0.0:631 0.0.0.0:* 2663/cupsd
According to the outputs above there is just one service running on this port...
I don't know what else I can do. I saw all topics related to my problem but no one gave me a solution.
- List info/subscribe/unsubscribe? See <http://www.freeradius.org/list/users.html> http://www.freeradius.org/list/users.html
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Yes.. But this port is used just for freeradius!! That's why I can't figure out a solution for this... 2009/3/24 Alan DeKok <aland@deployingradius.com>
Bruno Noronha wrote:
I didn't understand what you meant... I issued lsof and verified only one service running on 1812 port!
Which means you can't run *another* server on the same port. This is Unix 101.
Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I received the following error when starting debug mode or issuing "freeradius reload" and catching the error in radius.log:
This is nothing to do with freeradius. People who made your distribution made that reload script. Find out who maintains freeradius for your distribution and ask them to look into it. You can always try: freeradius stop freeradius start That should work. Ivan Kalik Kalik Informatika ISP
Unfortunately, your suggestion didn't have any result. I'm using SUSE 11.0 OS... Do I have to initiate freeRADIUS through "freeradius -X" ? 2009/3/24 <tnt@kalik.net>
I received the following error when starting debug mode or issuing "freeradius reload" and catching the error in radius.log:
This is nothing to do with freeradius. People who made your distribution made that reload script. Find out who maintains freeradius for your distribution and ask them to look into it.
You can always try:
freeradius stop freeradius start
That should work.
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Unfortunately, your suggestion didn't have any result. I'm using SUSE 11.0 OS...
So, find SuSE maintainer and ask him.
Do I have to initiate freeRADIUS through "freeradius -X" ?
That's not likely to work either. radiusd is already running. Try good old: killall radiusd Then start it again (with -X or not). Ivan Kalik Kalik Informatika ISP
I really can't make it work on SUSE 11.0. I didn't find any information about it and there are no attempts left for me. I would like to know what destributions really handle freeRADIUS in a good manner. I think of CentOS 5.2, but do I really need to download 7 iso images to put it into work? Regards, Bruno 2009/3/24 <tnt@kalik.net>
Unfortunately, your suggestion didn't have any result. I'm using SUSE 11.0 OS...
So, find SuSE maintainer and ask him.
Do I have to initiate freeRADIUS through "freeradius -X" ?
That's not likely to work either. radiusd is already running. Try good old:
killall radiusd
Then start it again (with -X or not).
Ivan Kalik Kalik Informatika ISP
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
I think of CentOS 5.2, but do I really need to download 7 iso images to put it into work?
Download the DVD version if you have a dvd drive ? Did you do : freeradius stop killall freeradius ps -fe | grep -i radius kill -s 9 `ps -fe | grep -i radius` updatedb `locate radiusd | grep bin | grep -v rc` -X That should kill any radius process running and start radius in debug. didn't understand what you meant... I issued lsof and verified only one
service running on 1812 port!
You have to make sure NOTHING uses the port BEFORE you start freeradius. -- Philippe-Alexandre Lemelin
participants (5)
-
Alan DeKok -
Anders Holm -
Bruno Noronha -
phil lemelin -
tnt@kalik.net