[SR-Users] ERROR: connect_unix_sock: connect(/var/run/kamailio//kamailio_ctl): No such file or directory [2]

Daniel-Constantin Mierla miconda at gmail.com
Tue Apr 6 09:28:00 CEST 2021


Was it something in kamailio files that needed to be changed or system
permissions?

Cheers,
Daniel

On 06.04.21 09:24, Fadi Hamdan wrote:
>
> Hi there,
>
> I have resolved this issue thank you.
>
>  
>
> Cheers,
>
>  
>
>  
>
> Hamdan, Fadi
>
> 24B Carrick Glen Avenue, Flat Bush, Auckland 2019
>
> New Zealand
>
> fadi.h at msn.com <mailto:%20fadi.h at msn.com>
>
> *M* +64 21 066 0088 
>
>  
>
> *From:*Daniel-Constantin Mierla <miconda at gmail.com>
> *Sent:* Tuesday, 6 April 2021 7:22 PM
> *To:* Fadi Hamdan <fadi.h at msn.com>; Kamailio (SER) - Users Mailing
> List <sr-users at lists.kamailio.org>
> *Subject:* Re: [SR-Users] ERROR: connect_unix_sock:
> connect(/var/run/kamailio//kamailio_ctl): No such file or directory [2]
>
>  
>
> Hello,
>
> have you used: systemctl start kamailio?
>
> Cheers,
> Daniel
>
> On 30.03.21 23:29, Fadi Hamdan wrote:
>
>     Thanks,
>
>     I have installed it on Cento 7. How I can run these command?
>
>      
>
>     Cheers,
>
>      
>
>      
>
>     Hamdan, Fadi
>
>     24B Carrick Glen Avenue, Flat Bush, Auckland 2019
>
>     New Zealand
>
>     fadi.h at msn.com <mailto:%20fadi.h at msn.com>
>
>     *M* +64 21 066 0088 
>
>      
>
>     *From:*Sergey Safarov <s.safarov at gmail.com>
>     <mailto:s.safarov at gmail.com>
>     *Sent:* Wednesday, 31 March 2021 10:00 AM
>     *To:* Daniel-Constantin Mierla <miconda at gmail.com>
>     <mailto:miconda at gmail.com>; Kamailio (SER) - Users Mailing List
>     <sr-users at lists.kamailio.org> <mailto:sr-users at lists.kamailio.org>
>     *Cc:* Fadi Hamdan <fadi.h at msn.com> <mailto:fadi.h at msn.com>
>     *Subject:* Re: [SR-Users] ERROR: connect_unix_sock:
>     connect(/var/run/kamailio//kamailio_ctl): No such file or
>     directory [2]
>
>      
>
>     For RPM dist this fixed at 468ec8f
>     <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fkamailio%2Fkamailio%2Fcommit%2F468ec8f26ff8496bdf62a7bfbbb1b1e2e3452c0f&data=04%7C01%7C%7C09e3437fbbf142463e6108d8f8cca6da%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637532905340896284%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=hDmc%2FBkfgx2x1oaaCB%2FibE%2Bo426EgItc4r72MGvWjq0%3D&reserved=0>
>     For any other dist that use systemd you can make similar change.
>
>      
>
>     On Tue, Mar 30, 2021 at 2:29 PM Daniel-Constantin Mierla
>     <miconda at gmail.com <mailto:miconda at gmail.com>> wrote:
>
>         Hello,
>
>         check if the file /var/run/kamailio/kamailio_ctl exists and
>         the user that runs kamailio has enough provileges to access
>         it. Or try to run kamailio as root to see if starts this way,
>         then ensure the right privileges are set for the user that
>         runs kamailio in the usual way.
>
>         Cheers,
>         Daniel
>
>         On 30.03.21 12:47, Fadi Hamdan wrote:
>
>             Hi there,
>
>             When I try to run: kazoo-kamailio status I’m getting this
>             error: ERROR: connect_unix_sock:
>             connect(/var/run/kamailio//kamailio_ctl): No such file or
>             directory [2]
>
>              
>
>             Any solution for this error?
>
>              
>
>             Cheers,
>
>              
>
>              
>
>              
>
>             Hamdan, Fadi
>
>             24B Carrick Glen Avenue, Flat Bush, Auckland 2019
>
>             New Zealand
>
>             fadi.h at msn.com <mailto:%20fadi.h at msn.com>
>
>             *M* +64 21 066 0088 
>
>              
>
>              
>
>             _______________________________________________
>
>             Kamailio (SER) - Users Mailing List
>
>             sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>
>             https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&data=04%7C01%7C%7C09e3437fbbf142463e6108d8f8cca6da%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637532905340906277%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=fX1jx7pBcgw2jVoFGni2B%2FZh1uLiiN7emQ9puSbBk70%3D&reserved=0>
>
>         -- 
>
>         Daniel-Constantin Mierla -- www.asipto.com <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.asipto.com%2F&data=04%7C01%7C%7C09e3437fbbf142463e6108d8f8cca6da%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637532905340916268%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=XcvaYPZCHh3tD8e9dlrnc82SseuufQojZ8uOw7A7bvY%3D&reserved=0>
>
>         www.twitter.com/miconda <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitter.com%2Fmiconda&data=04%7C01%7C%7C09e3437fbbf142463e6108d8f8cca6da%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637532905340916268%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=HRdljaDmJe1dVQV8U2a%2BgVRuAYRVrLEMO8LGJd9aORY%3D&reserved=0> -- www.linkedin.com/in/miconda <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fmiconda&data=04%7C01%7C%7C09e3437fbbf142463e6108d8f8cca6da%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637532905340926260%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=McBh%2F04%2BGw1dY19NZ6rfQjCA4trwnmtoX06hK%2Fsfw4I%3D&reserved=0>
>
>         Funding: https://www.paypal.me/dcmierla <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.paypal.me%2Fdcmierla&data=04%7C01%7C%7C09e3437fbbf142463e6108d8f8cca6da%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637532905340936257%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=E3P9u%2Brnser3vBoMf54ep4jjmjVVQgU5obbs0KP3sq8%3D&reserved=0>
>
>         _______________________________________________
>         Kamailio (SER) - Users Mailing List
>         sr-users at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>         https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>         <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&data=04%7C01%7C%7C09e3437fbbf142463e6108d8f8cca6da%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637532905340936257%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=UMx%2FwjmmWaj5qEiTqgOiDQkiIJmfsTJ9B1P2cZfKjVI%3D&reserved=0>
>
> -- 
> Daniel-Constantin Mierla -- www.asipto.com <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.asipto.com%2F&data=04%7C01%7C%7C09e3437fbbf142463e6108d8f8cca6da%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637532905340946252%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=7lyYQ%2FaYzWHHFdaxT3AuOipyYZcOSHBtVLTDVSoX8TA%3D&reserved=0>
> www.twitter.com/miconda <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.twitter.com%2Fmiconda&data=04%7C01%7C%7C09e3437fbbf142463e6108d8f8cca6da%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637532905340946252%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=4%2F7%2BDGbhPzrbVoDFNgTzrMpEjfEKCPitbCU4NFm%2FVfM%3D&reserved=0> -- www.linkedin.com/in/miconda <https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fmiconda&data=04%7C01%7C%7C09e3437fbbf142463e6108d8f8cca6da%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637532905340956245%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=41ENpPYUFRiQ2wz%2Bt1OTq6cuB0EOov5u3wYAemWNhxE%3D&reserved=0>
> Funding: https://www.paypal.me/dcmierla <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.paypal.me%2Fdcmierla&data=04%7C01%7C%7C09e3437fbbf142463e6108d8f8cca6da%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637532905340956245%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ziJF2sJPiU5fi6WIPVTmKnSjSsfgi5RuE2e%2BEn023G8%3D&reserved=0>

-- 
Daniel-Constantin Mierla -- www.asipto.com
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Funding: https://www.paypal.me/dcmierla

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210406/acc6ee28/attachment.htm>


More information about the sr-users mailing list