[sr-dev] [kamailio/kamailio] Kamailio restarts. (#1896)

2019-03-18 Thread aleczmw
### Description ### Troubleshooting Reproduction Debugging Data ``` (paste your debugging data here) ``` Log Messages ``` (paste your log messages here) ``` SIP Traffic ``` (paste your sip traffic here) ``` ### Possible Solutions ### Additional Informatio

Re: [sr-dev] [kamailio/kamailio] Kamailio restarts. (#1896)

2019-03-19 Thread sergey-safarov
Are you speak about `sipcapture.service`? Please update this strings https://github.com/kamailio/kamailio/blob/master/pkg/kamailio/obs/sipcapture.service#L3-L4 on your local unit to value ``` Wants=network-online.target mariadb,service After=network-online.target mariadb,service ``` Then you can

Re: [sr-dev] [kamailio/kamailio] Kamailio restarts. (#1896)

2019-03-19 Thread aleczmw
Thanks for your reply. Kamailio is started in container. In docker/container, there is no sipcapture.service. What reason for Kamailio restart twice (always twice)? What info can we find from the log? -- You are receiving this because you are subscribed to this thread. Reply to this email dire

Re: [sr-dev] [kamailio/kamailio] Kamailio restarts. (#1896)

2019-03-19 Thread sergey-safarov
What is docker image you tested? Could you test image without embedded MySQL database? With external container database. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1896#issuec

Re: [sr-dev] [kamailio/kamailio] Kamailio restarts. (#1896)

2019-03-19 Thread aleczmw
the testing is without embedded mysql. external db is maridb. maridb pod is always running, step1, helm install homer, step 2, helm delete homer. step3 helm install homer. we saw kamailio restarts twice. kamailio docker image build docker image via kamailo source code. cp kamailio src to contai

Re: [sr-dev] [kamailio/kamailio] Kamailio restarts. (#1896)

2019-03-19 Thread sergey-safarov
please make test using `kamailio/kamailio-ci:master-alpine.debug` image. And please paste here diff to default config. I expect you testing using default kamailio config. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https

Re: [sr-dev] [kamailio/kamailio] Kamailio restarts. (#1896)

2019-03-19 Thread aleczmw
we modified kamailio.cfg to use nosip module. at the same time, we developped h248 parser and store in nosip module. the image mentioned above, may not meet our requirement. kamailio.cfg diff should be uploaded later. -- You are receiving this because you are subscribed to this thread. Reply t

Re: [sr-dev] [kamailio/kamailio] Kamailio restarts. (#1896)

2019-03-19 Thread sergey-safarov
In this ticket we troubleshooting MySQL database connections issue. To solve is want use only default config images. When we fix MySQL than you can add other other modules and retest. Please make test using standard image and default config. -- You are receiving this because you are subscribed to

Re: [sr-dev] [kamailio/kamailio] Kamailio restarts. (#1896)

2019-03-19 Thread aleczmw
Thanks for your infomation. i will have a try based on your input. my consion: Is the issue ‘kamailio restart twice’ related to mysql connection? we can see SIG 15 in kamailio log. who triggers it, connection failure? Although kamailio starts twice, it goes to work at last. looks like it conn

Re: [sr-dev] [kamailio/kamailio] Kamailio restarts. (#1896)

2019-03-19 Thread sergey-safarov
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 ``` -- You are receiving this because you

Re: [sr-dev] [kamailio/kamailio] Kamailio restarts. (#1896)

2019-03-19 Thread Daniel-Constantin Mierla
Closed #1896. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/kamailio/kamailio/issues/1896#event-2213785587___ Kamailio (SER) - Development Mailing List sr-dev@l

Re: [sr-dev] [kamailio/kamailio] Kamailio restarts. (#1896)

2019-03-19 Thread Daniel-Constantin Mierla
This does not look as an issue with kamailio code or with included tools. If it is just a discussion about how to use kamailio inside docker, then use the sr-us...@lists.kamailio.org mailing list. If it is an issue with how the docker image for kamailio is built, then the projects are: * htt