Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

freeradius

43 views
Skip to first unread message

to...@sumag.co.cu

unread,
Mar 1, 2014, 9:20:02 PM3/1/14
to
hola a todos me encuentro configurando un servicio con freeradius mgetty
y msql y estoy atascado con el sgte error:


Sat Mar 1 20:59:31 2014 : Info: rlm_sql (sql): Attempting to connect
rlm_sql_mysql #3
Sat Mar 1 20:59:31 2014 : Info: rlm_sql_mysql: Starting connect to
MySQL server for #3
Sat Mar 1 20:59:31 2014 : Info: rlm_sql (sql): Connected new DB handle,
#3
Sat Mar 1 20:59:31 2014 : Info: rlm_sql (sql): Attempting to connect
rlm_sql_mysql #4
Sat Mar 1 20:59:31 2014 : Info: rlm_sql_mysql: Starting connect to
MySQL server for #4
Sat Mar 1 20:59:31 2014 : Info: rlm_sql (sql): Connected new DB handle,
#4
Sat Mar 1 20:59:31 2014 : Info: Loaded virtual server <default>
Sat Mar 1 20:59:31 2014 : Info: Loaded virtual server inner-tunnel
Sat Mar 1 20:59:31 2014 : Error: Failed binding to authentication
address * port 1812: Address already in use
Sat Mar 1 20:59:31 2014 : Error: /etc/freeradius/radiusd.conf[240]:
Error binding to port for 0.0.0.0 port 1812


si fueran tan amables de explicarme que pasa no tengo internet y eso
dificulta un tanto las cosas...


--
To UNSUBSCRIBE, email to debian-user-s...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/979ef6f04625089b...@sumag.co.cu

adolfo maltez

unread,
Mar 1, 2014, 10:30:02 PM3/1/14
to
Saludos.

Pues, a simple vista el demonio no puede levantar porque el socket ya esta ocupado.
Hay algun otro demonio, o instancia de freeradius (posiblemente) ocupando el puerto.

En lo personal, verificaria ejecutando el comando (como root):
# netstat -u4l --numeric -ap | grep 1812

Esto te dira, que demonio con que pid, esta ocupando el puerto 1812.

Identificando que demonio con que pid esta usando el puerto 1812, lo mataria :)

# kill -9 numero-de-pid-del-demonio

Luego,  arrancaria Freeradius nuevamente, y ese "error" ya no deberia aparecer.


Att.
Adolfo Maltez



2014-03-01 20:04 GMT-06:00 <to...@sumag.co.cu>:
hola a todos me encuentro configurando un servicio con freeradius mgetty y msql y estoy atascado con el sgte error:


Sat Mar  1 20:59:31 2014 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #3
Sat Mar  1 20:59:31 2014 : Info: rlm_sql_mysql: Starting connect to MySQL server for #3
Sat Mar  1 20:59:31 2014 : Info: rlm_sql (sql): Connected new DB handle, #3
Sat Mar  1 20:59:31 2014 : Info: rlm_sql (sql): Attempting to connect rlm_sql_mysql #4
Sat Mar  1 20:59:31 2014 : Info: rlm_sql_mysql: Starting connect to MySQL server for #4
Sat Mar  1 20:59:31 2014 : Info: rlm_sql (sql): Connected new DB handle, #4
Sat Mar  1 20:59:31 2014 : Info: Loaded virtual server <default>
Sat Mar  1 20:59:31 2014 : Info: Loaded virtual server inner-tunnel
Sat Mar  1 20:59:31 2014 : Error: Failed binding to authentication address * port 1812: Address already in use
Sat Mar  1 20:59:31 2014 : Error: /etc/freeradius/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812


si fueran tan amables de explicarme que pasa no tengo internet y eso dificulta un tanto las cosas...

with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org

Camaleón

unread,
Mar 2, 2014, 2:50:01 AM3/2/14
to
El Sat, 01 Mar 2014 21:04:32 -0500, tony escribió:

> hola a todos me encuentro configurando un servicio con freeradius mgetty
> y msql y estoy atascado con el sgte error:
>

(...)

> Sat Mar 1 20:59:31 2014 : Error: Failed binding to authentication address * port 1812: Address already in use
> Sat Mar 1 20:59:31 2014 : Error: /etc/freeradius/radiusd.conf[240]: Error binding to port for 0.0.0.0 port 1812
>
>
> si fueran tan amables de explicarme que pasa no tengo internet y eso
> dificulta un tanto las cosas...

Pues parece que se trata de un error común:

***
http://www.computerandyou.net/2011/04/troubleshooting-freeradius/

Running the RADIUS server may also result in the following error:

Error: Failed binding to authentication address * port 1812: Address already in use /usr/local/etc/raddb/radiusd.conf[240]:
Error binding to port for 0.0.0.0 port 1812

The reason for this error is that another instance of radius is
running and has occupied the port.

See which radius process is running:

ps aux | grep radius

And then kill that process:

sudo kill -9 process_id
***

Saludos,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-s...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: https://lists.debian.org/pan.2014.03...@gmail.com
0 new messages