2.0.0-pre : Failed to open socket.

Debashis Prusty dprusty at systemsfusion.com
Wed Jun 20 20:48:30 CEST 2007


No. I have tried this. As I have mentioned earlier versions like 1.1.4 & 1.1.6  are working fine. Problem is with version 2.0.0, where the listen part is not comented. Lets think of something else.
 
ERROR: Failed to open socket:

check the port 1812 if it is being used. Or you can also run radius on the old school port 1645 for testing.

 
================================================== 
 
Benjamin K. Eshun


----- Message d'origine ----
De : Debashis Prusty <dprusty at systemsfusion.com>
À : FreeRadius users mailing list <freeradius-users at lists.freeradius.org>
Envoyé le : Mercredi, 20 Juin 2007, 18h02mn 39s
Objet : 2.0.0-pre : Failed to open socket.


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



________________________________

Ne gardez plus qu'une seule adresse mail ! Copiez vos mails <http://www.trueswitch.com/yahoo-fr/>  vers Yahoo! Mail 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 8740 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20070620/5f6df96d/attachment.bin>


More information about the Freeradius-Users mailing list