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

Kwabena Ivan.nyarko at gmail.com
Fri Aug 2 09:27:27 CEST 2013


Hi everyone,
I just made a fresh install of OpenSIPS 1.8.3 LTS from source (git commit id
:  cat .git/refs/heads/1.8
fcc881e19c43b18be5a34eab7eb41d2067c9c168 ) and I am having a problem. I get
the error : "ERROR:core:main: loading config
file(/usr/local/opensips_proxy//etc/opensips/opensips.cfg): No such file or
directory"

I followed the steps at
http://www.opensips.org/Documentation/Tutorials-GettingStarted 

The config file I am using is located at
/usr/local/opensips_proxy/etc/opensips/opensips_residential.cfg and has been
correctly referenced in the startup file in init.d folder...


OPTIONS="-P $PIDFILE -m $S_MEMORY -M $P_MEMORY -u $USER -g $GROUP -f
/usr/local/opensips_proxy/etc/opensips/opensips_residential.cfg"

I am running it on :
Distributor ID: Ubuntu
Description:    Ubuntu 10.04.4 LTS
Release:        10.04
Codename:       lucid

and I am using the debian init file.

The shell debug is :

+ PATH=/sbin:/bin:/usr/sbin:/usr/bin
+ DAEMON=/usr/local/opensips_proxy/sbin/opensips
+ NAME=opensips
+ DESC=opensips
+ HOMEDIR=/var/run/opensips
+ PIDFILE=/var/run/opensips/opensips.pid
+ DEFAULTS=/etc/default/opensips
+ RUN_OPENSIPS=no
+ test -f /usr/local/opensips_proxy/sbin/opensips
+ [ -f /etc/default/opensips ]
+ . /etc/default/opensips
+ RUN_OPENSIPS=yes
+ USER=root
+ GROUP=root
+ S_MEMORY=64
+ P_MEMORY=4
+ DUMP_CORE=no
+ [ yes != yes ]
+ set -e
+ echo 64
+ sed -e s/[^0-9]//g
+ S_MEMORY=64
+ echo 4
+ sed -e s/[^0-9]//g
+ P_MEMORY=4
+ [ -z root ]
+ [ -z root ]
+ [ 64 -le 0 ]
+ [ 4 -le 0 ]
+ test no = yes
+ OPTIONS=-P /var/run/opensips/opensips.pid -m 64 -M 4 -u root -g root -f
/usr/local/opensips_proxy/etc/opensips/opensips_residential.cfg
+ check_opensips_config
+ set +e
+ /usr/local/opensips_proxy/sbin/opensips -c
+ out=Aug  2 08:59:41 [28083] ERROR:core:main: loading config
file(/usr/local/opensips_proxy//etc/opensips/opensips.cfg): No such file or
directory
+ retcode=255
+ set -e
+ [ 255 != 0 ]
+ echo Not starting opensips: invalid configuration file!
Not starting opensips: invalid configuration file!
+ echo -e \nAug  2 08:59:41 [28083] ERROR:core:main: loading config
file(/usr/local/opensips_proxy//etc/opensips/opensips.cfg): No such file or
directory\n
-e 
Aug  2 08:59:41 [28083] ERROR:core:main: loading config
file(/usr/local/opensips_proxy//etc/opensips/opensips.cfg): No such file or
directory

+ exit 1



Please any help would be appreciated.


Kwabena



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



More information about the Users mailing list