Discussion:
[SR-Users] kamctl not creates /tmp/kamailio_fifo file
Yuriy Gorlichenko
2014-08-11 21:16:47 UTC
Permalink
Hello I try to use kamctl dispatcher reload cmd but in gives me an error
kamctl dispatcher reload
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.

when i try to user kamcmd dispather.reload it gives me:

ERROR: connect_unix_sock: connect(/tmp/kamailio_ctl): No such file or
directory

At kamailio.cfg I defined modparams for ctl.so and enables ctl.so module too

modparam("ctl", "mode", 0600)
modparam("ctl", "user", "root")
modparam("ctl", "fifo", "fifo:/tmp/kamailio_fifo")
modparam("ctl", "fifo", "/tmp/kamailio_fifo2")
modparam("ctl", "fifo", "udp:*:2050") # fifo protocol over udp
modparam("ctl", "fifo", "tcp:*:2050") # fifo over tcp


At the kamctlrc I defined
FIFOPATH="/tmp/kamailio_fifo"

So I can not understand what is wrong with my FIFO file?
Narsay, Deep
2014-08-11 21:29:43 UTC
Permalink
As the error says, make sure you have

*modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")* in your
kamailio.cfg?

If yes, check if the FIFO is really present in /tmp. ( file
/tmp/kamailio_fifo ).

I believe adding FIFOPATH="/tmp/kamailio_fifo" to kamctlrc is optional,
since it is the default path.

- Deep N
Post by Yuriy Gorlichenko
Hello I try to use kamctl dispatcher reload cmd but in gives me an error
kamctl dispatcher reload
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.
ERROR: connect_unix_sock: connect(/tmp/kamailio_ctl): No such file or
directory
At kamailio.cfg I defined modparams for ctl.so and enables ctl.so module too
modparam("ctl", "mode", 0600)
modparam("ctl", "user", "root")
modparam("ctl", "fifo", "fifo:/tmp/kamailio_fifo")
modparam("ctl", "fifo", "/tmp/kamailio_fifo2")
modparam("ctl", "fifo", "udp:*:2050") # fifo protocol over udp
modparam("ctl", "fifo", "tcp:*:2050") # fifo over tcp
At the kamctlrc I defined
FIFOPATH="/tmp/kamailio_fifo"
So I can not understand what is wrong with my FIFO file?
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Yuriy Gorlichenko
2014-08-11 21:46:22 UTC
Permalink
*modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")* in your
kamailio.cfg -It exisits

But /tmp/kamailo_fifo not found

I created it by myself (for test) through mkfifo
Then kamctl dispatcher reload started but not exit from itself (not
reliease at input string at server)
Post by Narsay, Deep
As the error says, make sure you have
*modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")* in your
kamailio.cfg?
If yes, check if the FIFO is really present in /tmp. ( file
/tmp/kamailio_fifo ).
I believe adding FIFOPATH="/tmp/kamailio_fifo" to kamctlrc is optional,
since it is the default path.
- Deep N
Post by Yuriy Gorlichenko
Hello I try to use kamctl dispatcher reload cmd but in gives me an error
kamctl dispatcher reload
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.
ERROR: connect_unix_sock: connect(/tmp/kamailio_ctl): No such file or
directory
At kamailio.cfg I defined modparams for ctl.so and enables ctl.so module too
modparam("ctl", "mode", 0600)
modparam("ctl", "user", "root")
modparam("ctl", "fifo", "fifo:/tmp/kamailio_fifo")
modparam("ctl", "fifo", "/tmp/kamailio_fifo2")
modparam("ctl", "fifo", "udp:*:2050") # fifo protocol over udp
modparam("ctl", "fifo", "tcp:*:2050") # fifo over tcp
At the kamctlrc I defined
FIFOPATH="/tmp/kamailio_fifo"
So I can not understand what is wrong with my FIFO file?
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Daniel-Constantin Mierla
2014-08-12 09:18:43 UTC
Permalink
Was Kamailio running at that time? Any error message in syslog file?

Cheers,
Daniel
/modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")/in your
kamailio.cfg -It exisits
But /tmp/kamailo_fifo not found
I created it by myself (for test) through mkfifo
Then kamctl dispatcher reload started but not exit from itself (not
reliease at input string at server)
As the error says, make sure you have
/
/
/modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")/ in your
kamailio.cfg?
If yes, check if the FIFO is really present in /tmp. ( file
/tmp/kamailio_fifo ).
I believe adding FIFOPATH="/tmp/kamailio_fifo" to kamctlrc is
optional, since it is the default path.
- Deep N
On Mon, Aug 11, 2014 at 5:16 PM, Yuriy Gorlichenko
Hello I try to use kamctl dispatcher reload cmd but in gives me an error
kamctl dispatcher reload
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.
ERROR: connect_unix_sock: connect(/tmp/kamailio_ctl): No such
file or directory
At kamailio.cfg I defined modparams for ctl.so and enables
ctl.so module too
modparam("ctl", "mode", 0600)
modparam("ctl", "user", "root")
modparam("ctl", "fifo", "fifo:/tmp/kamailio_fifo")
modparam("ctl", "fifo", "/tmp/kamailio_fifo2")
modparam("ctl", "fifo", "udp:*:2050") # fifo protocol
over udp
modparam("ctl", "fifo", "tcp:*:2050") # fifo over tcp
At the kamctlrc I defined
FIFOPATH="/tmp/kamailio_fifo"
So I can not understand what is wrong with my FIFO file?
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA
Yuriy Gorlichenko
2014-08-12 09:21:40 UTC
Permalink
Kamailio running perfectly. No error messages. Errors only with kamctl
(kamcmd)
Post by Daniel-Constantin Mierla
Was Kamailio running at that time? Any error message in syslog file?
Cheers,
Daniel
*modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")* in your
kamailio.cfg -It exisits
But /tmp/kamailo_fifo not found
I created it by myself (for test) through mkfifo
Then kamctl dispatcher reload started but not exit from itself (not
reliease at input string at server)
Post by Narsay, Deep
As the error says, make sure you have
*modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")* in your
kamailio.cfg?
If yes, check if the FIFO is really present in /tmp. ( file
/tmp/kamailio_fifo ).
I believe adding FIFOPATH="/tmp/kamailio_fifo" to kamctlrc is optional,
since it is the default path.
- Deep N
Post by Yuriy Gorlichenko
Hello I try to use kamctl dispatcher reload cmd but in gives me an error
kamctl dispatcher reload
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.
ERROR: connect_unix_sock: connect(/tmp/kamailio_ctl): No such file or
directory
At kamailio.cfg I defined modparams for ctl.so and enables ctl.so module too
modparam("ctl", "mode", 0600)
modparam("ctl", "user", "root")
modparam("ctl", "fifo", "fifo:/tmp/kamailio_fifo")
modparam("ctl", "fifo", "/tmp/kamailio_fifo2")
modparam("ctl", "fifo", "udp:*:2050") # fifo protocol over udp
modparam("ctl", "fifo", "tcp:*:2050") # fifo over tcp
At the kamctlrc I defined
FIFOPATH="/tmp/kamailio_fifo"
So I can not understand what is wrong with my FIFO file?
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
--
Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
Daniel-Constantin Mierla
2014-08-12 14:27:15 UTC
Permalink
Can you run with debug=3 in kamailio.cfg and look in syslog for the
messages printed by mi_fifo module? Are there any? If yes, send them to
mailing list.

Daniel
Post by Yuriy Gorlichenko
Kamailio running perfectly. No error messages. Errors only with kamctl
(kamcmd)
Was Kamailio running at that time? Any error message in syslog file?
Cheers,
Daniel
/modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")/in your
kamailio.cfg -It exisits
But /tmp/kamailo_fifo not found
I created it by myself (for test) through mkfifo
Then kamctl dispatcher reload started but not exit from itself
(not reliease at input string at server)
As the error says, make sure you have
/
/
/modparam("mi_fifo", "fifo_name", "/tmp/kamailio_fifo")/ in
your kamailio.cfg?
If yes, check if the FIFO is really present in /tmp. ( file
/tmp/kamailio_fifo ).
I believe adding FIFOPATH="/tmp/kamailio_fifo" to kamctlrc is
optional, since it is the default path.
- Deep N
On Mon, Aug 11, 2014 at 5:16 PM, Yuriy Gorlichenko
Hello I try to use kamctl dispatcher reload cmd but in
gives me an error
kamctl dispatcher reload
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.
ERROR: connect_unix_sock: connect(/tmp/kamailio_ctl): No
such file or directory
At kamailio.cfg I defined modparams for ctl.so and
enables ctl.so module too
modparam("ctl", "mode", 0600)
modparam("ctl", "user", "root")
modparam("ctl", "fifo", "fifo:/tmp/kamailio_fifo")
modparam("ctl", "fifo", "/tmp/kamailio_fifo2")
modparam("ctl", "fifo", "udp:*:2050") # fifo
protocol over udp
modparam("ctl", "fifo", "tcp:*:2050") # fifo
over tcp
At the kamctlrc I defined
FIFOPATH="/tmp/kamailio_fifo"
So I can not understand what is wrong with my FIFO file?
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) -
sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> -http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 -http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 - http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA
Loading...