Git Product home page Git Product logo

Comments (7)

kismetgerald avatar kismetgerald commented on May 22, 2024
Providing additional feedback as promised.....

So the build was successful, and I was able to install all the .deb packages. Unfortunately, Kamailio won't start after issuing "service kamailio start". Below is the message posted syslog.

I did notice, however, that the path for the modules listed in the syslog doesn't exist - looks like the package install didn't create this directory.

I'm willing and available to share any config files you need to see, thanks.

Nov 14 13:25:25 freeswitch2 kamailio[682]: Stopping Kamailio SIP Server: kamailio:.
Nov 14 13:25:25 freeswitch2 kamailio[692]: Not starting Kamailio SIP Server: invalid configuration file! ... failed!
Nov 14 13:25:25 freeswitch2 kamailio[692]: failed!
Nov 14 13:25:25 freeswitch2 kamailio[692]: 0(703) ERROR: <core> [sr_module.c:565]: load_module(): could not find module <pv> in </usr/lib64/kamailio/modules> 0(703) : <core> [cfg.y:3432]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 39, column 12-18: failed to load module 0(703) ERROR: <core> [sr_module.c:565]: load_module(): could not find module <db_mysql> in </usr/lib64/kamailio/modules> 0(703) : <core> [cfg.y:3432]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 40, column 12-24: failed to load module 0(703) ERROR: <core> [sr_module.c:565]: load_module(): could not find module <sipcapture> in </usr/lib64/kamailio/modules> 0(703) : <core> [cfg.y:3432]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 41, column 12-26: failed to load module 0(703) ERROR: <core> [sr_module.c:565]: load_module(): could not find module <textops> in </usr/lib64/kamailio/modules> 0(703) : <core> [cfg.y:3432]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 42, column 12-23: failed to load module 0(703) ERROR: <core> [sr_module.c:565]: load_module(): could not find module <rtimer> in </usr/lib64/kamailio/modules> 0(703) : <core> [cfg.y:3432]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 43, column 12-22: failed to load module 0(703) ERROR: <core> [sr_module.c:565]: load_module(): could not find module <xlog> in </usr/lib64/kamailio/modules> 0(703) : <core> [cfg.y:3432]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 44, column 12-20: failed to load module 0(703) ERROR: <core> [sr_module.c:565]: load_module(): could not find module <sqlops> in </usr/lib64/kamailio/modules> 0(703) : <core> [cfg.y:3432]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 45, column 12-22: failed to load module 0(703) ERROR: <core> [sr_module.c:565]: load_module(): could not find module <htable> in </usr/lib64/kamailio/modules> 0(703) : <core> [cfg.y:3432]: yyerror_at(): parse error in config file /etc/kamailio/ka
Nov 14 13:25:25 freeswitch2 kamailio[692]: mailio.cfg, line 46, column 12-22: failed to load module 0(703) ERROR: <core> [sr_module.c:565]: load_module(): could not find module <tm> in </usr/lib64/kamailio/modules> 0(703) : <core> [cfg.y:3432]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 47, column 12-18: failed to load module 0(703) ERROR: <core> [sr_module.c:565]: load_module(): could not find module <sl> in </usr/lib64/kamailio/modules> 0(703) : <core> [cfg.y:3432]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 48, column 12-18: failed to load module 0(703) ERROR: <core> [sr_module.c:565]: load_module(): could not find module <siputils> in </usr/lib64/kamailio/modules> 0(703) : <core> [cfg.y:3432]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 49, column 12-24: failed to load module 0(703) ERROR: <core> [sr_module.c:565]: load_module(): could not find module <exec> in </usr/lib64/kamailio/modules> 0(703) : <core> [cfg.y:3432]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 50, column 12-20: failed to load module 0(703) ERROR: <core> [modparam.c:150]: set_mod_param_regex(): No module matching <htable> found 0(703) : <core> [cfg.y:3435]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 53, column 56: Can't set module parameter 0(703) ERROR: <core> [modparam.c:150]: set_mod_param_regex(): No module matching <htable> found 0(703) : <core> [cfg.y:3435]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 54, column 55: Can't set module parameter 0(703) ERROR: <core> [modparam.c:150]: set_mod_param_regex(): No module matching <htable> found 0(703) : <core> [cfg.y:3435]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 56, column 55: Can't set module parameter 0(703) ERROR: <core> [modparam.c:150]: set_mod_param_regex(): No module matching <rtimer> found 0(703) : <core> [cfg.y:3435]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 58, column 58: Can't
Nov 14 13:25:25 freeswitch2 kamailio[692]: set module parameter 0(703) ERROR: <core> [modparam.c:150]: set_mod_param_regex(): No module matching <rtimer> found 0(703) : <core> [cfg.y:3435]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 59, column 56: Can't set module parameter 0(703) ERROR: <core> [modparam.c:150]: set_mod_param_regex(): No module matching <sqlops> found 0(703) : <core> [cfg.y:3435]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 61, column 99: Can't set module parameter 0(703) ERROR: <core> [modparam.c:150]: set_mod_param_regex(): No module matching <sipcapture> found 0(703) : <core> [cfg.y:3435]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 66, column 96: Can't set module parameter 0(703) ERROR: <core> [modparam.c:150]: set_mod_param_regex(): No module matching <sipcapture> found 0(703) : <core> [cfg.y:3435]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 67, column 39: Can't set module parameter 0(703) ERROR: <core> [modparam.c:150]: set_mod_param_regex(): No module matching <sipcapture> found 0(703) : <core> [cfg.y:3435]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 68, column 43: Can't set module parameter 0(703) ERROR: <core> [modparam.c:150]: set_mod_param_regex(): No module matching <sipcapture> found 0(703) : <core> [cfg.y:3435]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 69, column 43: Can't set module parameter 0(703) ERROR: <core> [modparam.c:150]: set_mod_param_regex(): No module matching <sipcapture> found 0(703) : <core> [cfg.y:3435]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 70, column 50: Can't set module parameter 0(703) ERROR: <core> [pvapi.c:825]: pv_parse_spec2(): error searching pvar "sht" 0(703) ERROR: <core> [pvapi.c:1029]: pv_parse_spec2(): wrong char [a/97] in [$sht(a=>method::all)] at [5 (5)] 0(703) : <core> [cfg.y:3432]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 80, column 5-24: C
Nov 14 13:25:25 freeswitch2 rsyslogd-2007: action 'action 19' suspended, next retry is Sat Nov 14 13:25:55 2015 [try http://www.rsyslog.com/e/2007 ]
Nov 14 13:25:25 freeswitch2 kamailio[692]: an't get from cache: $sht(a=>method::all) ERROR: bad config file (24 errors) ... failed!
Nov 14 13:25:25 freeswitch2 systemd[1]: kamailio.service: control process exited, code=exited status=1
Nov 14 13:25:25 freeswitch2 systemd[1]: Failed to start LSB: Start the Kamailio SIP proxy server.
Nov 14 13:25:25 freeswitch2 systemd[1]: Unit kamailio.service entered failed state.
Nov 14 13:25:25 freeswitch2 kamailio[692]: failed!

from homer.

kismetgerald avatar kismetgerald commented on May 22, 2024

Update: Kamailio has started successfully after I recompiled and installed using the instructions in the "Kamailio" section of the "Manual Setup from Source (advanced)" section of your wiki.

So basically for me the DEB Build results in a broken install, whereas following the Manual setup was successful. But not before modifying the config file and binary locations in /etc/default/kamailio, and /etc/init.d/kamailio.

from homer.

lmangani avatar lmangani commented on May 22, 2024

Thanks for the feedback, its very valuable to us - we will fix the package builds and keep this open for tracking. @kvishnivetsky please check whenever possible

from homer.

kismetgerald avatar kismetgerald commented on May 22, 2024

@lmangani

Thanks, I'm glad to be of assistance. I'm aggressively learning Linux so anything you need me to do to test something for you, let me know. I'm not a coder so it's the best I can do to contribute. I will financially donate soon when I'm able to, but for now, all I can impart is my time and efforts. Thanks again.

PS. Still struggling to get CaptAgent to send packets to Homer. I've been successful in getting Homer and Kamailio installed on the receiving server. Now working on getting CaptAgent to work on the Freeswitch server so I can see the packets. I've verified no firewalls are in the way by using Xlite to send fake registrations to the Homer box. Using SNGREP, I saw the register packets come in on port 9060. Any assistance would be highly appreciated.

from homer.

lmangani avatar lmangani commented on May 22, 2024

Testing is more precious than any donation at this stage and having no experience is a plus to make sure our releases are usable without requirements - if you will be able to retest the packages as we fix them, that would be just great help and greatly welcome.

Drop a mail to [email protected] and I will help you out with the agent in parallel as that seems to be more of a system issue.

from homer.

lmangani avatar lmangani commented on May 22, 2024

Closing, reopen if needed or if you want/can perform more package testing

from homer.

dpocock avatar dpocock commented on May 22, 2024

the failure to load the modules could be occurring because mpath is not defined to the location where the Kamailio Debian packages install modules.

In the kamailio.cfg for Debian, they have

# set paths to location of modules (to sources or installation folders)
#!ifdef WITH_SRCPATH
mpath="modules/"
#!else
mpath="/usr/lib/x86_64-linux-gnu/kamailio/modules/"
#!endif

The exact location varies depending on the architecture, e.g. x86_64 in the above example.

from homer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.