[OpenSIPS-Users] Load balancer

Faisal Rehman faisal.rehman22 at yahoo.com
Thu Mar 29 11:48:55 CEST 2012


Hi Miha,

It seems that you have given the wrong path of the OpenSIPS modules directory in your opensips.cfg file. Please check it again.
 
Regards,


Faisal Rehman




________________________________
 From: Miha <miha at softnet.si>
To: OpenSIPS users mailling list <users at lists.opensips.org> 
Sent: Thursday, March 29, 2012 2:40 PM
Subject: [OpenSIPS-Users] Load balancer
 

Hi,

I installed and configured opensips. Now I fould like to use as
      loadbalancer between Freeswitchs.

I have fallow tutorial as is written on
      http://www.opensips.org/index.php?n=Resources.DocsTutLoadbalancing.

Why modules are can not be loaded if when I was having default
      config all modules were loaded successfully?

After I restart opensips server I get this errors.

Thanks!
MIha

[root at localhost phpmyadmin]# service opensips restart             
       
Stopping opensips:                                        
      [FAILED]
Not starting : invalid configuration file!

Mar 29 11:37:13 [28444] ERROR:core:sr_load_module: could not open
      module <modules/maxfwd/maxfwd.so>: modules/maxfwd/maxfwd.so:
      cannot open shared object file: No such file or directory
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 22, column 13-14: failed to load module
Mar 29 11:37:13 [28444] ERROR:core:sr_load_module: could not open
      module <modules/sl/sl.so>: modules/sl/sl.so: cannot open
      shared object file: No such file or directory
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 23, column 13-14: failed to load module
Mar 29 11:37:13 [28444] ERROR:core:sr_load_module: could not open
      module <modules/db_mysql/db_mysql.so>:
      modules/db_mysql/db_mysql.so: cannot open shared object file: No
      such file or directory
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 24, column 13-14: failed to load module
Mar 29 11:37:13 [28444] ERROR:core:sr_load_module: could not open
      module <modules/tm/tm.so>: modules/tm/tm.so: cannot open
      shared object file: No such file or directory
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 25, column 13-14: failed to load module
Mar 29 11:37:13 [28444] ERROR:core:sr_load_module: could not open
      module <modules/xlog/xlog.so>: modules/xlog/xlog.so: cannot
      open shared object file: No such file or directory
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 26, column 13-14: failed to load module
Mar 29 11:37:13 [28444] ERROR:core:sr_load_module: could not open
      module <modules/uri/uri.so>: modules/uri/uri.so: cannot open
      shared object file: No such file or directory
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 27, column 13-14: failed to load module
Mar 29 11:37:13 [28444] ERROR:core:sr_load_module: could not open
      module <modules/rr/rr.so>: modules/rr/rr.so: cannot open
      shared object file: No such file or directory
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 28, column 13-14: failed to load module
Mar 29 11:37:13 [28444] ERROR:core:sr_load_module: could not open
      module <modules/dialog/dialog.so>: modules/dialog/dialog.so:
      cannot open shared object file: No such file or directory
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 29, column 13-14: failed to load module
Mar 29 11:37:13 [28444] ERROR:core:sr_load_module: could not open
      module <modules/mi_fifo/mi_fifo.so>:
      modules/mi_fifo/mi_fifo.so: cannot open shared object file: No
      such file or directory
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 30, column 13-14: failed to load module
Mar 29 11:37:13 [28444] ERROR:core:sr_load_module: could not open
      module <modules/mi_xmlrpc/mi_xmlrpc.so>:
      modules/mi_xmlrpc/mi_xmlrpc.so: cannot open shared object file: No
      such file or directory
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 31, column 13-14: failed to load module
Mar 29 11:37:13 [28444] ERROR:core:sr_load_module: could not open
      module <modules/signaling/signaling.so>:
      modules/signaling/signaling.so: cannot open shared object file: No
      such file or directory
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 32, column 13-14: failed to load module
Mar 29 11:37:13 [28444] ERROR:core:sr_load_module: could not open
      module <modules/textops/textops.so>:
      modules/textops/textops.so: cannot open shared object file: No
      such file or directory
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 33, column 13-14: failed to load module
Mar 29 11:37:13 [28444] ERROR:core:sr_load_module: could not open
      module <modules/load_balancer/load_balancer.so>:
      modules/load_balancer/load_balancer.so: cannot open shared object
      file: No such file or directory
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 34, column 13-14: failed to load module
Mar 29 11:37:13 [28444] ERROR:core:set_mod_param_regex: no module
      matching mi_fifo found
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 38, column 20-21: Parameter <fifo_name>
      not found in module <mi_fifo> - can't set
Mar 29 11:37:13 [28444] ERROR:core:set_mod_param_regex: no module
      matching dialog found
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 40, column 20-21: Parameter <dlg_flag> not
      found in module <dialog> - can't set
Mar 29 11:37:13 [28444] ERROR:core:set_mod_param_regex: no module
      matching dialog found
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 41, column 19-20: Parameter <db_mode> not
      found in module <dialog> - can't set
Mar 29 11:37:13 [28444] ERROR:core:set_mod_param_regex: no module
      matching dialog found
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 42, column 20-21: Parameter <db_url> not
      found in module <dialog> - can't set
Mar 29 11:37:13 [28444] ERROR:core:set_mod_param_regex: no module
      matching rr found
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 44, column 17-18: Parameter
      <enable_double_rr> not found in module <rr> - can't
      set
Mar 29 11:37:13 [28444] ERROR:core:set_mod_param_regex: no module
      matching rr found
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 45, column 17-18: Parameter
      <append_fromtag> not found in module <rr> - can't set
Mar 29 11:37:13 [28444] ERROR:core:set_mod_param_regex: no module
      matching load_balancer found
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 47, column 19-20: Parameter <db_url> not
      found in module <load_balancer> - can't set
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 51, column 34-35: unknown command
      <mf_process_maxfwd_header>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 52, column 22-23: unknown command
      <sl_send_reply>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 57, column 17-18: unknown command
      <has_totag>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 59, column 16-17: unknown command
      <record_route>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 62, column 15-16: unknown command
      <loose_route>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 63, column 25-26: unknown command
      <t_relay>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 68, column 19-20: unknown command
      <is_method>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 69, column 22-23: unknown command
      <t_check_trans>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 70, column 12-13: unknown command
      <t_relay>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 76, column 26-27: unknown command
      <is_method>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 77, column 33-34: unknown command
      <send_reply>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 84, column 35-36: unknown command
      <load_balance>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 87, column 35-36: unknown command
      <load_balance>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 91, column 37-38: unknown command
      <search_body>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 92, column 42-43: unknown command
      <load_balance>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 94, column 42-43: unknown command
      <load_balance>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 101, column 33-34: unknown command
      <sl_send_reply>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 108, column 15-16: unknown command
      <t_relay>, missing loadmodule?
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse error in
      config file, line 109, column 18-19: unknown command
      <sl_reply_error>, missing loadmodule?
Mar 29 11:37:13 [28444] ERROR:core:main: bad config file (39
      errors) 
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120329/aa1945a3/attachment.htm>


More information about the Users mailing list