Hi, <br>
<br>
even I had the same problem related to mysql.so, but it was solved thanks to the replies to the mail regarding &quot;mysqulso error&quot;.<br>
<br>
but now even after that problem is solved, still the SIP UA is not albe to register with OpenSER, it is giving me the error... <br>
<br>
&nbsp;500 I'm terribly sorry, server error occurred<br>
<br>
Iam using the OpenSER with TLS support<br>
<br>
Thanks,<br>
Neil<br><br><div><span class="gmail_quote">On 12/14/05, <b class="gmail_sendername">unplug</b> &lt;<a href="mailto:maillisting@gmail.com">maillisting@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
There is no error in the compilation.&nbsp;&nbsp;What I mean is I need to<br>compile mysql.so separately.&nbsp;&nbsp;Just find out that if I compile openser<br>code with parameter mode=debug, this openser won't work using<br>mysql.so.&nbsp;&nbsp;It will work if I compile openser code without debug mode.
<br>It is what I have found.<br><br>On 12/14/05, Norman Brandinger &lt;<a href="mailto:norm@goes.com">norm@goes.com</a>&gt; wrote:<br>&gt; When you said &quot;doesn't compile in default&quot;, do you mean generates a<br>&gt; compile error or dosen't compile ?&nbsp;&nbsp;If it doesn't compile, take a look
<br>&gt; at &quot;exclude_modules&quot; in &quot;Makefile&quot;.&nbsp;&nbsp;If mysql is there, remove it and<br>&gt; try again.&nbsp;&nbsp;There was a time when mysql was not included by default.&nbsp;&nbsp;If<br>&gt; there are compile errors associated with mysql, please post them.
<br>&gt;<br>&gt; Regards,<br>&gt; Norm<br>&gt;<br>&gt; unplug wrote:<br>&gt;<br>&gt; &gt;Hi,<br>&gt; &gt;&nbsp;&nbsp;Thanks!&nbsp;&nbsp;But the mysql.so doesn't compile in default.&nbsp;&nbsp;I can run<br>&gt; &gt;without mysql module.&nbsp;&nbsp;But failed to start openser after including
<br>&gt; &gt;mysql.so.<br>&gt; &gt;<br>&gt; &gt;On 12/14/05, Norman Brandinger &lt;<a href="mailto:norm@goes.com">norm@goes.com</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;&gt;Hello,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;Maybe you have modules from different compiles mixed.&nbsp;&nbsp;One way to make
<br>&gt; &gt;&gt;sure everything is at the same level is to remove all the modules from<br>&gt; &gt;&gt;/usr/local/lib/openser/modules, then recompile everything.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;We use FreeBSD here and to compile/install we generally only need to
<br>&gt; &gt;&gt;perform the following two steps:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;1) gmake<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;2) gmake install<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;We have found that more than enough debugging information is available
<br>&gt; &gt;&gt;by the generous use of xlog in our configuration files with &quot;debug=3&quot;.<br>&gt; &gt;&gt;If you really want alot of debugging information, &quot;debug=9&quot; can be used<br>&gt; &gt;&gt;in your configuration file.
<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;Hope this helps.<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;Regards,<br>&gt; &gt;&gt;Norm<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;unplug wrote:<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;&gt;Hi,
<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt; What do you mean by different flag?<br>&gt; &gt;&gt;&gt;I compile openser core with the following syntax<br>&gt; &gt;&gt;&gt;make mode=debug all<br>&gt; &gt;&gt;&gt;make prefix=/usr/local install
<br>&gt; &gt;&gt;&gt;By default, mysql won't compile.<br>&gt; &gt;&gt;&gt;So I compile mysql with the following.<br>&gt; &gt;&gt;&gt;make modules=modules/mysql modules<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;On 12/13/05, Bogdan-Andrei Iancu &lt;
<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>&gt; wrote:<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;Hi,<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;you used different flags for compiling mysql module and core - recompile
<br>&gt; &gt;&gt;&gt;&gt;everything with same flag/configuration<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;regards,<br>&gt; &gt;&gt;&gt;&gt;bogdan<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;maillisting wrote:
<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;I compile mysql.so with the following command.<br>&gt; &gt;&gt;&gt;&gt;&gt;make modules=modules/mysql modules
<br>&gt; &gt;&gt;&gt;&gt;&gt;I have followed the document to configure openuser to use SQL.&nbsp;&nbsp;When I<br>&gt; &gt;&gt;&gt;&gt;&gt;start openser, the error message below is shown.&nbsp;&nbsp;What does it mean<br>&gt; &gt;&gt;&gt;&gt;&gt;the module compile flags?&nbsp;&nbsp;Any clue?
<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;openser: ERROR: module compile flags mismatch for<br>&gt; &gt;&gt;&gt;&gt;&gt;/usr/local/lib/openser/modules/mysql.so&nbsp;&nbsp; core: STATS: Off,<br>&gt; &gt;&gt;&gt;&gt;&gt;EXTRA_DEBUG, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK,
<br>&gt; &gt;&gt;&gt;&gt;&gt;SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>&gt; &gt;&gt;&gt;&gt;&gt;module: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST,<br>&gt; &gt;&gt;&gt;&gt;&gt;DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
<br>&gt; &gt;&gt;&gt;&gt;&gt;FAST_LOCK-ADAPTIVE_WAIT<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;&lt;mailto:<a href="mailto:users@openser.org">users@openser.org</a>&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;_______________________________________________
<br>&gt; &gt;&gt;&gt;&gt;&gt;Users mailing list<br>&gt; &gt;&gt;&gt;&gt;&gt;<a href="mailto:Users@openser.org">Users@openser.org</a><br>&gt; &gt;&gt;&gt;&gt;&gt;<a href="http://openser.org/cgi-bin/mailman/listinfo/users">
http://openser.org/cgi-bin/mailman/listinfo/users</a><br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;
<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;_______________________________________________<br>&gt; &gt;&gt;&gt;Users mailing list<br>&gt; &gt;&gt;&gt;<a href="mailto:Users@openser.org">Users@openser.org</a><br>&gt; &gt;&gt;&gt;
<a href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</a><br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br><br>_______________________________________________<br>Users mailing list
<br><a href="mailto:Users@openser.org">Users@openser.org</a><br><a href="http://openser.org/cgi-bin/mailman/listinfo/users">http://openser.org/cgi-bin/mailman/listinfo/users</a><br></blockquote></div><br>