<div><div dir="auto">You need to have libmaxminddb library installed. </div><div dir="auto"><br></div><div dir="auto">What OS are you using? </div><div dir="auto"><br></div><div dir="auto">If deb based:</div><div dir="auto"><br></div><div dir="auto">$ dpkg -l | grep maxmind</div><div dir="auto"><br></div><div dir="auto">If rpm based:</div><div dir="auto"><br></div><div dir="auto">$ rpm -qa | grep maxmind</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Cheers,</div><div dir="auto">Joel. </div><br><div class="gmail_quote"><div>On Thu, Dec 14, 2017 at 12:24 Daniel W. Graham <<a href="mailto:dan@cmsinter.net">dan@cmsinter.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="m_-3968551537327671883WordSection1">
<p class="MsoNormal">Upgraded two installs to 5.1.<u></u><u></u></p>
<ul style="margin-top:0in" type="disc">
<li class="m_-3968551537327671883MsoListParagraph" style="margin-left:0in">Same cfg file from 5.0<u></u><u></u></li><li class="m_-3968551537327671883MsoListParagraph" style="margin-left:0in">No issues with install 1<u></u><u></u></li></ul>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Install 2 results in:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">ERROR: <core> [core/modparam.c:152]: set_mod_param_regex(): No module matching <geoip2> found<u></u></p>
<p class="MsoNormal">CRITICAL: <core> [core/cfg.y:3450]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 343, column 71: Can't set module parameter<u></u><u></u></p>
<p class="MsoNormal">ERROR: <core> [core/sr_module.c:582]: load_module(): could not open module </usr/local/lib64/kamailio/modules/geoip2.so>: libmaxminddb.so.0: cannot open shared object file: No such file or directory<u></u><u></u></p>
<p class="MsoNormal">CRITICAL: <core> [core/cfg.y:3447]: yyerror_at(): parse error in config file /usr/local/etc/kamailio/kamailio.cfg, line 122, column 12-22: failed to load module<u></u><u></u></p>
<p class="MsoNormal">WARNING: <core> [core/ppcfg.c:221]: pp_ifdef_level_check(): different number of preprocessor directives: N(#!IF[N]DEF) - N(#!ENDIF) = 1<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">ls -l /usr/local/lib64/kamailio/modules/ | grep geo<u></u><u></u></p>
<p class="MsoNormal">-rwxr-xr-x 1 root root 73800 Dec 14 12:44 geoip2.so<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">If I copy cfg file from install 2 to install 1, no issues with install 1.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any idea what could be going wrong?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">- dan<span style="font-size:10.0pt"><u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div>