[OpenSIPS-Users] ERROR:core:main: loading config file

Kwabena Ivan.nyarko at gmail.com
Wed Aug 7 15:41:59 CEST 2013

Hello Vlad,
thanks for your reply. I figured out what was going wrong and solved my
problem and I planned commenting on it. Anyway how about considering this
solution so that things get even more easier for beginners like myself:
 Adding a variable like  CONFIG_FILE which would be defined at the top of
the script and referenced later. In my case ....
check_opensips_config ()
        # Check if opensips configuration is valid before starting the
        set +e
        out=$($DAEMON -c $CONFIG_FILE 2>&1 > /dev/null)

I know this is definitely trivial for most people but it may help someone
(some day) :-)

Thanks again,


View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/ERROR-core-main-loading-config-file-tp7587349p7587422.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

More information about the Users mailing list