[OpenSIPS-Users] Install OpenSIPS 1.7

GAUTIER DE CHARNACÉ Briac Briac.GAUTIERDECHARNACE at supinfo.com
Thu Sep 15 14:26:20 CEST 2011


Hello

I am trying to install OpenSIPS-1.7.0 from source on Debian squeeze with :

make prefix="/usr/local/opensips-1.7" include_modules="b2b_logic db_mysql dialplan presence presence_xml presence_mwi presence_dialoginfo pua pua_bla pua_mi pua_usrloc pua_xmpp pua_dialoginfo mi_xmlrpc" all

make prefix="/usr/local/opensips-1.7" include_modules="b2b_logic db_mysql dialplan presence presence_xml presence_mwi presence_dialoginfo pua pua_bla pua_mi pua_usrloc pua_xmpp pua_dialoginfo mi_xmlrpc" install

After that I'm doing :

cd /usr/src/opensips-1.7/packaging/debian
cp opensips.default /etc/default/opensips
cp opensips.init /etc/init.d/opensips
chmod 755 /etc/init.d/opensips
update-rc.d opensips defaults 99

Edit the /usr/local/opensips-1.7/etc/opensips/opensips.cfg  file and remove the fork=no line.
Edit the /etc/default/opensips script and set RUN_OPENSIPS to yes.

But When I want to start OpenSIPS with: /etc/init.d/opensips start

It's failed because the server doesn't find the file : " /etc/opensips/opensips.cfg: No such file or directory"

I think the prefix doesn't work, because OpenSIPS doesn't looking for the file in the right folder, indeed the file is in this place: "/usr/local/opensips-1.7/etc/opensips/opensips.cfg"

Do you have an idea to solve this problem ?

Thanks

Briac














-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110915/7ae6c0a8/attachment-0001.htm>


More information about the Users mailing list