<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p><tt>Hi Sasmita,</tt></p>
    <p><tt>Hmmm... indeed, the error is somewhat unhelpful to the script
        writer. The problem is that "statistics.so" is not loaded, hence
        "pvar $stat... is not defined". A similar thing happens with
        $json. I, myself, was a bit puzzled when I first hit this error.</tt></p>
    <p><tt>Best regards,</tt><br>
    </p>
    <pre class="moz-signature" cols="72">Liviu Chircu
OpenSIPS Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <div class="moz-cite-prefix">On 06.03.2018 13:02, Sasmita Panda
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CALf-Q47Jk0BOHiOQ8ip=P7mBjUUAXjv7T1BFgCY_Rg_6qHZqww@mail.gmail.com">
      <div dir="ltr">
        <div>version: opensips 1.11.2-notls (x86_64/linux)</div>
        <div>flags: STATS: On, USE_IPV6, USE_TCP, DISABLE_NAGLE,
          USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
          FAST_LOCK-ADAPTIVE_WAIT</div>
        <div>ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144,
          MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535</div>
        <div>poll method support: poll, epoll_lt, epoll_et, sigio_rt,
          select.</div>
        <div>svn revision: 2537:3262M</div>
        <div>main.c compiled on 13:20:22 Nov 15 2017 with gcc 4.8.3</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>This is what exactly I am using . </div>
        <div><br>
        </div>
      </div>
      <div class="gmail_extra"><br clear="all">
        <div>
          <div class="gmail_signature" data-smartmail="gmail_signature">
            <div dir="ltr"><b><i>Thanks & Regards</i></b>
              <div><i>Sasmita Panda</i></div>
              <div><i>Network Testing and Software Engineer</i></div>
              <div><i>3CLogic , ph:07827611765</i></div>
            </div>
          </div>
        </div>
        <br>
        <div class="gmail_quote">On Tue, Mar 6, 2018 at 4:27 PM, Sasmita
          Panda <span dir="ltr"><<a href="mailto:spanda@3clogic.com"
              target="_blank" moz-do-not-send="true">spanda@3clogic.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">Hi All ,
              <div><br>
              </div>
              <div>I am using opensips-1.11.2  .</div>
              <div><br>
              </div>
              <div>
                <pre class="m_5205183924981625462escaped" 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);font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;word-spacing:0px;text-decoration-style:initial;text-decoration-color:initial"><b>xlog("Real SHMEM used size is $stat(real_used_size) \n");</b></pre>
                <br>
              </div>
              <div>Trying to print logs through this but its not working
                . giving below error .</div>
              <div><b><br>
                </b></div>
              <div>
                <div><b> ERROR:core:pv_parse_spec: pvar
                    "stat"(inner_name) not found</b></div>
                <div><b> ERROR:core:pv_parse_spec: wrong char [$/36] in
                    [$stat($real_used_size) #012] at [6 (5)]</b></div>
                <div><b> ERROR:core:pv_parse_format: parsing PV spec
                    failed</b></div>
                <div><b> ERROR:core:fix_actions: wrong format [Real
                    SHMEM used size is $stat($real_used_size) #012] for
                    value param</b></div>
                <div><b> ERROR:core:fix_actions: fixing failed (code=-5)
                    at cfg line 78</b></div>
                <div><b> ERROR:core:main: failed to fix configuration
                    with err code -5</b></div>
                <div><b> <a class="moz-txt-link-freetext" href="INFO:core:cleanup">INFO:core:cleanup</a>: cleanup</b></div>
              </div>
              <div><br>
              </div>
              <div>Please help me how to do this . Thanks in advance .</div>
              <div><br>
              </div>
              <div><br>
              </div>
              <div><br clear="all">
                <div>
                  <div class="m_5205183924981625462gmail_signature">
                    <div dir="ltr"><b><i>Thanks & Regards</i></b><span
                        class="HOEnZb"><font color="#888888">
                          <div><i>Sasmita Panda</i></div>
                          <div><i>Network Testing and Software Engineer</i></div>
                          <div><i>3CLogic , ph:07827611765</i></div>
                        </font></span></div>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </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>