[OpenSIPS-Users] dialog and load_balance problems

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Mar 13 14:58:19 CET 2012


Hi Jorge,

About the original problem, on the mediagw which is not used - you can 
use the "lb_list" MI command to see what is the status of each entry in 
the LB:
         opensipsctl fifo lb_list
Maybe your GW is set as inactive . Please see:
         
http://www.opensips.org/html/docs/modules/1.7.x/load_balancer.html#id249005

Now, about the restart issue: it seams you have an invalid entry in DB 
for LB module - entry ID "5" has actually no list of resources - check 
your DB.

Regards,
Bogdan

On 03/07/2012 11:44 AM, Jorge Ortea wrote:
> Hi,
>
> when i restart opensips returns this:
>
> Mar  6 15:20:02 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> NOTICE:signaling:mod_init: initializing module ...
> Mar  6 15:20:02 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:sl:mod_init: Initializing StateLess engine
> Mar  6 15:20:02 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:tm:mod_init: TM - initializing...
> Mar  6 15:20:02 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:rr:mod_init: rr - initializing
> Mar  6 15:20:02 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:maxfwd:mod_init: initializing...
> Mar  6 15:20:02 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:usrloc:ul_init_locks: locks array size 512
> Mar  6 15:20:02 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:registrar:mod_init: initializing...
> Mar  6 15:20:02 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:textops:mod_init: initializing...
> Mar  6 15:20:02 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:acc:mod_init: initializing...
> Mar  6 15:20:02 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:auth:mod_init: initializing...
> Mar  6 15:20:02 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:auth_db:mod_init: initializing...
> Mar  6 15:20:02 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:dialog:mod_init: Dialog module - initializing
> Mar  6 15:20:02 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> ERROR:dialog:read_dialog_profiles: profile <lbXTDM> does not exist 
> anymore
> Mar  6 15:20:03 ghss02 last message repeated 2 times
> Mar  6 15:20:03 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:avpops:avpops_init: initializing...
> Mar  6 15:20:03 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:load_balancer:mod_init: Load-Balancer module - initializing
> Mar  6 15:20:03 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> ERROR:load_balancer:parse_resources_list: empty list of resorces
> Mar  6 15:20:03 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> ERROR:load_balancer:add_lb_dsturi: failed to parse resourse string <>
> Mar  6 15:20:03 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> ERROR:load_balancer:lb_db_load_data: failed to add destination 5 -> 
> skipping
> Mar  6 15:20:03 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:uac:mod_init: initializing...
> Mar  6 15:20:03 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:textops:hname_fixup: using hdr type name <Referred-By>
> Mar  6 15:20:03 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:core:probe_max_receive_buffer: using a UDP receive buffer of 255 kb
> Mar  6 15:20:03 ghss02 /usr/local/opensips/sbin/opensips[29437]: 
> INFO:core:probe_max_receive_buffer: using a UDP receive buffer of 255 kb
>
>
> Now opensips is working fine but three days ago i had problems with 
> load_balancer module, when tried find a mediagateway as always by the 
> way load_balance function, returned null. I had that restart opensips.
>
>
> Thanks.
> Regards.
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


-- 
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120313/a5253a60/attachment-0001.htm>


More information about the Users mailing list