I prefer solve errors at start of log file. Error at end of log is related to prevision in many cases. Also related to this string ``` 4(24) CRITICAL: [main.c:1611]: main_loop(): Cannot fork ``` you may try sart kamailio using command ``` kamailio -DD -E ```