Problem with restarting chilli 1.0.12 - redir.c: 982: 28 (No space left on device) msgget() failed

wlanmac wlan at mac.com
Mon Mar 2 10:26:09 UTC 2009


don't let your radius server die :)

you using acctupdate option per chance?

If so, upgrade to svn version.


On Mon, 2009-03-02 at 12:13 +0200, Johan Meiring wrote:
> Hi,
> 
> I have a problem with "restarting" coova-chilli.
> This is completely reproducable.
> 
> Details as follows:
> 
> Running coova-chilli 1.0.12 on openwrt kamikaze 8.09
> (somewhere between rc1 and final - r14038)
> 
> I have a cron script that checks if chilli is running every minute, and
> starts it if not.
> 
> When the radius server dies for some reason, chilli eventually dies.
> (expected?)
> 
> After a while (unsure if it is the first restart after chilli dies)
> chilli does not want to start anymore (i.e. crashes on startup).
> 
> A simple reboot of the router resolves the problem.  This happens on
> both Linksys and Nanostation devices.
> 
> logread as follows......
> 
> ********************* LOGREAD START*********************************
> 
> Jan  1 03:27:50 amobiahotspot-1028 local6.info coova-chilli[2997]:
> CoovaChilli(ChilliSpot) 1.0.12. Copyright 2002-2005 Mondru AB. Licensed
> under GPL. Copyright 2006-2008 David Bird <dbird at acm.org>. Licensed
> under GPL. See http://coova.org/ for details.
> Jan  1 03:27:50 amobiahotspot-1028 local6.notice coova-chilli[2997]:
> tun.c: 482: TX queue length set to 100
> Jan  1 03:28:01 amobiahotspot-1028 cron.err crond[811]: USER root pid
> 3096 cmd /usr/local/amobia/check-chilli
> Jan  1 03:28:05 amobiahotspot-1028 local6.notice coova-chilli[2997]:
> chilli.c: 2694: New DHCP request from MAC=00-16-E3-4D-EA-46
> Jan  1 03:28:05 amobiahotspot-1028 local6.notice coova-chilli[2997]:
> chilli.c: 2661: Client MAC=00-16-E3-4D-EA-46 assigned IP 192.168.182.2
> Jan  1 03:29:01 amobiahotspot-1028 cron.err crond[811]: USER root pid
> 3104 cmd /usr/local/amobia/check-chilli
> Jan  1 03:30:01 amobiahotspot-1028 cron.err crond[811]: USER root pid
> 3118 cmd /usr/local/amobia/check-chilli
> Jan  1 03:31:01 amobiahotspot-1028 cron.err crond[811]: USER root pid
> 3163 cmd /usr/local/amobia/check-chilli
> Jan  1 03:32:01 amobiahotspot-1028 cron.err crond[811]: USER root pid
> 3168 cmd /usr/local/amobia/check-chilli
> Jan  1 03:33:01 amobiahotspot-1028 cron.err crond[811]: USER root pid
> 3176 cmd /usr/local/amobia/check-chilli
> Jan  1 03:34:01 amobiahotspot-1028 cron.err crond[811]: USER root pid
> 3181 cmd /usr/local/amobia/check-chilli
> Jan  1 03:35:01 amobiahotspot-1028 cron.err crond[811]: USER root pid
> 3189 cmd /usr/local/amobia/check-chilli
> Jan  1 03:36:01 amobiahotspot-1028 cron.err crond[811]: USER root pid
> 3196 cmd /usr/local/amobia/check-chilli
> 
> ********************************************************************
> At this point I firewall off the radius server (simulating radius
> death) and go home.  The next morning logread shows the following
> *******************************************************************
> 
> root at amobiahotspot-1028:~# logread
> Jan  1 12:36:01 amobiahotspot-1028 cron.err crond[811]: USER root pid
> 16872 cmd /usr/local/amobia/check-chilli
> Jan  1 12:36:01 amobiahotspot-1028 user.notice check-chilli: Chillispot
> is not running.  Starting it.
> Jan  1 12:36:02 amobiahotspot-1028 local6.info coova-chilli[16884]:
> CoovaChilli(ChilliSpot) 1.0.12. Copyright 2002-2005 Mondru AB. Licensed
> under GPL. Copyright 2006-2008 David Bird <dbird at acm.org>. Licensed
> under GPL. See http://coova.org/ for details.
> Jan  1 12:36:02 amobiahotspot-1028 local6.notice coova-chilli[16884]:
> tun.c: 482: TX queue length set to 100
> Jan  1 12:36:02 amobiahotspot-1028 local6.err coova-chilli[16884]:
> redir.c: 982: 28 (No space left on device) msgget() failed
> Jan  1 12:36:02 amobiahotspot-1028 local6.err coova-chilli[16884]:
> redir.c: 983: Most likely your computer does not have System V IPC installed
> Jan  1 12:36:02 amobiahotspot-1028 local6.err coova-chilli[16884]:
> chilli.c: 3504: Failed to create redir
> Jan  1 12:37:01 amobiahotspot-1028 cron.err crond[811]: USER root pid
> 16958 cmd /usr/local/amobia/check-chilli
> Jan  1 12:37:01 amobiahotspot-1028 user.notice check-chilli: Chillispot
> is not running.  Starting it.
> Jan  1 12:37:02 amobiahotspot-1028 local6.info coova-chilli[16970]:
> CoovaChilli(ChilliSpot) 1.0.12. Copyright 2002-2005 Mondru AB. Licensed
> under GPL. Copyright 2006-2008 David Bird <dbird at acm.org>. Licensed
> under GPL. See http://coova.org/ for details.
> Jan  1 12:37:02 amobiahotspot-1028 local6.notice coova-chilli[16970]:
> tun.c: 482: TX queue length set to 100
> Jan  1 12:37:02 amobiahotspot-1028 local6.err coova-chilli[16970]:
> redir.c: 982: 28 (No space left on device) msgget() failed
> Jan  1 12:37:02 amobiahotspot-1028 local6.err coova-chilli[16970]:
> redir.c: 983: Most likely your computer does not have System V IPC installed
> Jan  1 12:37:02 amobiahotspot-1028 local6.err coova-chilli[16970]:
> chilli.c: 3504: Failed to create redir
> *********************  End logread ***********************************
> 
> 
> Any clues??
> 




More information about the Chilli mailing list