<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 3/29/2012 11:48 AM, Faisal Rehman wrote:
<blockquote
cite="mid:1333014535.74198.YahooMailNeo@web46213.mail.sp1.yahoo.com"
type="cite">
<div style="color:#000; background-color:#fff; font-family:Courier
New, courier, monaco, monospace, sans-serif;font-size:10pt">
<div><span style="font-family: tahoma, 'new york', times, serif;
font-weight: bold;">Hi Miha,</span></div>
<div><span style="font-family: tahoma, 'new york', times,
serif;"><br>
</span></div>
<div><span style="font-family: tahoma, 'new york', times,
serif;">It seems that you have given the wrong path of the
OpenSIPS modules directory in your opensips.cfg file. Please
check it again.</span></div>
<div><span style="font-family: tahoma, 'new york', times,
serif;"> </span></div>
<div><span style="font-family: tahoma, 'new york', times,
serif;">Regards,<br>
<br>
</span></div>
<div><span style="font-family: tahoma, 'new york', times, serif;
font-weight: bold;">Faisal Rehman</span></div>
<div style="font-family: 'Courier New', courier, monaco,
monospace, sans-serif; "><br>
</div>
<div style="font-family: 'Courier New', courier, monaco,
monospace, sans-serif; "><br>
<div style="font-size: 10pt; font-family: 'Courier New',
courier, monaco, monospace, sans-serif; ">
<div style="font-size: 12pt; font-family: 'times new roman',
'new york', times, serif; ">
<div dir="ltr"> <font face="Arial" size="2">
<hr size="1"> <b><span style="font-weight:bold;">From:</span></b>
Miha <a class="moz-txt-link-rfc2396E" href="mailto:miha@softnet.si"><miha@softnet.si></a><br>
<b><span style="font-weight: bold;">To:</span></b>
OpenSIPS users mailling list
<a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org"><users@lists.opensips.org></a> <br>
<b><span style="font-weight: bold;">Sent:</span></b>
Thursday, March 29, 2012 2:40 PM<br>
<b><span style="font-weight: bold;">Subject:</span></b>
[OpenSIPS-Users] Load balancer<br>
</font> </div>
<br>
<div id="yiv277700690">
<div> <small>Hi,<br>
<br>
I installed and configured opensips. Now I fould
like to use as loadbalancer between Freeswitchs.<br>
<br>
I have fallow tutorial as is written on
<a class="moz-txt-link-freetext" href="http://www.opensips.org/index.php?n=Resources.DocsTutLoadbalancing">http://www.opensips.org/index.php?n=Resources.DocsTutLoadbalancing</a>.<br>
<br>
Why modules are can not be loaded if when I was
having default config all modules were loaded
successfully?<br>
<br>
After I restart opensips server I get this errors.<br>
<br>
Thanks!<br>
MIha<br>
<br>
[root@localhost phpmyadmin]# service opensips
restart <br>
Stopping
opensips:
[FAILED]<br>
Not starting : invalid configuration file!<br>
<br>
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<br>
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse
error in config file, line 22, column 13-14: failed
to load module<br>
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<br>
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse
error in config file, line 23, column 13-14: failed
to load module<br>
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<br>
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse
error in config file, line 24, column 13-14: failed
to load module<br>
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<br>
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse
error in config file, line 25, column 13-14: failed
to load module<br>
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<br>
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse
error in config file, line 26, column 13-14: failed
to load module<br>
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<br>
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse
error in config file, line 27, column 13-14: failed
to load module<br>
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<br>
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse
error in config file, line 28, column 13-14: failed
to load module<br>
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<br>
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse
error in config file, line 29, column 13-14: failed
to load module<br>
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<br>
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse
error in config file, line 30, column 13-14: failed
to load module<br>
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<br>
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse
error in config file, line 31, column 13-14: failed
to load module<br>
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<br>
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse
error in config file, line 32, column 13-14: failed
to load module<br>
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<br>
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse
error in config file, line 33, column 13-14: failed
to load module<br>
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<br>
Mar 29 11:37:13 [28444] CRITICAL:core:yyerror: parse
error in config file, line 34, column 13-14: failed
to load module<br>
Mar 29 11:37:13 [28444]
ERROR:core:set_mod_param_regex: no module matching
mi_fifo found<br>
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<br>
Mar 29 11:37:13 [28444]
ERROR:core:set_mod_param_regex: no module matching
dialog found<br>
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<br>
Mar 29 11:37:13 [28444]
ERROR:core:set_mod_param_regex: no module matching
dialog found<br>
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<br>
Mar 29 11:37:13 [28444]
ERROR:core:set_mod_param_regex: no module matching
dialog found<br>
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<br>
Mar 29 11:37:13 [28444]
ERROR:core:set_mod_param_regex: no module matching
rr found<br>
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<br>
Mar 29 11:37:13 [28444]
ERROR:core:set_mod_param_regex: no module matching
rr found<br>
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<br>
Mar 29 11:37:13 [28444]
ERROR:core:set_mod_param_regex: no module matching
load_balancer found<br>
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<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
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?<br>
Mar 29 11:37:13 [28444] ERROR:core:main: bad config
file (39 errors)</small> </div>
</div>
<br>
_______________________________________________<br>
Users mailing list<br>
<a moz-do-not-send="true"
ymailto="mailto:Users@lists.opensips.org"
href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a moz-do-not-send="true"
href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br>
<br>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
HI @Faisal,<br>
<br>
thank you for that. I have fix this buy adding path to modules.<br>
<br>
After this I get only this errors:<br>
<br>
<small>Mar 29 12:53:16 [28588] ERROR:core:yyparse: module 'xlog.so'
not found in '/usr/local/lib64/opensips/modules/'<br>
Mar 29 12:53:16 [28588] CRITICAL:core:yyerror: parse error in
config file, line 26, column 13-14: failed to load module<br>
Mar 29 12:53:16 [28588] ERROR:core:sr_load_module: could not open
module </usr/local/lib64/opensips/modules/>:
/usr/local/lib64/opensips/modules/: cannot read file data: Is a
directory<br>
Mar 29 12:53:16 [28588] CRITICAL:core:yyerror: parse error in
config file, line 26, column 13-14: failed to load module<br>
Mar 29 12:53:16 [28588] ERROR:core:yyparse: module 'mi_xmlrpc.so'
not found in '/usr/local/lib64/opensips/modules/'<br>
Mar 29 12:53:16 [28588] CRITICAL:core:yyerror: parse error in
config file, line 31, column 13-14: failed to load module<br>
Mar 29 12:53:16 [28588] ERROR:core:sr_load_module: could not open
module </usr/local/lib64/opensips/modules/>:
/usr/local/lib64/opensips/modules/: cannot read file data: Is a
directory<br>
Mar 29 12:53:16 [28588] CRITICAL:core:yyerror: parse error in
config file, line 31, column 13-14: failed to load module<br>
Mar 29 12:53:16 [28588] ERROR:core:set_mod_param_regex: parameter
<dlg_flag> not found in module <dialog><br>
Mar 29 12:53:16 [28588] CRITICAL:core:yyerror: parse error in
config file, line 40, column 20-21: Parameter <dlg_flag> not
found in module <dialog> - can't set<br>
Mar 29 12:53:16 [28588] ERROR:core:main: bad config file (5
errors)</small><br>
<br>
Where can I find this modules as I do not see them in default
modules directory from src, so that I can compile them?<br>
<br>
Thanks!<br>
Miha<br>
</body>
</html>