2.0.0-pre : Failed to open socket.

Arran Cudbard-Bell A.Cudbard-Bell at sussex.ac.uk
Wed Jun 20 18:25:04 CEST 2007


Debashis Prusty wrote:
> I am trying to rum Freeradius on Solaris with MySQL. Logs are pasted 
> below. Its working fine for earlier versions of Freeradius. Do any one 
> have the solution?
> Thanks in advance,
> Debashis
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> freeradius/sbin # ./radiusd -X
> Config:   including file: /opt/sf/freeradius/etc/raddb/radiusd.conf
> Config:   including file: /opt/sf/freeradius/etc/raddb/proxy.conf
> Config:   including file: /opt/sf/freeradius/etc/raddb/clients.conf
> Config:   including file: /opt/sf/freeradius/etc/raddb/snmp.conf
> Config:   including file: /opt/sf/freeradius/etc/raddb/eap.conf
> Config:   including file: /opt/sf/freeradius/etc/raddb/sql.conf
> Config:   including file: /opt/sf/freeradius/etc/raddb/sql/mysql-dialup.conf
> FreeRADIUS Version 2.0.0-pre1, for host i386-pc-solaris2.10, built on 
> Jun 19 2007 at 10:29:22
> Starting - reading configuration files ...
> read_config_files:  reading dictionary
> main {
>         prefix = "/opt/sf/freeradius"
>         localstatedir = "/opt/sf/freeradius/var"
>         logdir = "/opt/sf/freeradius/var/log/radius"
>         libdir = "/opt/sf/freeradius/lib"
>         radacctdir = "/opt/sf/freeradius/var/log/radius/radacct"
>         hostname_lookups = no
>         max_request_time = 30
>         cleanup_delay = 5
>         max_requests = 1024
>         allow_core_dumps = no
>         log_stripped_names = no
>         log_file = "/opt/sf/freeradius/var/log/radius/radius.log"
>         log_auth = no
>         log_auth_badpass = no
>         log_auth_goodpass = no
>         pidfile = "/opt/sf/freeradius/var/run/radiusd/radiusd.pid"
>         checkrad = "/opt/sf/freeradius/sbin/checkrad"
>         debug_level = 0
>         proxy_requests = yes
>  log {
>         syslog_facility = "daemon"
>  }
>  proxy server {
>         retry_delay = 5
>         retry_count = 3
>         default_fallback = no
>         dead_time = 120
>         wake_all_if_all_dead = no
>  }
>  security {
>         max_attributes = 200
>         reject_delay = 1
>         status_server = yes
>  }
> }
>  home_server localhost {
>         ipaddr = 127.0.0.1 IP address [127.0.0.1]
>         port = 1812
>         type = "auth"
>         secret = "testing123"
>         response_window = 20
>         max_outstanding = 65536
>         zombie_period = 40
>         status_check = "status-server"
>         ping_check = "none"
>         ping_interval = 30
>         check_interval = 30
>         num_answers_to_alive = 3
>         num_pings_to_alive = 3
>         revive_interval = 120
>         status_check_timeout = 4
>  }
>  server_pool my_auth_failover {
>         type = my_auth_failover
>         home_server = localhost
>  }
>  realm example.com {
>         auth_pool = my_auth_failover
>  }
>  realm LOCAL {
>         ldflag = fail_over
>  }
>         port = 1812
>  listen {
>         type = "auth"
>         ipaddr = *
>         port = 0
> ERROR: Failed to open socket:
> /opt/sf/freeradius/etc/raddb/radiusd.conf[195]: Error binding to port 
> for 0.0.0.0 port 1812
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> - 
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Update to CVS head...

This seems to be an issue with Mac OSX and maybe other BSD based 
operating systems.

-- 
Arran Cudbard-Bell (A.Cudbard-Bell at sussex.ac.uk)
Authentication, Authorisation and Accounting Officer
Infrastructure Services | ENG1 E1-1-08
University Of Sussex, Brighton
EXT:01273 873900 | INT: 3900



More information about the Freeradius-Users mailing list