/etc/freeradius/radiusd.conf[236]: Error binding to port for 0.0.0.0 port 1812
rlm_sql (sql): Attempting to connect rlm_sql_mysql #2 rlm_sql_mysql: Starting connect to MySQL server for #2 rlm_sql (sql): Connected new DB handle, #2 rlm_sql (sql): starting 3 rlm_sql (sql): Attempting to connect rlm_sql_mysql #3 rlm_sql_mysql: Starting connect to MySQL server for #3 rlm_sql (sql): Connected new DB handle, #3 rlm_sql (sql): starting 4 rlm_sql (sql): Attempting to connect rlm_sql_mysql #4 rlm_sql_mysql: Starting connect to MySQL server for #4 rlm_sql (sql): Connected new DB handle, #4 rlm_sql (sql): Processing generate_sql_clients rlm_sql (sql) in generate_sql_clients: query is SELECT id, nasname, shortname, type, secret FROM nas rlm_sql (sql): Reserving sql socket id: 4 rlm_sql (sql): Released sql socket id: 4 Module: Instantiating max_all_mb sqlcounter max_all_mb { counter-name = Max-All-MB check-name = Max-All-MB reply-name = ChilliSpot-Max-Total-Octets key = User-Name sqlmod-inst = sql query = SELECT SUM(AcctInputOctets) + SUM(AcctOutputOctets) FROM radacct WHERE UserName='%{%k}' reset = never safe-characters = @abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789.-_: / } rlm_sqlcounter: Reply attribute ChilliSpot-Max-Total-Octets is number 954138627 rlm_sqlcounter: Counter attribute Max-All-MB is number 954138635 rlm_sqlcounter: Check attribute Max-All-MB is number 954138635 rlm_sqlcounter: Current Time: 1280335716 [2010-07-28 23:48:36], Next reset 0 [2010-07-28 23:00:00] rlm_sqlcounter: Current Time: 1280335716 [2010-07-28 23:48:36], Prev reset 0 [2010-07-28 23:00:00] Module: Checking preacct {...} for more modules to load Module: Linked to module rlm_acct_unique Module: Instantiating acct_unique acct_unique { key = User-Name, Acct-Session-Id, NAS-IP-Address, Client-IP-Address, NAS-Port } Module: Checking accounting {...} for more modules to load Module: Linked to module rlm_detail Module: Instantiating detail detail { detailfile = /var/log/freeradius/radacct/%{Client-IP-Address}/detail-%Y%m%d header = %t detailperm = 384 dirperm = 493 locking = no log_packet_header = no } Module: Instantiating sradutmp radutmp sradutmp { filename = /var/log/freeradius/sradutmp username = %{User-Name} case_sensitive = yes check_with_nas = yes perm = 420 callerid = no } Module: Instantiating attr_filter.accounting_response attr_filter attr_filter.accounting_response { attrsfile = /etc/freeradius/attrs.accounting_response key = %{User-Name} } Module: Checking session {...} for more modules to load Module: Checking post-proxy {...} for more modules to load Module: Checking post-auth {...} for more modules to load } radiusd: Opening IP addresses and Ports listen { type = auth ipaddr = * port = 0 Failed binding to socket: Address already in use /etc/freeradius/radiusd.conf[236]: Error binding to port for 0.0.0.0 port 1812 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: /etc/freeradius/radiusd.conf[236]: Error binding to port for 0.0.0.0 port 1812
Hi, Failed binding to socket: Address already in use /etc/freeradius/radiusd.conf[236]: Error binding to port for 0.0.0.0 port 1812 fairly obvious - somethings already running on that port. suggest that the system is already starting the daemon... use the system scripts to stop the process (eg /etc/init.d/freeradius2 stop or such) or killall radiusd netatst -anp | grep 1812 will show the name of the process using port 1812 once nothing is on that port, you can use it with radiusd -X alan - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: /etc/freeradius/radiusd.conf[236]: Error binding to port for 0.0.0.0 port 1812
--- Pada Rab, 28/7/10, Alan Buxey a.l.m.bu...@lboro.ac.uk menulis: Dari: Alan Buxey a.l.m.bu...@lboro.ac.uk Judul: Re: /etc/freeradius/radiusd.conf[236]: Error binding to port for 0.0.0.0 port 1812 Kepada: FreeRadius users mailing list freeradius-users@lists.freeradius.org Cc: Edi Sujono edisujo...@gmail.com Tanggal: Rabu, 28 Juli, 2010, 6:01 PM Hi, Failed binding to socket: Address already in use /etc/freeradius/radiusd.conf[236]: Error binding to port for 0.0.0.0 port 1812 fairly obvious - somethings already running on that port. suggest that the system is already starting the daemon... use the system scripts to stop the process (eg /etc/init.d/freeradius2 stop or such) or killall radiusd netatst -anp | grep 1812 will show the name of the process using port 1812 once nothing is on that port, you can use it with radiusd -X alan - Yes... thank you Alan, my freeradius is now running. thanks best regards Edi - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Error binding to port for 0.0.0.0 port 1812
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 t...@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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Error binding to port for 0.0.0.0 port 1812
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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Error binding to port for 0.0.0.0 port 1812
Bruno Noronha wrote: 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. You were given exact instructions. If you follow them, they work. Downloading a new OS will not help you. Alan DeKok. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
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 root5u 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 udp0 0 0.0.0.0:18120.0.0.0:* 3568/radiusd udp0 0 0.0.0.0:18130.0.0.0:* 3568/radiusd udp0 0 0.0.0.0:18140.0.0.0:* 3568/radiusd udp0 0 0.0.0.0:43956 0.0.0.0:* 2564/avahi-daemon: udp0 0 0.0.0.0:53530.0.0.0:* 2564/avahi-daemon: udp0 0 0.0.0.0:111 0.0.0.0:* 2347/portmap udp0 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
Re: Error binding to port for 0.0.0.0 port 1812
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 bhnoro...@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 root5u 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 udp0 0 0.0.0.0:1812 0.0.0.0:* 3568/radiusd udp0 0 0.0.0.0:1813 0.0.0.0:* 3568/radiusd udp0 0 0.0.0.0:1814 0.0.0.0:* 3568/radiusd udp0 0 0.0.0.0:43956 0.0.0.0:* 2564/avahi-daemon: udp0 0 0.0.0.0:5353 0.0.0.0:* 2564/avahi-daemon: udp0 0 0.0.0.0:111 0.0.0.0:* 2347/portmap udp0 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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Error binding to port for 0.0.0.0 port 1812
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.h...@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 bhnoro...@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 root5u 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 udp0 0 0.0.0.0:18120.0.0.0:* 3568/radiusd udp0 0 0.0.0.0:18130.0.0.0:* 3568/radiusd udp0 0 0.0.0.0:18140.0.0.0:* 3568/radiusd udp0 0 0.0.0.0:43956 0.0.0.0:* 2564/avahi-daemon: udp0 0 0.0.0.0:53530.0.0.0:* 2564/avahi-daemon: udp0 0 0.0.0.0:111 0.0.0.0:* 2347/portmap udp0 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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Error binding to port for 0.0.0.0 port 1812
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
Re: Error binding to port for 0.0.0.0 port 1812
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 t...@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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Error binding to port for 0.0.0.0 port 1812
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
Re: Error binding to port for 0.0.0.0 port 1812
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 al...@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 - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
Re: Error binding to port for 0.0.0.0 port 1812
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
Error binding to port for 0.0.0.0 port 1812
Hi Alan, I've installed FreeRadius-2.0.4 and I got some error saying ERROR: Failed to open socket: /usr/local/etc/raddb/radiusd.conf[210]: Error binding to port for 0.0.0.0 port 1812 but when I check in radiusd.conf ipaddr= * # interface = eth0 How can I fix this error? I have 2 ethernet cards, eth1 = 192.168.1.10 (DNS iptables), eth0 = 192.168.0.10 (Wifi) Here a few thing that I'd edited: (uncomment) clients.conf client 192.168.0.0/24 secret = testing123-1 shortname = private-network-1 users add MarsindNetClearText-Password:= testing123 Reply-Message := Hello, %{User-Name} eap.conf eap { default_eap_type = tls } tls { . fragment_size= 1024 include_length = yes } Next step I want to test Windows XP client but I couldn't find root.der cert-clt.p12 as previous version have. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html