[SR-Users] kamailio fails to start with kamctl start
Henning Westerholt
henning.westerholt at 1und1.de
Wed Jul 6 18:25:56 CEST 2011
On Wednesday 06 July 2011, Fabian Borot wrote:
> I tested it [stop, start, restart] and it worked
>
> First I commented the line below in the kamctlrc scrip to make sure that it
> was working because of the change you suggested on the kamctl script and
> not because my workaround
>
> STARTOPTIONS=" -f /usr/local/kamailio-3.1/etc/kamailio/kamailio.cfg"
>
> Then I found these lines and made it like this:
>
>
> if [ $SYSLOG = 1 ] ; then
> #$OSERBIN -P $PID_FILE $STARTOPTIONS 1>/dev/null
> 2>/dev/null $OSERBIN -P $PID_FILE -f $ETCDIR/kamailio.cfg $STARTOPTIONS
> 1>/dev/null 2>/dev/null else
> #$OSERBIN -P $PID_FILE -E $STARTOPTIONS
> $OSERBIN -P $PID_FILE -E -f $ETCDIR/kamailio.cfg
> $STARTOPTIONS fi
> sleep 3
> if [ ! -s $PID_FILE ] ; then
>
>
> I stoppped, started and restarted kamailio several times and it works now.
Hi Fabian,
ok great. I'll push the fix to the master branch and 3.1 repository then.
Best regards,
Henning
More information about the sr-users
mailing list