Hello. I Installed kamailio on ubuntu 14.04 that runs as virtual systemOpenVZ.
after starting kamailio I see that it runs ok with
kamailio start
or
kamctl start
at ps -ax I see working processes.
But after one minute of working kamailio fails with
kamailio: ERROR: <core> [daemonize.c:315]: daemonize(): Main process exited before writing to pipe
I see nothing more at debug file. No errors. (I run with debug=4)
my cfg parameters at start
mhomed=1
memdbg=5
memlog=5
fork=yes
children=6
version: kamailio 4.2.4 (x86_64/linux) ac3682
flags: STATS: Off, USE_TCP, USE_TLS, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, DBG_F_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER, USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
id: ac3682
compiled on 04:27:04 Apr 10 2015 with gcc 4.8.2