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@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@kamailio2:/var/log# kamailio
Listening on
             udp: 127.0.0.1:5060
             udp: 192.168.1.100:5060
             tcp: 127.0.0.1:5060
             tcp: 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@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