Hi, Guan!

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.

Regards,

--
Răzvan Crainea
OpenSIPS Developer
http://www.opensips-solutions.com


On 04/19/2012 06:49 PM, Guan Xsun wrote:
Hi,Crainea.
  I find my opensips cant receive sip message from socket.
  How can I debug it. where can I check its log??


  Best Regards

在 2012年4月19日 下午11:07,Guan Xsun <guanxian...@gmail.com <mailto:guanxian...@gmail.com>>写 道:

    HI,Crainea,

         Where can I look the log of opensips.
         I want to look its footprint.


       Best Regards


    在 2012年4月19日 下午4:23,Razvan Crainea <raz...@opensips.org
    <mailto:raz...@opensips.org>>写 道:

        Hi, Guan!

        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.

        Regards,

        --
        Răzvan Crainea
        OpenSIPS Developer
        http://www.opensips-solutions.com


        On 04/19/2012 04:50 AM, Guan Xsun wrote:
        HI,
         Thank you very much !
         I have solved that problem , but I find a new problem again.
         I use MySql as Database.
         And I have add a new number into database .
         but it cant registered when I use softphone to register.
         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.
         But I find no sip messages from /var/log/message.

         Hope you can give me more informations.

         Thanks

        在 2012年4月18日 下午11:27,Vlad Paiu <vladp...@opensips.org
        <mailto:vladp...@opensips.org>>写 道:

            Hi,

            What OS is this on ?
            It seems to be something related to OS permissions, and
            not OpenSIPS on it's own, judging by the error message.
            Do you happen to have SELINUX enabled ? If yes, try to
            disable it and try again.

            Regards,

            Vlad Paiu
            OpenSIPS Developer
http://www.opensips-solutions.com

            On 04/18/2012 06:22 PM, Guan Xsun wrote:
            HI,all,
               I enter an error when use opensips.
               The message  log is listed:
                Apr 18 08:17:36 localhost opensips:
            ERROR:core:sr_load_module: 1 could not open module
            </usr/local/lib/opensips/modules/db_mysql.so>:
            /usr/local/mysql/lib/libmysqlclient.so.15: cannot
            restore segment prot after reloc: Permission denied
            Apr 18 08:17:36 localhost opensips:
            CRITICAL:core:yyerror: 2parse error in config file, line
            71, column 13-14: failed to load module
            Apr 18 08:17:36 localhost opensips:
            CRITICAL:core:yyerror: 2parse error in config file, line
            192, column 1-6: syntax error
            Apr 18 08:17:36 localhost opensips:
            CRITICAL:core:yyerror: 2parse error in config file, line
            192, column 1-6: Invalid arguments
            Apr 18 08:17:36 localhost opensips: ERROR:core:main: bad
            config file (3 errors)

              And the opesips.cfg is attached.



            _______________________________________________
            Devel mailing list
            Devel@lists.opensips.org  <mailto:Devel@lists.opensips.org>
            http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

            _______________________________________________
            Devel mailing list
            Devel@lists.opensips.org <mailto:Devel@lists.opensips.org>
            http://lists.opensips.org/cgi-bin/mailman/listinfo/devel




        _______________________________________________
        Devel mailing list
        Devel@lists.opensips.org  <mailto:Devel@lists.opensips.org>
        http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

        _______________________________________________
        Devel mailing list
        Devel@lists.opensips.org <mailto:Devel@lists.opensips.org>
        http://lists.opensips.org/cgi-bin/mailman/listinfo/devel



_______________________________________________
Devel mailing list
Devel@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to