<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">I checked it but do not see any other
      verison installed.<br>
      <br>
      I will try to install new centos and that do new installation of
      opensips.<br>
      <br>
      Thanks!<br>
      Miha<br>
      <br>
      On 11/20/2012 9:21 AM, Binan AL Halabi wrote:<br>
    </div>
    <blockquote
      cite="mid:1353399660.72358.YahooMailNeo@web122605.mail.ne1.yahoo.com"
      type="cite">
      <div style="color:#000; background-color:#fff; font-family:times
        new roman, new york, times, serif;font-size:10pt">Hi Miha,<br>
        <br>
        Check if you have another OpenSIPS on your machine (maybe
        installed by your OS).<br>
        <br>
        // Binan<br>
        <div><span><br>
          </span></div>
        <div><br>
        </div>
        <div style="font-family: times new roman, new york, times,
          serif; font-size: 10pt;">
          <div style="font-family: times new roman, new york, times,
            serif; font-size: 12pt;">
            <div dir="ltr"> <font size="2" face="Arial">
                <hr size="1"> <b><span style="font-weight:bold;">Fr&aring;n:</span></b>
                Miha <a class="moz-txt-link-rfc2396E" href="mailto:miha@softnet.si">&lt;miha@softnet.si&gt;</a><br>
                <b><span style="font-weight: bold;">Till:</span></b>
                Muhammad Shahzad <a class="moz-txt-link-rfc2396E" href="mailto:shaheryarkh@gmail.com">&lt;shaheryarkh@gmail.com&gt;</a> <br>
                <b><span style="font-weight: bold;">Kopia:</span></b>
                OpenSIPS users mailling list
                <a class="moz-txt-link-rfc2396E" href="mailto:users@lists.opensips.org">&lt;users@lists.opensips.org&gt;</a> <br>
                <b><span style="font-weight: bold;">Skickat:</span></b>
                tisdag, 20 november 2012 8:09<br>
                <b><span style="font-weight: bold;">&Auml;mne:</span></b> Re:
                [OpenSIPS-Users] Log problem<br>
              </font> </div>
            <br>
            <div id="yiv1285952580">
              <div>
                <div class="yiv1285952580moz-cite-prefix">Hi Muhammad,<br>
                  <br>
                  exactly&nbsp; that it did, that is the problem:)<br>
                  <br>
                  Could be wrong opensips version (1.8.2)?<br>
                  <br>
                  Here is my pastebin: <a class="moz-txt-link-freetext" href="http://pastebin.com/H8jXpkub">http://pastebin.com/H8jXpkub</a><br>
                  <br>
                  You can see that I did exactly what you said:)<br>
                  <br>
                  Thanks for help!<br>
                  <br>
                  BR,<br>
                  Miha<br>
                  <br>
                  On 11/19/2012 7:34 PM, Muhammad Shahzad wrote:<br>
                </div>
                <blockquote type="cite">Here is the sequence of actions,
                  which must be done in order,
                  <div><br>
                  </div>
                  <div>1. edit syslog.conf to define your custom log
                    file for opensips.</div>
                  <div>2. restart syslog service.</div>
                  <div>3. restart opensips.<br>
                    <div> <br>
                    </div>
                    <div>Thank you.</div>
                    <div><br>
                      <br>
                      <div class="yiv1285952580gmail_quote">On Mon, Nov
                        19, 2012 at 5:28 PM, Miha <span dir="ltr">&lt;<a
                            moz-do-not-send="true" rel="nofollow"
                            ymailto="mailto:miha@softnet.si"
                            target="_blank"
                            href="mailto:miha@softnet.si">miha@softnet.si</a>&gt;</span>
                        wrote:<br>
                        <blockquote class="yiv1285952580gmail_quote"
                          style="margin:0 0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex;"> Hi,<br>
                          <br>
                          I am using centos. I have restarted syslog
                          service<br>
                          (/etc/init.d/syslog restart) which created me
                          opensips.log.<br>
                          <br>
                          But still it is empty.<br>
                          <div>
                            <div class="yiv1285952580h5"><br>
                              On Mon, 19 Nov 2012 14:34:31 +0100<br>
                              &nbsp;Muhammad Shahzad &lt;<a
                                moz-do-not-send="true" rel="nofollow"
                                ymailto="mailto:shaheryarkh@googlemail.com"
                                target="_blank"
                                href="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</a>&gt;

                              wrote:<br>
                              &gt; you need restart syslog service.
                              Under debian you can do<br>
                              &gt; this by,<br>
                              &gt;<br>
                              &gt; service rsyslog restart<br>
                              &gt;<br>
                              &gt; This will create log file as well.<br>
                              &gt;<br>
                              &gt; Thank you.<br>
                              &gt;<br>
                              &gt;<br>
                              &gt; On Mon, Nov 19, 2012 at 1:44 PM, Miha
                              &lt;<a moz-do-not-send="true"
                                rel="nofollow"
                                ymailto="mailto:miha@softnet.si"
                                target="_blank"
                                href="mailto:miha@softnet.si">miha@softnet.si</a>&gt;<br>
                              &gt; wrote:<br>
                              &gt;<br>
                              &gt; &gt; &nbsp;HI,<br>
                              &gt; &gt;<br>
                              &gt; &gt; here is my pastebin when I do
                              opensips start:<br>
                              &gt; &gt; <a class="moz-txt-link-freetext" href="http://pastebin.com/Z9hxrHB2">http://pastebin.com/Z9hxrHB2</a><br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt; debug=6<br>
                              &gt; &gt; log_stderror=yes<br>
                              &gt; &gt; log_facility=LOG_LOCAL0<br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt; syslog.conf<br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt; #opensips<br>
                              &gt; &gt; local0.*<br>
                              &gt; &gt; /var/log/opensips.log<br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt; Still no luck:(<br>
                              &gt; &gt;<br>
                              &gt; &gt; I tried to cat massages,
                              opensips.log but there is no<br>
                              &gt; opensips log.<br>
                              &gt; &gt;<br>
                              &gt; &gt; Br,<br>
                              &gt; &gt; Miha<br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt; On 11/19/2012 12:35 PM, Sa&uacute;l
                              Ibarra Corretg&eacute; wrote:<br>
                              &gt; &gt;<br>
                              &gt; &gt; On Nov 19, 2012, at 12:26 PM,
                              Miha wrote:<br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt; &nbsp;Hi,<br>
                              &gt; &gt;<br>
                              &gt; &gt; my opensips.cfg:<br>
                              &gt; &gt; debug=6<br>
                              &gt; &gt; log_stderror=yes<br>
                              &gt; &gt; log_facility=LOG_LOCAL0<br>
                              &gt; &gt;<br>
                              &gt; &gt; syslog.conf<br>
                              &gt; &gt;<br>
                              &gt; &gt; #opensips<br>
                              &gt; &gt; local0.* -/var/log/opensips.log<br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt; Where could be a poroblem that
                              opensips does not log?<br>
                              &gt; &gt; Opensips.log is empty.<br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt; &nbsp;Remove that '-' from the
                              syslog.conf line, that<br>
                              &gt; prevents the matching entries from
                              going there. It should<br>
                              &gt; look like this:<br>
                              &gt; &gt;<br>
                              &gt; &gt; #opensips<br>
                              &gt; &gt; local0.* /var/log/opensips.log<br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt; Regards,<br>
                              &gt; &gt;<br>
                              &gt; &gt; PS: This applies to rsyslog.<br>
                              &gt; &gt;<br>
                              &gt; &gt; --<br>
                              &gt; &gt; Sa&uacute;l Ibarra Corretg&eacute;<br>
                              &gt; &gt; AG Projects<br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt;
                              _______________________________________________<br>
                              &gt; &gt; Users mailing<br>
                              &gt;<br>
                            </div>
                          </div>
                          <a moz-do-not-send="true" rel="nofollow"
                            class="yiv1285952580moz-txt-link-abbreviated"
ymailto="mailto:listUsers@lists.opensips.orghttp://" target="_blank"
                            href="mailto:listUsers@lists.opensips.orghttp://">listUsers@lists.opensips.orghttp://</a><a
                            moz-do-not-send="true" rel="nofollow"
                            target="_blank"
                            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
                          <div class="yiv1285952580HOEnZb">
                            <div class="yiv1285952580h5">&gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt; &gt;
                              _______________________________________________<br>
                              &gt; &gt; Users mailing list<br>
                              &gt; &gt; <a moz-do-not-send="true"
                                rel="nofollow"
                                ymailto="mailto:Users@lists.opensips.org"
                                target="_blank"
                                href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
                              &gt; &gt;<br>
                              &gt;
                              <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><br>
                              &gt; &gt;<br>
                              &gt; &gt;<br>
                              &gt;<br>
                              &gt;<br>
                              &gt; --<br>
                              &gt; Muhammad Shahzad<br>
                              &gt; -----------------------------------<br>
                              &gt; CISCO Rich Media Communication
                              Specialist (CRMCS)<br>
                              &gt; CISCO Certified Network Associate
                              (CCNA)<br>
                              &gt; Cell: <a moz-do-not-send="true"
                                href="" rel="nofollow">+49 176 99 83 10
                                85</a><br>
                              &gt; MSN: <a moz-do-not-send="true"
                                rel="nofollow"
                                ymailto="mailto:shari_786pk@hotmail.com"
                                target="_blank"
                                href="mailto:shari_786pk@hotmail.com">shari_786pk@hotmail.com</a><br>
                              &gt; Email: <a moz-do-not-send="true"
                                rel="nofollow"
                                ymailto="mailto:shaheryarkh@googlemail.com"
                                target="_blank"
                                href="mailto:shaheryarkh@googlemail.com">shaheryarkh@googlemail.com</a><br>
                            </div>
                          </div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </div>
                </blockquote>
                <br>
              </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>
      <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>
    <br>
  </body>
</html>