[SR-Users] Issue starting with kamctl

Daniel-Constantin Mierla miconda at gmail.com
Thu Mar 8 08:57:10 CET 2018


Hello,

you have to set the path to pid file of kamailio inside your kamctlrc
file, via PID_FILE variable. Likely you have to set it to
/var/run/kamailio/kamailio.pid

Cheers,
Daniel


On 15.02.18 18:25, Ruben Lezama wrote:
> Hi, 
>
> I am having issues to start Kamailio using kamctl. 
>
> root at kamailio2:/etc/systemd/system# kamctl restart
>
> INFO: Stopping Kamailio :
>
> ERROR: No PID file found (/var/run/kamailio.pid)! Kamailio probably
> not running
> INFO: check with 'ps axw | /bin/egrep kamailio'
>
> Using #Kamailio starts works. I can register peers and make calls
> between them. But I cannot update configuration. 
>
> root at kamailio2:/var/log# kamailio
> Listening on
>              udp: 127.0.0.1:5060 <http://127.0.0.1:5060>
>              udp: 192.168.1.100:5060 <http://192.168.1.100:5060>
>              tcp: 127.0.0.1:5060 <http://127.0.0.1:5060>
>              tcp: 192.168.1.100:5060 <http://192.168.1.100:5060>
> Aliases:
>              tcp: kamailio2:5060
>              tcp: localhost:5060
>              udp: kamailio2:5060
>              udp: localhost:5060
>
>
> I would appreciate any help provided.
>
> Attached the syslog output
>
> Ruben
>
>
>
>
>
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users at lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - March 5-7, 2018, Berlin - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180308/dd429f72/attachment-0001.html>


More information about the sr-users mailing list