Hello,


On 10/16/12 10:09 AM, MARINA SERRANO MONTES wrote:
Hi,

My kamailio installation usually works right, but sometimes, it crashes and it shows the following error:

"ERROR: ctl [ctl.c:379]: ERROR: ctl: could not delete unix socket /tmp/kamailio_ctl: Operation not permitted (1) "

Do you know why it happens randomly or what's the cause ?

probably you start kamailio with a user/group that has no rights to delete the ctl file. You can set the ownership of that file via ctl module parameters.

About the crash, do you get any error message in the logs related to the crash (not to the ctl file)? The log message about ctl can be printed due to normal stop/restart. If there is a crash, maybe you get a coredump file and you can send the backtrace.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Training, Berlin, Nov 5-8, 2012 - http://asipto.com/u/kat
Kamailio Advanced Training, Miami, USA, Nov 12-14, 2012 - http://asipto.com/u/katu