[SR-Users] Kamailio does not start with #!define WITH_AUTH

Daniel-Constantin Mierla miconda at gmail.com
Wed May 14 09:08:36 CEST 2014


Hello,

also, as a way to investigate, look into syslog file (/var/log/syslog or 
/var/log/messages).

Cheers,
Daniel

On 14/05/14 08:40, Konstantin M. wrote:
> Hello,
>
> To find out what the problem is, you need to specify version of 
> Kamailio and attach config.
> I can't reproduce this bug on 4.1.
>
> Thanks!
>
>
> 2014-05-14 6:45 GMT+04:00 Arya Farzan <arya6000 at gmail.com 
> <mailto:arya6000 at gmail.com>>:
>
>     When the following lines are on top of my kamailio.cfg
>
>     #!KAMAILIO
>     #!define WITH_MYSQL
>     #!define WITH_NAT
>     #!define WITH_TLS
>     #!define WITH_AUTH
>
>     Kamailio does not start and prints out
>
>     root at voip:/etc/kamailio# /etc/init.d/kamailio start
>     [....] Starting Kamailio SIP server: kamailio:loading modules
>     under /usr/lib/x86_64-linux-gnu/kamailio/modules/
>     Listening on
>                  udp: 127.0.0.1:5060 <http://127.0.0.1:5060>
>                  udp: 107.170.93.193:5060 <http://107.170.93.193:5060>
>                  tcp: 127.0.0.1:5060 <http://127.0.0.1:5060>
>                  tcp: 107.170.93.193:5060 <http://107.170.93.193:5060>
>                  tls: 127.0.0.1:5061 <http://127.0.0.1:5061>
>                  tls: 107.170.93.193:5061 <http://107.170.93.193:5061>
>     Aliases:
>                  tls: voip:5061
>                  tls: localhost:5061
>                  tcp: voip:5060
>                  tcp: localhost:5060
>                  udp: voip:5060
>                  udp: localhost:5060
>
>     [FAIL] already running ... failed!
>     . ok
>
>
>     But when I remove "#!define WITH_AUTH" it starts up. How can I
>     find out what the problem is?
>
>     _______________________________________________
>     SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
>     list
>     sr-users at lists.sip-router.org <mailto:sr-users at lists.sip-router.org>
>     http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
>
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140514/7ae13607/attachment.html>


More information about the sr-users mailing list