Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Ayuda freeradius. No inicia despues de actualizar a 2.2.2

    Español
    4
    9
    2.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      eduardcaballero
      last edited by

      Reciban un cordial saludo.

      Tal como indica el titulo actualice pfsense a la version 2.2.2 y el freeradius no inicia autmaticamente, debo ir hasta servicios e iniciarlo. Al reiniciar el pfsense vuelve a cargar detenido.

      Como puedo solucionarlo?

      Ya reinstale el paquete por completo, probe desinstalando completamente y volviendo a instalar y nada.

      Agradezco de antemano la ayuda que me puedan prestar.

      1 Reply Last reply Reply Quote 0
      • belleraB
        bellera
        last edited by

        ¿ Logs de sistema, de freeradius ?

        1 Reply Last reply Reply Quote 0
        • E
          eduardcaballero
          last edited by

          Gracias por la rapida respuesta.

          Adjunto logs

          | Apr 20 15:12:08 | syslogd: exiting on signal 15 |
          | Apr 20 15:12:09 | syslogd: kernel boot file is /boot/kernel/kernel |
          | Apr 20 15:12:09 | php-fpm[36231]: /rc.start_packages: Restarting/Starting all packages. |
          | Apr 20 15:12:09 | php-fpm[36231]: /rc.start_packages: [FreeRADIUS]: xmlrpc sync is enabled but there is no system backup hosts to push FreeRADIUS config. |
          | Apr 20 15:12:09 | php-fpm[36231]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?' |
          | Apr 20 15:12:09 | php-fpm[36231]: /rc.start_packages: [FreeRADIUS]: xmlrpc sync is enabled but there is no system backup hosts to push FreeRADIUS config. |
          | Apr 20 15:12:09 | php-fpm[36231]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?' |
          | Apr 20 15:12:10 | php-fpm[36231]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?' |
          | Apr 20 15:12:10 | php-fpm[36231]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?' |
          | Apr 20 15:12:10 | php-fpm[36231]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?' |
          | Apr 20 15:12:10 | php-fpm[36231]: /rc.start_packages: [FreeRADIUS]: xmlrpc sync is enabled but there is no system backup hosts to push FreeRADIUS config. |
          | Apr 20 15:12:10 | php-fpm[36231]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?' |
          | Apr 20 15:12:10 | php-fpm[36231]: /rc.start_packages: [FreeRADIUS]: xmlrpc sync is enabled but there is no system backup hosts to push FreeRADIUS config. |
          | Apr 20 15:12:10 | php-fpm[36231]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?' |
          | Apr 20 15:12:12 | login: login on ttyu0 as root |

          Gracias de antemano

          1 Reply Last reply Reply Quote 0
          • pttP
            ptt Rebel Alliance
            last edited by

            Por aquí https://forum.pfsense.org/index.php?board=15.0 he visto un par de hilos acerca del tema ;)

            1 Reply Last reply Reply Quote 0
            • E
              eduardcaballero
              last edited by

              Gracias por tu ayuda.

              Los lei de pie a cabeza pero no logre resolverlo de un modo "normal".

              Probe instalando otro paquete por ejemplo bandwithd, reinicie el pfsense y ahora si inicia automaticamente el freeradius, es algo loco pero me funciono.

              Ahora quiero desinstalar el bandwithd pero me manda error 500 y 503 Service Unavailable.

              Por el momento se logra cargar el freeradius que era el tema, luego pruebo con una instalacion limpia a ver que sucede.

              Gracias nuevamente

              1 Reply Last reply Reply Quote 0
              • E
                eduardcaballero
                last edited by

                Saludos a todos.

                Revivo el hilo ya que he actualizado ahora a la version 2.2.3 y aun siguen si iniciar el freeradius, he relizado instalaciones limpias y no inicia luego de reiniciar.

                Aca los logs de mi sistema

                Jul 9 14:23:05 sshlockout[17920]: sshlockout/webConfigurator v3.0 starting up
                Jul 9 14:23:07 kernel: done.
                Jul 9 14:23:08 lighttpd[24195]: (log.c.164) server started
                Jul 9 14:23:08 kernel: done.
                Jul 9 14:23:08 php: rc.bootup: ROUTING: setting default route to XXX.XXX.XXX.X
                Jul 9 14:23:08 kernel: done.
                Jul 9 14:23:09 dhcpleases: Could not deliver signal HUP to process because its pidfile (/var/run/dnsmasq.pid) does not exist, No such file or directory.
                Jul 9 14:23:10 kernel: done.
                Jul 9 14:23:11 dhcpleases: kqueue error: unkown
                Jul 9 14:23:11 check_reload_status: Updating all dyndns
                Jul 9 14:23:11 kernel: .
                Jul 9 14:23:11 kernel: ..
                Jul 9 14:23:11 kernel: .done.
                Jul 9 14:23:11 kernel: ipfw2 (+ipv6) initialized, divert loadable, nat loadable, default to accept, logging disabled
                Jul 9 14:23:11 kernel: DUMMYNET 0 with IPv6 initialized (100409)
                Jul 9 14:23:11 kernel: load_dn_sched dn_sched FIFO loaded
                Jul 9 14:23:11 kernel: load_dn_sched dn_sched QFQ loaded
                Jul 9 14:23:11 kernel: load_dn_sched dn_sched RR loaded
                Jul 9 14:23:11 kernel: load_dn_sched dn_sched WF2Q+ loaded
                Jul 9 14:23:11 kernel: load_dn_sched dn_sched PRIO loaded
                Jul 9 14:23:12 php-fpm[14981]: /rc.dyndns.update: phpDynDNS (eduardsolutions.no-ip.org): No change in my IP address and/or 25 days has not passed. Not updating dynamic DNS entry.
                Jul 9 14:23:16 lighttpd[39198]: (log.c.164) server started
                Jul 9 14:23:21 php: rc.bootup: Creating rrd update script
                Jul 9 14:23:21 kernel: done.
                Jul 9 14:23:22 syslogd: exiting on signal 15
                Jul 9 14:23:22 syslogd: kernel boot file is /boot/kernel/kernel
                Jul 9 14:23:22 php-fpm[37599]: /rc.start_packages: Restarting/Starting all packages.
                Jul 9 14:23:22 php-fpm[37599]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
                Jul 9 14:23:24 php-fpm[37599]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
                Jul 9 14:23:24 php-fpm[37599]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
                Jul 9 14:23:24 php-fpm[37599]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
                Jul 9 14:23:24 php-fpm[37599]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
                Jul 9 14:23:24 php-fpm[37599]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
                Jul 9 14:23:24 php-fpm[37599]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'
                Jul 9 14:23:25 php-fpm[37599]: /rc.start_packages: The command '/usr/local/etc/rc.d/radiusd.sh stop' returned exit code '1', the output was 'radiusd not running?'

                Agradezco toda ayuda que me puedan prestar

                1 Reply Last reply Reply Quote 0
                • M
                  mesro09
                  last edited by

                  Estimado somos 2
                  yo instale desde cero 2.2.3 todo operaba  bien (estaba preparando un equipo nuevo para reemplazar el antigua fw) me llegaron tarjetas de red Intel cuando  les cambie primero se me daño todo dhcp leases luego freeradius no arrancaba
                  despues volvi instalar de nuevo sin usar config.xml todo opera menos freeradius no arranca automatico hay que iniciar manualmente busque solucion en 4 idiomas nada
                  si usted soluciono por favor comparte
                  antemano muchas gracias

                  1 Reply Last reply Reply Quote 0
                  • E
                    eduardcaballero
                    last edited by

                    @mesro09:

                    Estimado somos 2
                    yo instale desde cero 2.2.3 todo operaba  bien (estaba preparando un equipo nuevo para reemplazar el antigua fw) me llegaron tarjetas de red Intel cuando  les cambie primero se me daño todo dhcp leases luego freeradius no arrancaba
                    despues volvi instalar de nuevo sin usar config.xml todo opera menos freeradius no arranca automatico hay que iniciar manualmente busque solucion en 4 idiomas nada
                    si usted soluciono por favor comparte
                    antemano muchas gracias

                    Prueba con esto.

                    Un script para iniciar el servicio.

                    https://forum.pfsense.org/index.php?topic=96423.0

                    Aun no lo he hecho por falta de tiempo, testea y comentas

                    Saludos

                    1 Reply Last reply Reply Quote 0
                    • E
                      eduardcaballero
                      last edited by

                      Saludos a todos.

                      Indagando en el foro ingles y español logre andar el servicio con un script al inicio.

                      Los pasos dados por el maestro bellera para ejecutar el script fueron excelentes.

                      Aca el post https://forum.pfsense.org/index.php?topic=89593.msg500851#msg500851

                      En mi caso:

                      1.- Crear el archivo (start_radius.sh)

                      touch  /usr/local/etc/rc.d/start_radius.sh

                      2.- Contenido del archivo start_radius.sh

                      #!/bin/sh
                      sleep 45
                      service radiusd.sh start

                      3.- Hacer que el start_radius.sh se inicie al bootear

                      chmod +x /usr/local/etc/rc.d/start_radius.sh

                      Espero les sirva esta solucion ya que a mi me funciono.

                      Saludos desde Barquisimeto-Venezuela

                      1 Reply Last reply Reply Quote 0
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.