Error Opening Openser Fifo
Contents |
[ date ] [ thread ] [ subject ] [ author ] > This should be a UNIX style path e.g. /tmp/kamailio.fifo The directory opensips fifo where the fifo is must be writable by the kamailio user. opensips fifo commands I thought the line modparam("mi_fifo", "fifo_mode",0666) set the permissions on the folder/file. Also, I tried changing the error opening kamailio's fifo /tmp/kamailio_fifo path to /tmp/kamailio.fifo that did not work either Please change as below: > kamctlrc > ## path to FIFO file > OSER_FIFO="/tmp/kamailio_fifo" kamailio.cfg > # ----- mi_fifo params
Kamailio Installation And Configuration
----- >modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo") I have also tried this. Here is what I am getting. ERROR: Error opening Kamailio's FIFO /tmp/kamailio_fifo ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")' in your config ERROR: and also have loaded the mi_fifo module. Interesting side note: After the initial installation and reboot, Kamailio came up and kamailio configuration file was running and kamctl moni displayed the correct results. However after running "service kamailio restart" I began getting the error again and have not been able to clear it. -----Original Message----- From: sr-users-bounces at lists.sip-router.org [mailto:sr-users-bounces at lists.sip-router.org] On Behalf Of sr-users-request at lists.sip-router.org Sent: Monday, December 06, 2010 3:37 AM To: sr-users at lists.sip-router.org Subject: sr-users Digest, Vol 67, Issue 17 Send sr-users mailing list submissions to sr-users at lists.sip-router.org To subscribe or unsubscribe via the World Wide Web, visit http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users or, via email, send a message with subject or body 'help' to sr-users-request at lists.sip-router.org You can reach the person managing the list at sr-users-owner at lists.sip-router.org When replying, please edit your Subject line so it is more specific than "Re: Contents of sr-users digest..." Today's Topics: 1. Re: lcr in 3.1 - no reload without Siremis? (Anders) 2. Error opening Kamailio's FIFO (Kurt Mullen) 3. Re: lcr in 3.1 - no reload without Siremis? (Juha Heinanen) 4. Re: Error opening Kamailio's FIF
phx ! gbl [Download message RAW] [Attachment #2 (multipart/alternative)] Hi, Please change as below: kamctlrc ## path to FIFO file OSER_FIFO="/tmp/kamailio_fifo" kamailio tutorial kamailio.cfg # ----- mi_fifo params ----- modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo") Regards, Huy Nguyen www.htk-inc.com Date: Mon, 6 Dec 2010 11:28:08 +0200 From: marius.zbihlei@1and1.ro To: sr-users@lists.sip-router.org Subject: Re: [SR-Users] Error opening Kamailio's FIFO On 12/06/2010 01:40 AM, Kurt Mullen wrote: Hello, I am getting this error when I try to run kamctl: ERROR: Error opening Kamailio's http://lists.sip-router.org/pipermail/sr-users/2010-December/066694.html FIFO FIFO ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name", "FIFO")' in your config ERROR: and also have loaded the mi_fifo module. I am able to start Kamailio with Kamailio start I have poured over all the responses on Google for two days trying to fix this error. I have tried everything I know http://marc.info/?l=sr-users&m=129162823326354 of. I have tried each example. kamctlrc DB Path is correct: # database path used by dbtext or db_berkeley DB_PATH="/usr/share/kamailio/dbtext" ## control engine: FIFO or UNIXSOCK ## - default FIFO CTLENGINE="FIFO" ## path to FIFO file OSER_FIFO="FIFO" (I have already tried commenting this out) This should be a UNIX style path e.g. /tmp/kamailio.fifo The directory where the fifo is must be writable by the kamailio user. Marius kamailio.cfg loadmodule "mi_fifo.so" Path to modules is correct: mpath="modules_k:modules" #!else mpath="/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/" #!endif # ----- mi_fifo params ----- modparam("mi_fifo", "fifo_name", "/tmp/kamailio.fifo") modparam("mi_fifo", "fifo_mode",0666) This is installed on Ubuntu Server 10.10 64 bit Intel . Can someone please help? Kurt A. Mullen Practical PC, LLC (O) 830.542.4102 x204 (F) 210.767.3912 _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users [Attachment #5 (text/html)]
Hi,
Please change as \ below:
kamctlrc
## path to FIFO \ file
OSER_F
(6) IP Telephony (9)Codecs (0) VoIP (4) IPTV (0) IPv6 (5) Instant messaging (4) Linux - HOWTO (45) Monitoring, Management, Measurement (12)NetFlow (1) SNMP (2) Tools (5) http://nil.uniza.sk/sip/kamailio/kamctl-moni-fifo-error-problem sFlow (1) NGN/IMS (32) NetAcad (28) Network security (13) Network simulation and https://github.com/sipcapture/homer/issues/179 modelling (18) Packet captures (11) Portal (1) Practical - Cisco (29) SIP (160) TCP/IP networks (3) Theses (3) Traffic generators (3) Virtualization (19) WebCMS (9) Windows (11)Windows 10 (3) Windows 2003 server (1) Windows 7 (4) Wireless (6) User login - Faculty users only! Username: * Password: * Navigation error opening Groups Web File Manager Feed aggregator Home Kamctl moni - FIFO error problem Submitted by palo73 on Thu, 11/18/2010 - 14:10 Kamailio Kamailio server provides the command line utility, usable for controlling server operations. One of such usage of the kamctl utility is monitoring the Kamailio server status. But in default Kamailio server configuration, the kamctl is returning following message indicatiing problem error opening openser with FIFO used for kamctl communication with kamailio server pstest:/home/palo# kamctl moni database engine 'MYSQL' loaded Control engine 'FIFO' loaded ERROR: Error opening Kamailio's FIFO FIFO ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name", "FIFO")' in your config ERROR: and also have loaded the mi_fifo module. The solutions is: Check if the mi_fifo.so module is loaded, default is yes. loadmodule "mi_fifo.so" Check if the mi_fifo module is configrued with correct parameters, default is modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo") Check the /etc/kamailio/kamctlrc fileif there is correctly setted up the OSER_FIFO line. It should point to the /tmp/kamailio_fifo file OSER_FIFO="/tmp/kamailio_fifo" Now should kamctl moni work pstest:/home/palo# kamctl moni [cycle #: 1; if constant make sure server lives] Server:: kamailio (3.1.0 (x86_64/linux)) Build:: mi_core.c compiled on 21:14:27 Oct 6 2010 with gcc 4.3.2 Flags:: STATS: Off, USE_IPV6, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES GIT:: Now:: Thu Nov 18 14:37:15 2010 Up since:: Thu Nov 18 14:31:31 2010 Up time:: 344 [sec] Transaction Statistics: tmx:UAS_transactions = 140733193388032 tmx:UAC_transactions = 140733193388032 tmx:inuse_transactions = 140733193388032 Stateless Serve
Sign in Pricing Blog Support Search GitHub This repository Watch 54 Star 140 Fork 51 sipcapture/homer Code Issues 11 Pull requests 0 Projects 0 Wiki Pulse Graphs New issue Error opening Kamailio's FIFO #179 Closed fagnersilva opened this Issue Jul 11, 2016 · 3 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants fagnersilva commented Jul 11, 2016 • edited I'm running the kamailio version 4.4 along with Homer 5, is generating the error below [root@sipserver ~]# kamctl ul show ERROR: Error opening Kamailio's FIFO /tmp/kamailio_fifo ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")' in your config ERROR: and also have loaded the mi_fifo module. configuration example kamailio.cfg [root@sipserver ~]# vim /etc/kamailio/kamailio.cfg ####### Routing Logic ######## modparam("sipcapture", "db_url", "mysql://HOMER_DB_USER:HOMER_DB_PASSWORD@127.0.0.1/homer_data") modparam("sipcapture", "capture_on", 1) modparam("sipcapture", "hep_capture_on", 1) modparam("sipcapture", "insert_retries", 5) modparam("sipcapture", "insert_retry_timeout", 10) #modparam("sipcapture", "capture_node", "homer01") modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo") configuration example kamctlrc [root@sipserver ~]# vim /etc/kamailio/kamctlrc ####### path to FIFO file ####### FIFOPATH="/var/run/kamailio/kamailio_fifo" FIFOPATH="/tmp/kamailio_fifo" ####### OSER_FIFO="/tmp/kamailio_fifo" SIPCAPTURE member lmangani commented Jul 11, 2016 • edited Hi @fagnersilva Homer's Kamailio is not meant to handle user registrations/calls or any role other than capture server. Consequently general purpose commands will not work (or make sense) I hope this helps! lmangani closed this Jul 11, 2016 fagnersilva commented Jul 11, 2016 @lmangani which option best to implement HOMER , maintain application in each separate server? SIPCAPTURE member lmangani commented Jul 13, 2016 Hi @fagnersilva Homer/Kamailio should be on a dedicated server, the agents can co-exist with the application they monitor or leverage HEP integrations where available. Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Terms Privacy Security Status Help You can't perform that action at this time. You signed in with another tab or window. Reload to refresh your sessio