[sr-dev] Again about return code when start action fails
Iñaki Baz Castillo
ibc at aliax.net
Fri Jun 10 14:48:25 CEST 2011
2011/6/10 Iñaki Baz Castillo <ibc at aliax.net>:
> init script return code:
> -------------------------------------
> ~# /etc/init.d/kamailio start ; echo "*** status code: $?"
>
> Starting kamailio: kamailioloading modules under
> /usr/lib/kamailio/modules_k:/usr/lib/kamailio/modules
>
> Listening on
> udp: X.X.X.X [X.X.X.X]:5060
> tcp: X.X.X.X [X.X.X.X]:5060
> Aliases:
> *: xxxxxx.xxxxxx.xx:*
> .
> *** status code: 0
> -------------------------------------
>
>
> kamailio log:
> -------------------------------------
> ERROR: <core> [udp_server.c:400]: ERROR: udp_init:
> bind(7, 0x8e53f4, 16) on X.X.X.X: Cannot assign requested address
> ------------------------------------
Ok, it's not a problem in kamailio code, but just in the kamailio init
script. It fails and always return 0. I will inspect it.
--
Iñaki Baz Castillo
<ibc at aliax.net>
More information about the sr-dev
mailing list