<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Can you run with higher debug level (e.g., add -ddd), then
      reproduce and send here all DEBUG and the rest of log messages
      printed by the same PID showing this error?<br>
    </p>
    The main attendant doesn't handle sip traffic in fork=yes, but -DD
    is telling not to daemonize the main attendant, so I need to see
    what that process does before throwing the error messages.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 03.05.18 13:45, Enrico Bandiera
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAGqwm+dMWZcv5a-fAXt9LwKfATnTrf7Q7Q-w_m6pcnL96dDB7Q@mail.gmail.com">
      <div dir="ltr">kamailio -f $PATH_KAMAILIO_CFG -DD -E -e<br>
        <div><br>
        </div>
        <div>Thanks,</div>
        <div>Enrico.</div>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">2018-05-03 12:52 GMT+02:00
          Daniel-Constantin Mierla <span dir="ltr"><<a
              href="mailto:miconda@gmail.com" target="_blank"
              moz-do-not-send="true">miconda@gmail.com</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF">
              <p>Hello,</p>
              <p>how do you start kamailio, or better, said what are the
                command line parameters? <br>
              </p>
              Cheers,<br>
              Daniel
              <div>
                <div class="h5"><br>
                  <br>
                  <div class="m_4814824759837471889moz-cite-prefix">On
                    03.05.18 12:26, Enrico Bandiera wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Hi Daniel, is kamcmd ps ok for this?
                      <div><br>
                      </div>
                      <div>
                        <div> 0(116) ERROR: topos [tps_storage.c:480]:
                          tps_db_insert_dialog(): No database handle -
                          misconfiguration?</div>
                        <div> 0(116) ERROR: topos [tps_storage.c:412]:
                          tps_storage_record(): failed to store</div>
                      </div>
                      <div><br>
                      </div>
                      <div>
                        <div>root@proxy-bbd996f48-mjzr4:/# kamcmd ps</div>
                        <div>116<span style="white-space:pre-wrap">       </span>main
                          process - attendant</div>
                      </div>
                      <div><br>
                      </div>
                      <div>Thanks,</div>
                      <div>Enrico.</div>
                      <div><br>
                      </div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">2018-05-03 11:48
                        GMT+02:00 Daniel-Constantin Mierla <span
                          dir="ltr"><<a
                            href="mailto:miconda@gmail.com"
                            target="_blank" moz-do-not-send="true">miconda@gmail.com</a>></span>:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">
                          <div text="#000000" bgcolor="#FFFFFF">
                            <p>Hello,</p>
                            <p>can you get the output for</p>
                            <p>kamctl ps</p>
                            <p>and see the description for process with
                              pid 94?</p>
                            <p>I assume you run it in docker, given low
                              pid value shown in the log message...</p>
                            <p>Cheers,<br>
                              Daniel<br>
                            </p>
                            <div>
                              <div class="m_4814824759837471889h5"> <br>
                                <div
                                  class="m_4814824759837471889m_-8690760760794185594moz-cite-prefix">On
                                  03.05.18 10:42, Enrico Bandiera wrote:<br>
                                </div>
                              </div>
                            </div>
                            <blockquote type="cite">
                              <div>
                                <div class="m_4814824759837471889h5">
                                  <div dir="ltr">Hi, I'm trying to use
                                    the TOPOS module to solve some MTU
                                    issues we have (we have multiple
                                    kamailio servers in our architecture
                                    and route/via headers are becoming a
                                    problem)
                                    <div><br>
                                    </div>
                                    <div>The module seems to work but
                                      I'm getting these errors on the
                                      log:</div>
                                    <div><br>
                                    </div>
                                    <div>
                                      <div> 0(94) ERROR: topos
                                        [tps_storage.c:480]:
                                        tps_db_insert_dialog(): No
                                        database handle -
                                        misconfiguration?</div>
                                      <div> 0(94) ERROR: topos
                                        [tps_storage.c:412]:
                                        tps_storage_record(): failed to
                                        store</div>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div>I get these errors for some
                                      time after running kamailio and
                                      then they stop appearing.</div>
                                    <div><br>
                                    </div>
                                    <div>Data is inserted on topos_d and
                                      topos_t on the db, so I'm not sure
                                      what the error is referring to.</div>
                                    <div><br>
                                    </div>
                                    <div>Any idea?</div>
                                    <div><br>
                                    </div>
                                    <div>Thanks,</div>
                                    <div>Enrico.</div>
                                  </div>
                                  <br>
                                  <fieldset
                                    class="m_4814824759837471889m_-8690760760794185594mimeAttachmentHeader"></fieldset>
                                  <br>
                                </div>
                              </div>
                              <pre>______________________________<wbr>_________________
Kamailio (SER) - Users Mailing List
<a class="m_4814824759837471889m_-8690760760794185594moz-txt-link-abbreviated" href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a class="m_4814824759837471889m_-8690760760794185594moz-txt-link-freetext" href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><span class="m_4814824759837471889HOEnZb"><font color="#888888">
</font></span></pre>
                              <span class="m_4814824759837471889HOEnZb"><font
                                  color="#888888"> </font></span></blockquote>
                            <span class="m_4814824759837471889HOEnZb"><font
                                color="#888888"> <br>
                                <pre class="m_4814824759837471889m_-8690760760794185594moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_4814824759837471889m_-8690760760794185594moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_4814824759837471889m_-8690760760794185594moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_4814824759837471889m_-8690760760794185594moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></pre>
                              </font></span></div>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                  <pre class="m_4814824759837471889moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="m_4814824759837471889moz-txt-link-abbreviated" href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a class="m_4814824759837471889moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 14-16, 2018 - <a class="m_4814824759837471889moz-txt-link-abbreviated" href="http://www.kamailioworld.com" target="_blank" moz-do-not-send="true">www.kamailioworld.com</a></pre>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 14-16, 2018 - <a class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
  </body>
</html>