<html><head><meta http-equiv="content-type" content="text/html; charset=UTF-8"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }div.foxdiv20140521081504781757 { }body { font-size: 10.5pt; font-family: 宋体; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span></span>Hello, Tito:</div><div>Finally i solve this issues. after i read the doc from opensips, the url_db module have been removed in 1.8. and I disabled that. </div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><font face="隶书"><b>Cheers!</b></font></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>发件人:</b> <a href="mailto:tito@xsvoce.com">Tito Cumpen</a></div><div><b>发送时间:</b> 2014-05-20 16:37</div><div><b>收件人:</b> <a href="mailto:users@lists.opensips.org">OpenSIPS users mailling list</a></div><div><b>主题:</b> Re: [OpenSIPS-Users]回复: opensips failed during startup! Do i lost modules?</div></div></div><div><div class="FoxDiv20140521081504781757"><div dir="ltr">Uri_db is not a module i do see that uri.so is in your modules dir though. Once you load the asterisk integration config make sure you change the path to <span style="font-family:arial,sans-serif;font-size:14.44444465637207px;line-height:23.33333396911621px">/usr/local/</span><span style="font-family:arial,sans-serif;font-size:14.44444465637207px;line-height:23.33333396911621px">lib/opensips/modules/ rather than the one in the config. Once you have done that set debug to 6 and past the log errors in this thread.</span><div>
<span style="font-family:arial,sans-serif;font-size:14.44444465637207px;line-height:23.33333396911621px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:14.44444465637207px;line-height:23.33333396911621px"><br>
</span></div><div><span style="font-family:arial,sans-serif;font-size:14.44444465637207px;line-height:23.33333396911621px"><br></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 20, 2014 at 3:30 AM, <a href="mailto:toasterisk@gmail.com">toasterisk@gmail.com</a> <span dir="ltr"><<a href="mailto:toasterisk@gmail.com" target="_blank">toasterisk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div>
<div><span></span>hello, Tito:</div><div>thanks for your input. my mpath is under--- <span style="background-color:rgba(0,0,0,0);font-size:10.5pt;line-height:1.5">mpath="/usr/local/lib/opensips/modules/"</span></div>
<div><span style="background-color:rgba(0,0,0,0);font-size:10.5pt;line-height:1.5">and under this directory, there are many modules:</span></div><div><span style="background-color:rgba(0,0,0,0);font-size:10.5pt;line-height:1.5">--------------------------------------------------------</span></div>
<span style="background-color:rgba(0,0,0,0)">root@opensips-1:/usr/local/lib/opensips# cd modules/
<br>root@opensips-1:/usr/local/lib/opensips/modules# ls
<br>acc.so closeddial.so enum.so msilo.so ratelimit.so sst.so
<br>alias_db.so db_flatstore.so event_datagram.so nathelper.so registrar.so statistics.so
<br>auth_aaa.so db_mysql.so exec.so nat_traversal.so rr.so stun.so
<br>auth_db.so db_text.so gflags.so options.so rtpproxy.so textops.so
<br>auth_diameter.so db_virtual.so group.so path.so seas.so tm.so
<br>auth.so dialog.so imc.so pdt.so signaling.so uac_auth.so
<br>avpops.so dispatcher.so load_balancer.so peering.so sipcapture.so uac_redirect.so
<br>b2b_entities.so diversion.so mangler.so permissions.so sipmsgops.so uac_registrant.so
<br>benchmark.so dns_cache.so maxfwd.so pike.so siptrace.so uac.so
<br>cachedb_local.so domainpolicy.so mediaproxy.so presence_callinfo.so sl.so uri.so
<br>call_control.so domain.so mi_datagram.so presence_xcapdiff.so sms.so userblacklist.so
<br>cfgutils.so drouting.so mi_fifo.so qos.so speeddial.so usrloc.so
<br></span><div><span style="background-color:rgba(0,0,0,0);font-size:10.5pt;line-height:1.5">root@opensips-1:/usr/local/lib/opensips/modules#</span></div><div><span style="background-color:rgba(0,0,0,0);font-size:10.5pt;line-height:1.5">-------------------------------------------------------------------- </span></div>
<div><span style="background-color:rgba(0,0,0,0);font-size:10.5pt;line-height:1.5">But </span><span style="background-color:rgb(255,0,0)"><span style="font-size:10.5pt;line-height:1.5">there is no </span><span style="font-size:10.5pt;line-height:1.5">"uri_db.so"</span></span><span style="background-color:rgba(0,0,0,0);font-size:10.5pt;line-height:1.5"> and in the source file, there is no url_db module.</span></div>
<div><span style="background-color:rgba(0,0,0,0);font-size:10.5pt;line-height:1.5">my version is 1.8.2-tls version and compile with make all command. Am I missing something? </span></div>
<div><br></div><hr style="width:210px;min-height:1px" color="#b5c4df" size="1" align="left">
<div><span><font face="隶书"><b>Cheers!</b></font></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT:8px;PADDING-LEFT:8px;FONT-SIZE:12px;FONT-FAMILY:tahoma;COLOR:#000000;BACKGROUND:#efefef;PADDING-BOTTOM:8px;PADDING-TOP:8px">
<div><b>发件人:</b> <a href="mailto:tito@xsvoce.com" target="_blank">Tito Cumpen</a></div><div><b>发送时间:</b> <a href="tel:2014-05-20%C2%A012" value="+12014052012" target="_blank">2014-05-20 12</a>:13</div><div><b>收件人:</b> <a href="mailto:users@lists.opensips.org" target="_blank">OpenSIPS users mailling list</a></div>
<div><b>主题:</b> Re: [OpenSIPS-Users]回复: opensips failed during startup! Do i lost modules?</div></div></div><div><div class="h5"><div><div><div dir="ltr">Make sure your modules directory is correct. Make sure you notice the differences in both configs as far as directories are concerned. I presume this is the issue you are incurring. <div>
<pre style="font-size:0.9em;font-family:'Lucida Console','Andale Mono','Courier New',Courier;margin-top:0px;margin-bottom:0px;padding:6px;border:1px solid rgb(235,235,235);background-color:rgb(251,254,250);color:rgb(102,102,102);line-height:21.593280792236328px">#set module path
mpath="/lib/opensips/modules/"</pre></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 19, 2014 at 10:09 PM, <a href="mailto:toasterisk@gmail.com" target="_blank">toasterisk@gmail.com</a> <span dir="ltr"><<a href="mailto:toasterisk@gmail.com" target="_blank">toasterisk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex;"><div>
<div><span></span>hello:</div><div>I used default cfg file, there is no error when startup. </div><div>But when i use the example cfg from this link :</div><div><span style="background-color:rgba(0,0,0,0)"></span><a href="http://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration-1-8" style="font-size:10.5pt;line-height:1.5;background-color:window" target="_blank">http://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration-1-8</a><span style="font-size:10.5pt;line-height:1.5;background-color:rgba(0,0,0,0)"> </span></div>
<div>I will get the errors.</div><span style="background-color:rgba(0,0,0,0)"></span>
<div><br></div><hr style="width:210px;min-height:1px" color="#b5c4df" size="1" align="left">
<div><span><font face="隶书"><b>Cheers!</b></font></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT:8px;PADDING-LEFT:8px;FONT-SIZE:12px;FONT-FAMILY:tahoma;COLOR:#000000;BACKGROUND:#efefef;PADDING-BOTTOM:8px;PADDING-TOP:8px">
<div><b>发件人:</b> <a href="mailto:toasterisk@gmail.com" target="_blank">toasterisk@gmail.com</a></div><div><b>发送时间:</b> <a href="tel:2014-05-19%C2%A021" value="+12014051921" target="_blank">2014-05-19 21</a>:42</div><div>
<b>收件人:</b> <a href="mailto:users@lists.opensips.org" target="_blank">opensips</a></div>
<div><b>主题:</b> opensips failed during startup! Do i lost modules?</div></div></div><div><div><div><div>
<div><span></span>hello, all of friends:</div><div>I try to compile with this link for my opensips and asterisk:</div><div><span style="background-color:rgba(0,0,0,0)"></span><a href="http://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration" style="font-size:10.5pt;line-height:1.5;background-color:window" target="_blank">http://www.opensips.org/Documentation/Tutorials-OpenSIPSAsteriskIntegration</a><span style="font-size:10.5pt;line-height:1.5;background-color:rgba(0,0,0,0)"> </span></div>
<div>I compile the opensip by make all, it should compiled all modules.</div><div>but i use the example opensips.cfg from the link, when start the opensips, the system logs show </div><div>there are many error with modules:</div>
<div>====================errors==================================================</div><span style="background-color:rgba(0,0,0,0)">May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 113, column 20-21: unknown command <is_method>, missing loadmodule?
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 116, column 27-28: unknown command <is_method>, missing loadmodule?
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <record_route>(0) in module rr [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 126, column 21-22: unknown command <is_method>, missing loadmodule?
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_check_trans>(0) in module tm [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 146, column 18-19: unknown command <is_method>, missing loadmodule?
<br></span><span style="background-color:rgba(0,0,0,0)">May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <append_hf> not found
<br>May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 190, column 19-20: unknown command <append_hf>, missing loadmodule?
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: <is_method> not found
<br>May 19 21:17:16 opensips-1 opensips: CRITICAL:core:yyerror: parse error in config file /usr/local/etc/opensips/opensips.cfg, line 196, column 18-19: unknown command <is_method>, missing loadmodule?
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <www_authorize>(2) in module auth_db [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <www_challenge>(2) in module auth [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <check_to>(0) in module uri [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <save>(1) in module registrar [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <sl_reply_error>(0) in module sl [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <is_from_local>(0) in module domain [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <send_reply>(2) in module signaling [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <lookup>(1) in module registrar [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_on_failure>(1) in module tm [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <sl_reply_error>(0) in module sl [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_was_cancelled>(0) in module tm [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_check_status>(1) in module tm [/usr/local/lib/opensips/modules/]
<br>May 19 21:17:16 opensips-1 opensips: DBG:core:find_cmd_export_t: found <t_relay>(0) in module tm [/usr/local/lib/opensips/modules/]
<br></span><div><span style="background-color:rgba(0,0,0,0);font-size:10.5pt;line-height:1.5">May 19 21:17:16 opensips-1 opensips: ERROR:core:main: bad config file (17 errors)</span> </div><div>------------------------------------------------------</div>
<div>Does anyone know this problem? please give me the hit.</div><div>Thanks!</div><span style="background-color:rgba(0,0,0,0)"></span>
<div><br></div><hr style="width:210px;min-height:1px" color="#b5c4df" size="1" align="left">
<div><span><font face="隶书"><b>Cheers!</b></font></span></div>
</div></div></div></div></blockquote>
</div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div></div></div></blockquote>
</div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br></div>
</div></div></blockquote>
</body></html>