Menu

coova login service is down

Help
2014-09-29
2015-03-06
  • Izzat Izzuddin

    Izzat Izzuddin - 2014-09-29

    Hello im using radius desk for vm image. Im having a problem when i insert my username and password to captive portal there is error "coova login service is down". so how's the solution? does this problem relate to my poor internet connection? hope you can help me sir

     
  • Dirk van der Walt

    Hi Izzat,

    It seems on the slower machines FreeRADIUS starts up while MySQL is not running yet which cause the FR to fail then.

    SSH into the VM (system/admin) and issue the following command:

    sudo update-rc.d -f radiusd remove
    sudo update-rc.d radiusd start 99 2 3 4 5 . stop 20 0 1 6 .
    

    Reboot the VM and see if it works now as intended.

    Cheers

     
    • bapplay

      bapplay - 2015-03-06

      Worked for me...thanks ..

       
  • Yoeri

    Yoeri - 2014-11-15

    Hi Dirk,

    I have the same issue after having imported RADIUSdesk-2014-2-0.ova on VMware Fusion.

    Your commands did not fix it.

    Grtz,
    Yoeri

     
  • Andrew

    Andrew - 2014-11-17

    Hello,

    I am having a similar Issue.

    Have a look in the /rd admin page, under tools, for the logfile viewer.
    You should see this error output if we are having the same issue.

    Mon Nov 17 13:11:04 2014 : Info : rlm_sql (sql),Closing sqlsocket 0
    Mon Nov 17 13:11:04 2014 : Error : /usr/local/etc/raddb/sql.conf[22],Instantiation failed for module "sql"
    Mon Nov 17 13:11:04 2014 : Error : /usr/local/etc/raddb/policy.conf[271],Failed to find "sql" in the "modules" section.
    Mon Nov 17 13:11:04 2014 : Error : /usr/local/etc/raddb/policy.conf[271],Failed to parse "sql" entry.
    Mon Nov 17 13:11:04 2014 : Error : /usr/local/etc/raddb/policy.conf[48],Failed to parse "RADIUSdesk_user_check" entry.
    Mon Nov 17 13:11:04 2014 : Error : /usr/local/etc/raddb/policy.conf[336],Failed to parse "RADIUSdesk_device_check" entry.
    Mon Nov 17 13:11:04 2014 : Error : /usr/local/etc/raddb/policy.conf[335],Failed to parse "if" subsection.
    Mon Nov 17 13:11:04 2014 : Error : /usr/local/etc/raddb/sites-enabled/default[166],Failed to parse "RADIUSdesk_main" entry.
    Mon Nov 17 13:11:04 2014 : Error : /usr/local/etc/raddb/sites-enabled/default[69],Errors parsing authorize section.
    Mon Nov 17 13:11:04 2014 : Error : Failed to load virtual server

    I Found that if you restart the Freeradius service, this fixes the issue. This can be done with the x and tick at the top of the window.

    This may have something to do with my setup however, as I use libvirt.

    Let me know if this helps!

    Andrew

     
  • Dirk van der Walt

    Hi Andrew, Yoeri,

    I think the next drastic thing would be to move to Upstart since I see that it has the ability to ensure a daemon is running in case it dies (which is also what I wanted to implement in some way ages ago)

    http://www.alexreisner.com/code/upstart

    Unless you feel adventurist and would like to see if you can get this going and let us know I'm going to try and fit it in this week.

    I'm sure the current setup is in such a fine balance that a little disturbance of the ecosystem causes start up failures which is not what we want.

    Will keep you posted and thanks for reporting back this problem.

    Cheers

     
    • Jon Webb

      Jon Webb - 2014-11-17

      I ran into a similar problem with radius just having a difficult time restarting. I am in love with radius desk. I have a huge implementation that I am working on. So uptime was pretty critical for me.

      The way that I have fixed it so far. Is that I created a shell script to tail on the log file for free radius and watch for the word "error.... failed to restart" or something along those lines. When it sees those words then it restarts for free radius and sends me an email that it restarted., but you can see in the air like it tries to restart when it is already started and it fails.

      Sent from my iPhone

      On Nov 17, 2014, at 6:51 AM, "Dirk van der Walt" dvdwalt@users.sf.net wrote:

      Hi Andrew, Yoeri,

      I think the next drastic thing would be to move to Upstart since I see that it has the ability to ensure a daemon is running in case it dies (which is also what I wanted to implement in some way ages ago)

      http://www.alexreisner.com/code/upstart

      Unless you feel adventurist and would like to see if you can get this going and let us know I'm going to try and fit it in this week.

      I'm sure the current setup is in such a fine balance that a little disturbance of the ecosystem causes start up failures which is not what we want.

      Will keep you posted and thanks for reporting back this problem.

      Cheers

      coova login service is down

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/radiusdesk/discussion/help/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • Dirk van der Walt

    Ok,

    Here's my attempt to fulfill the promise I've made to you guys...

    http://www.radiusdesk.com/technical_discussions/sys_v_to_upstart

    Can you please test and let us know if it works.

    Cheers

     
  • Andrew

    Andrew - 2014-12-16

    Hey, Have been using the script now, and have had plenty of restarts in the interim. Guide worked out great. So seems to work well.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.