Nice workaround, this should help others minimizing the lost traffics issue. 
Thanks for the share.




On Apr 16, 2012, at 5:52 PM, spameden wrote:

> needs further testing, but pretty sure it should be OK
> 
> 2012/4/16 spameden <[email protected]>
> I think I resolved this via workaround:
> 
> altered /etc/init.d/kannel script with:
> 
>   stop)
>     echo -n "Stopping WAP gateway:"
>     CORE_CONF=$(grep -r 'group[[:space:]]*=[[:space:]]*core' $CONFDIR | cut 
> -d: -f1)
>     ADMIN_PORT=$(grep '^admin-port' $CORE_CONF | sed "s/.*=[[:space:]]*//")
>     ADMIN_PASS=$(grep '^admin-password' $CORE_CONF | sed 
> "s/.*=[[:space:]]*//")
>     STOP_URL="http://127.0.0.1:${ADMIN_PORT}/shutdown?password=${ADMIN_PASS}";
>     lynx -source $STOP_URL >/dev/null
> 
> i.e. I'm shutting down bearerbox via it's web-interface before bringing down 
> run-kannel-box daemons
> 
> hopefully it will help someone else.
> 
> 
> 2012/4/12 spameden <[email protected]>
> Hello, any update on this? Still having this issue with spool-queue (happens 
> also on filestore I think)
> 
> 
> 2012/4/5 spameden <[email protected]>
> Hello, list.
> 
> This bug was already discussed here:
> 
> http://www.kannel.org/pipermail/users/2010-August/012229.html
> 
> But still no solution!
> 
> I have smsbox->sqlbox->bearerbox scheme and _VERY_OFTEN_ if i restart kannel 
> when it has active queue bearerbox fails to restart.
> 
> Please suggest.
> 
> 
> 

Willy Mularto
F300HD+MR18DE (NLC1725)









Reply via email to