<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi, Guan!<br>
    <br>
    Unless you have configured an explicit logging facility, you should
    look in /var/log/messages or /var/log/syslog. Also, you have to
    increase OpenSIPS debug level (set the debug level to 6 in config
    file) in order to see if OpenSIPS tries to process any message.<br>
    <br>
    Regards,<br>
    <pre class="moz-signature" cols="72">--
Răzvan Crainea
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <br>
    On 04/19/2012 06:49 PM, Guan Xsun wrote:
    <blockquote
cite="mid:CAHBWywCCa_u=RTqWj0Yp_U3m-nYNfQTWvpsm+0+4jSSNODqULw@mail.gmail.com"
      type="cite">Hi,Crainea.
      <div>  I find my opensips cant receive sip message from socket.</div>
      <div>  How can I debug it. where can I check its log??</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>  Best Regards<br>
        <br>
        <div class="gmail_quote">
          在 2012年4月19日 下午11:07,Guan Xsun <span dir="ltr">&lt;<a
              moz-do-not-send="true" href="mailto:guanxiansun@gmail.com">guanxiansun@gmail.com</a>&gt;</span>写
          道:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            HI,Crainea,
            <div><br>
                   Where can I look the log of opensips.</div>
            <div>     I want to look its footprint.</div>
            <div><br>
            </div>
            <div><br>
            </div>
            <div>   Best Regards</div>
            <div><br>
            </div>
            <div> <br>
              <div class="gmail_quote">在 2012年4月19日 下午4:23,Razvan
                Crainea <span dir="ltr">&lt;<a moz-do-not-send="true"
                    href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>&gt;</span>写
                道:
                <div>
                  <div class="h5"><br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div bgcolor="#FFFFFF" text="#000000"> <tt>Hi,
                          Guan!<br>
                          <br>
                          You won't find any sip messages in
                          /var/log/messages, only OpenSIPS logs. You
                          should watch the traces you captured in order
                          to find the registration problem.<br>
                          <br>
                          Regards,<br>
                        </tt>
                        <pre cols="72">--
Răzvan Crainea
OpenSIPS Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                        <div>
                          <div> <br>
                            On 04/19/2012 04:50 AM, Guan Xsun wrote:
                            <blockquote type="cite">HI,
                              <div> Thank you very much !</div>
                              <div> I have solved that problem , but I
                                find a new problem again. </div>
                              <div> I use MySql as Database. </div>
                              <div> And I have add a new number into
                                database . </div>
                              <div> but it cant registered when I use
                                softphone to register. </div>
                              <div> Can you tell me where can I whatch
                                the log, I think it have received sip
                                messsage  for I have looked it from
                                captured packets.</div>
                              <div> But I find no sip messages from
                                /var/log/message.</div>
                              <div><br>
                              </div>
                              <div> Hope you can give me more
                                informations.</div>
                              <div><br>
                              </div>
                              <div> Thanks <br>
                                <br>
                                <div class="gmail_quote">在 2012年4月18日
                                  下午11:27,Vlad Paiu <span dir="ltr">&lt;<a
                                      moz-do-not-send="true"
                                      href="mailto:vladpaiu@opensips.org"
                                      target="_blank">vladpaiu@opensips.org</a>&gt;</span>写
                                  道:<br>
                                  <blockquote class="gmail_quote"
                                    style="margin:0 0 0
                                    .8ex;border-left:1px #ccc
                                    solid;padding-left:1ex">
                                    <div bgcolor="#ffffff"
                                      text="#000000"> Hi,<br>
                                      <br>
                                      What OS is this on ?<br>
                                      It seems to be something related
                                      to OS permissions, and not
                                      OpenSIPS on it's own, judging by
                                      the error message. <br>
                                      Do you happen to have SELINUX
                                      enabled ? If yes, try to disable
                                      it and try again.<br>
                                      <br>
                                      Regards,<br>
                                      <pre cols="72">Vlad Paiu
OpenSIPS Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a> </pre>
                                      <div>
                                        <div> <br>
                                          On 04/18/2012 06:22 PM, Guan
                                          Xsun wrote: </div>
                                      </div>
                                      <blockquote type="cite">
                                        <div>
                                          <div>HI,all,
                                            <div>   I enter an error
                                              when use opensips.</div>
                                            <div>   The message  log is
                                              listed:</div>
                                            <div>    Apr 18 08:17:36
                                              localhost opensips:
                                              ERROR:core:sr_load_module:
                                              1 could not open module
                                              &lt;/usr/local/lib/opensips/modules/db_mysql.so&gt;:
                                              /usr/local/mysql/lib/libmysqlclient.so.15:
                                              cannot restore segment
                                              prot after reloc:
                                              Permission denied </div>
                                            <div>Apr 18 08:17:36
                                              localhost opensips:
                                              CRITICAL:core:yyerror:
                                              2parse error in config
                                              file, line 71, column
                                              13-14: failed to load
                                              module </div>
                                            <div>Apr 18 08:17:36
                                              localhost opensips:
                                              CRITICAL:core:yyerror:
                                              2parse error in config
                                              file, line 192, column
                                              1-6: syntax error </div>
                                            <div>Apr 18 08:17:36
                                              localhost opensips:
                                              CRITICAL:core:yyerror:
                                              2parse error in config
                                              file, line 192, column
                                              1-6: Invalid arguments </div>
                                            <div>Apr 18 08:17:36
                                              localhost opensips:
                                              ERROR:core:main: bad
                                              config file (3 errors) </div>
                                            <div><br>
                                            </div>
                                            <div>  And the opesips.cfg
                                              is attached. </div>
                                            <div><br>
                                            </div>
                                            <div><br>
                                            </div>
                                          </div>
                                        </div>
                                        <pre><fieldset></fieldset>
_______________________________________________
Devel mailing list
<a moz-do-not-send="true" href="mailto:Devel@lists.opensips.org" target="_blank">Devel@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
                                      </blockquote>
                                    </div>
                                    <br>
_______________________________________________<br>
                                    Devel mailing list<br>
                                    <a moz-do-not-send="true"
                                      href="mailto:Devel@lists.opensips.org"
                                      target="_blank">Devel@lists.opensips.org</a><br>
                                    <a moz-do-not-send="true"
                                      href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel"
                                      target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a><br>
                                    <br>
                                  </blockquote>
                                </div>
                                <br>
                              </div>
                              <br>
                              <fieldset></fieldset>
                              <br>
                              <pre>_______________________________________________
Devel mailing list
<a moz-do-not-send="true" href="mailto:Devel@lists.opensips.org" target="_blank">Devel@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
                            </blockquote>
                          </div>
                        </div>
                      </div>
                      <br>
                      _______________________________________________<br>
                      Devel mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:Devel@lists.opensips.org"
                        target="_blank">Devel@lists.opensips.org</a><br>
                      <a moz-do-not-send="true"
                        href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel"
                        target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a><br>
                      <br>
                    </blockquote>
                  </div>
                </div>
              </div>
              <br>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
  </body>
</html>