[OpenSIPS-Users] R: Issues running opensips with load balancer.

Prasad, Goutham Goutham.Prasad at ipc.com
Wed May 24 16:44:44 EDT 2017


Robert,

Thanks for your pointers. But I’m having issues even in getting the 2.2 compile on RHEL.

Goutham P Madhava
Group Lead • Voice Applications
777, Commerce Dr., Fairfield, CT 06825
T  +1 203 339 7830 • M +1 203 683 8760 • E goutham.prasad at ipc.com
Follow us on twitter: @ipc_Systems_Inc • Website: www.ipc.com<http://www.ipc.com/>
[cid:image001.jpg at 01D2D4AD.0AE47220]

From: Users [mailto:users-bounces at lists.opensips.org] On Behalf Of Mundkowsky, Robert
Sent: Monday, May 22, 2017 1:15 PM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] R: Issues running opensips with load balancer.

Not an export, but the load balancer uses a database.  Did you setup a database and the schema in it and also setup the openSIPS config to point to that database?

http://www.opensips.org/html/docs/modules/2.2.x/load_balancer.html#idp163120
modparam("load_balancer", "db_url", "dbdriver://username:password@dbhost/dbname")
modparam("load_balancer", "db_table", "lb")
modparam("load_balancer", "probing_interval", 60)
…


Robert

From: Users [mailto:users-bounces at lists.opensips.org] On Behalf Of Ravitez Ravi
Sent: Monday, May 22, 2017 10:51 AM
To: Bogdan-Andrei Iancu <bogdan at opensips.org<mailto:bogdan at opensips.org>>; OpenSIPS users mailling list <users at lists.opensips.org<mailto:users at lists.opensips.org>>
Subject: Re: [OpenSIPS-Users] R: Issues running opensips with load balancer.

Hello Bogdan,
                        Good Day,
                        Here's what we get when using the default configuration(flags,modules)


[root at kuat opensips-2.2.3]# make menuconfig
which: no lynx in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
make -C menuconfig
make[1]: Entering directory `/home/ravi/goutham/opensips-2.2.3/menuconfig'
gcc -o configure -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -g -Wall -DMENUCONFIG_CFG_PATH=\"menuconfig/configs/\" -DMENUCONFIG_GEN_PATH=\"etc/\" -DMENUCONFIG_HAVE_SOURCES=1  cfg.o curses.o items.o commands.o menus.o parser.o main.o -lncurses   -Wl,-O2 -Wl,-E
make[1]: Leaving directory `/home/ravi/goutham/opensips-2.2.3/menuconfig'
./menuconfig/configure --local
which: no lynx in (/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
make[1]: Entering directory `/home/ravi/goutham/opensips-2.2.3'
sed -e "s#/usr/.*lib/opensips/modules/#/usr/local//lib64/opensips/modules/#g" \
                        < etc/opensips.cfg > /usr/local//etc/opensips/opensips.cfg.sample0
sed -e "s#/usr/.*etc/opensips/tls/#/usr/local//etc/opensips/tls/#g" \
                        < /usr/local//etc/opensips/opensips.cfg.sample0 \
                        > /usr/local//etc/opensips/opensips.cfg.sample
rm -fr /usr/local//etc/opensips/opensips.cfg.sample0
chmod 600 /usr/local//etc/opensips/opensips.cfg.sample
chmod 700 /usr/local//etc/opensips/
if [ -z "" -a \
                                ! -f /usr/local//etc/opensips/opensips.cfg ]; then \
                        mv -f /usr/local//etc/opensips/opensips.cfg.sample \
                                /usr/local//etc/opensips/opensips.cfg; \
                fi
# opensipsctl config
touch             /usr/local//etc/opensips//opensipsctlrc.sample
install -m 644 scripts/opensipsctlrc \
                        /usr/local//etc/opensips//opensipsctlrc.sample
if [ ! -f /usr/local//etc/opensips//opensipsctlrc ]; then \
                        mv -f /usr/local//etc/opensips//opensipsctlrc.sample \
                                /usr/local//etc/opensips//opensipsctlrc; \
                fi
# osipsconsole config
touch             /usr/local//etc/opensips//osipsconsolerc.sample
install -m 644 scripts/osipsconsolerc \
                        /usr/local//etc/opensips//osipsconsolerc.sample
if [ ! -f /usr/local//etc/opensips//osipsconsolerc ]; then \
                        mv -f /usr/local//etc/opensips//osipsconsolerc.sample \
                                /usr/local//etc/opensips//osipsconsolerc; \
                fi
make -C menuconfig proper
make[2]: Entering directory `/home/ravi/goutham/opensips-2.2.3/menuconfig'
rm -f configure
rm -f cfg.o curses.o items.o commands.o menus.o parser.o main.o
make[2]: Leaving directory `/home/ravi/goutham/opensips-2.2.3/menuconfig'
make -C menuconfig \
                MENUCONFIG_CFG_PATH=/usr/local//share/opensips//menuconfig_templates/ \
                MENUCONFIG_GEN_PATH=/usr/local//etc/opensips/ MENUCONFIG_HAVE_SOURCES=0
make[2]: Entering directory `/home/ravi/goutham/opensips-2.2.3/menuconfig'
gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -Wcast-align -g -Wall -DMENUCONFIG_CFG_PATH=\"/usr/local//share/opensips//menuconfig_templates/\" -DMENUCONFIG_GEN_PATH=\"/usr/local//etc/opensips/\" -DMENUCONFIG_HAVE_SOURCES=0    -c -o cfg.o cfg.c
gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -Wcast-align -g -Wall -DMENUCONFIG_CFG_PATH=\"/usr/local//share/opensips//menuconfig_templates/\" -DMENUCONFIG_GEN_PATH=\"/usr/local//etc/opensips/\" -DMENUCONFIG_HAVE_SOURCES=0    -c -o curses.o curses.c
gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -Wcast-align -g -Wall -DMENUCONFIG_CFG_PATH=\"/usr/local//share/opensips//menuconfig_templates/\" -DMENUCONFIG_GEN_PATH=\"/usr/local//etc/opensips/\" -DMENUCONFIG_HAVE_SOURCES=0    -c -o items.o items.c
gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -Wcast-align -g -Wall -DMENUCONFIG_CFG_PATH=\"/usr/local//share/opensips//menuconfig_templates/\" -DMENUCONFIG_GEN_PATH=\"/usr/local//etc/opensips/\" -DMENUCONFIG_HAVE_SOURCES=0    -c -o commands.o commands.c
gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -Wcast-align -g -Wall -DMENUCONFIG_CFG_PATH=\"/usr/local//share/opensips//menuconfig_templates/\" -DMENUCONFIG_GEN_PATH=\"/usr/local//etc/opensips/\" -DMENUCONFIG_HAVE_SOURCES=0    -c -o menus.o menus.c
gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -Wcast-align -g -Wall -DMENUCONFIG_CFG_PATH=\"/usr/local//share/opensips//menuconfig_templates/\" -DMENUCONFIG_GEN_PATH=\"/usr/local//etc/opensips/\" -DMENUCONFIG_HAVE_SOURCES=0    -c -o parser.o parser.c
gcc -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -Wcast-align -g -Wall -DMENUCONFIG_CFG_PATH=\"/usr/local//share/opensips//menuconfig_templates/\" -DMENUCONFIG_GEN_PATH=\"/usr/local//etc/opensips/\" -DMENUCONFIG_HAVE_SOURCES=0    -c -o main.o main.c
gcc -o configure -g -O9 -funroll-loops -Wcast-align -Wall -minline-all-stringops -falign-loops -ftree-vectorize -mtune=nocona -Wold-style-definition -Wmissing-field-initializers -Wredundant-decls -Wcast-align -g -Wall -DMENUCONFIG_CFG_PATH=\"/usr/local//share/opensips//menuconfig_templates/\" -DMENUCONFIG_GEN_PATH=\"/usr/local//etc/opensips/\" -DMENUCONFIG_HAVE_SOURCES=0  cfg.o curses.o items.o commands.o menus.o parser.o main.o -lncurses   -Wl,-O2 -Wl,-E    -Wl,-E
make[2]: Leaving directory `/home/ravi/goutham/opensips-2.2.3/menuconfig'
mkdir -p /usr/local//share/opensips//menuconfig_templates/
touch           menuconfig/configs/* /usr/local//share/opensips//menuconfig_templates/
install -m 644 menuconfig/configs/* /usr/local//share/opensips//menuconfig_templates/
sed -i -e "s#/usr/.*lib/opensips/modules/#/usr/local//lib64/opensips/modules/#" \
                /usr/local//share/opensips//menuconfig_templates/*
cd utils/opensipsunix; make all
make[2]: Entering directory `/home/ravi/goutham/opensips-2.2.3/utils/opensipsunix'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ravi/goutham/opensips-2.2.3/utils/opensipsunix'
if [ "" = "yes" ]; then \
                        cd utils/db_berkeley; make all ; \
                fi ;
if [ "" = "yes" ]; then \
                        cd utils/db_oracle; make all ; \
                fi ;
# install opensips binary
touch           /usr/local//sbin//opensips
install -m 755 opensips /usr/local//sbin/
# install opensips menuconfig
touch           /usr/local//sbin//osipsconfig
install -m 755 menuconfig/configure /usr/local//sbin//osipsconfig
# install opensipsctl (and family) tool
cat scripts/opensipsctl | \
                sed -e "s#/usr/local/sbin#/usr/local//sbin/#g" | \
                sed -e "s#/usr/local/lib/opensips#/usr/local//lib64/opensips#g" | \
                sed -e "s#/usr/local/etc/opensips#/usr/local//etc/opensips/#g"  >/tmp/opensipsctl
touch           /usr/local//sbin//opensipsctl
install -m 755 /tmp/opensipsctl /usr/local//sbin/
rm -fr /tmp/opensipsctl
sed -e "s#/usr/local/sbin#/usr/local//sbin/#g" \
                        < scripts/opensipsctl.base > /tmp/opensipsctl.base
mkdir -p /usr/local//lib64/opensips/opensipsctl
touch           \
                        /usr/local//lib64/opensips/opensipsctl
install -m 644 /tmp/opensipsctl.base \
                        /usr/local//lib64/opensips/opensipsctl/opensipsctl.base
rm -fr /tmp/opensipsctl.base
sed -e "s#/usr/local#/usr/local//sbin/#g" \
                        < scripts/opensipsctl.ctlbase > /tmp/opensipsctl.ctlbase
install -m 644 /tmp/opensipsctl.ctlbase \
                        /usr/local//lib64/opensips/opensipsctl/opensipsctl.ctlbase
rm -fr /tmp/opensipsctl.ctlbase
sed -e "s#/usr/local#/usr/local//sbin/#g" \
                        < scripts/opensipsctl.fifo > /tmp/opensipsctl.fifo
install -m 644 /tmp/opensipsctl.fifo \
                        /usr/local//lib64/opensips/opensipsctl/opensipsctl.fifo
rm -fr /tmp/opensipsctl.fifo
sed -e "s#/usr/local#/usr/local//sbin/#g" \
                        < scripts/opensipsctl.unixsock > /tmp/opensipsctl.unixsock
install -m 644 /tmp/opensipsctl.unixsock \
                        /usr/local//lib64/opensips/opensipsctl/opensipsctl.unixsock
rm -fr /tmp/opensipsctl.unixsock
sed -e "s#/usr/local#/usr/local//sbin/#g" \
                        < scripts/opensipsctl.sqlbase > /tmp/opensipsctl.sqlbase
install -m 644 /tmp/opensipsctl.sqlbase \
                        /usr/local//lib64/opensips/opensipsctl/opensipsctl.sqlbase
rm -fr /tmp/opensipsctl.sqlbase
# install db setup base script
sed -e "s#/usr/local/sbin#/usr/local//sbin/#g" \
                        -e "s#/usr/local/etc/opensips#/usr/local//etc/opensips/#g" \
                        -e "s#/usr/local/share/opensips#/usr/local//share/opensips/#g" \
                        < scripts/opensipsdbctl.base > /tmp/opensipsdbctl.base
install -m 644 /tmp/opensipsdbctl.base \
                        /usr/local//lib64/opensips/opensipsctl/opensipsdbctl.base
rm -fr /tmp/opensipsdbctl.base
cat scripts/opensipsdbctl | \
                sed -e "s#/usr/local/sbin#/usr/local//sbin/#g" | \
                sed -e "s#/usr/local/lib/opensips#/usr/local//lib64/opensips#g" | \
                sed -e "s#/usr/local/etc/opensips#/usr/local//etc/opensips/#g"  >/tmp/opensipsdbctl
touch           /usr/local//sbin//opensipsdbctl
install -m 755 /tmp/opensipsdbctl /usr/local//sbin/
rm -fr /tmp/opensipsdbctl
touch             /usr/local//sbin//opensipsunix
install -m 755 utils/opensipsunix/opensipsunix /usr/local//sbin/
sed -e "s#/etc/opensips/opensips\.cfg#/usr/local//etc/opensips/opensips.cfg#g" \
                        -e "s#/usr/sbin/#/usr/local//sbin/#g" \
                        -e "s#/usr/lib/opensips/modules/#/usr/local//lib64/opensips/modules/#g" \
                        -e "s#/usr/share/doc/opensips/#/usr/local//share/doc/opensips/#g" \
                        < opensips.8 >  /usr/local//share/man//man8/opensips.8
chmod 644  /usr/local//share/man//man8/opensips.8
sed -e "s#/etc/opensips/opensips\.cfg#/usr/local//etc/opensips/opensips.cfg#g" \
                        -e "s#/usr/sbin/#/usr/local//sbin/#g" \
                        -e "s#/usr/lib/opensips/modules/#/usr/local//lib64/opensips/modules/#g" \
                        -e "s#/usr/share/doc/opensips/#/usr/local//share/doc/opensips/#g" \
                        < opensips.cfg.5 >  /usr/local//share/man//man5/opensips.cfg.5
chmod 644  /usr/local//share/man//man5/opensips.cfg.5
sed -e "s#/etc/opensips/opensips\.cfg#/usr/local//etc/opensips/opensips.cfg#g" \
                        -e "s#/usr/sbin/#/usr/local//sbin/#g" \
                        -e "s#/usr/lib/opensips/modules/#/usr/local//lib64/opensips/modules/#g" \
                        -e "s#/usr/share/doc/opensips/#/usr/local//share/doc/opensips/#g" \
                        < scripts/opensipsctl.8 > /usr/local//share/man//man8/opensipsctl.8
chmod 644  /usr/local//share/man//man8/opensipsctl.8
sed -e "s#/etc/opensips/opensips\.cfg#/usr/local//etc/opensips/opensips.cfg#g" \
                        -e "s#/usr/sbin/#/usr/local//sbin/#g" \
                        -e "s#/usr/lib/opensips/modules/#/usr/local//lib64/opensips/modules/#g" \
                        -e "s#/usr/share/doc/opensips/#/usr/local//share/doc/opensips/#g" \
                        < utils/opensipsunix/opensipsunix.8 > \
                        /usr/local//share/man//man8/opensipsunix.8
chmod 644  /usr/local//share/man//man8/opensipsunix.8
# install osipsconsole
cat scripts/osipsconsole | \
                sed -e "s#PATH_BIN[ \t]*=[ \t]*\"\./\"#PATH_BIN = \"/usr/local//sbin/\"#g" | \
                sed -e "s#PATH_CTLRC[ \t]*=[ \t]*\"\./scripts/\"#PATH_CTLRC = \"/usr/local//etc/opensips/\"#g" | \
                sed -e "s#PATH_LIBS[ \t]*=[ \t]*\"\./scripts/\"#PATH_LIBS = \"/usr/local//lib64/opensips/opensipsctl/\"#g" | \
                sed -e "s#PATH_SHARE[ \t]*=[ \t]*\"\./scripts/\"#PATH_SHARE = \"/usr/local//share/opensips/\"#g" | \
                sed -e "s#PATH_ETC[ \t]*=[ \t]*\"\./etc/\"#PATH_ETC = \"/usr/local//etc/opensips/\"#g" \
                > /tmp/osipsconsole
touch           /usr/local//sbin//osipsconsole
install -m 755 /tmp/osipsconsole /usr/local//sbin/
rm -fr /tmp/osipsconsole
/bin/sh: -c: line 1: syntax error near unexpected token `('
/bin/sh: -c: line 1: `for r in modules/() modules/{ modules/eval modules/`/usr/bin/modulecmd modules/bash modules/`'
make[1]: *** [modules] Error 1
make[1]: Leaving directory `/home/ravi/goutham/opensips-2.2.3'


Press any key to return to menuconfig


Regards,
Ravitez.D


On Mon, May 15, 2017 at 4:38 AM, Bogdan-Andrei Iancu <bogdan at opensips.org<mailto:bogdan at opensips.org>> wrote:
Hi,

Could you give some details about you inability of compiling 2.3 ??

Regards,

Bogdan-Andrei Iancu

  OpenSIPS Founder and Developer

  http://www.opensips-solutions.com



OpenSIPS Summit May 2017 Amsterdam

  http://www.opensips.org/events/Summit-2017Amsterdam.html
On 05/15/2017 05:31 AM, Ravitez Ravi wrote:
Hi Michele,
                Good Day,
                Im unable to compile 2.3 in RHL 6.5
                so got back to 1.9.

Regards,
Ravitez.D

On Sun, May 14, 2017 at 7:42 AM, michele.pinassi <michele.pinassi at unisi.it<mailto:michele.pinassi at unisi.it>> wrote:
Hi Ravi, there's any special reason not to choose latest 2.3 or, if you need 1.11 series, 1.11.9 ?

Also i suggest to choose a Debian 8 instead of RHel.

Michele


Inviato da smartphone Samsung Galaxy.

-------- Messaggio originale --------
Da: Ravitez Ravi <ravitez.dondeti at gmail.com<mailto:ravitez.dondeti at gmail.com>>
Data: 13/05/17 23:01 (GMT+01:00)
A: OpenSIPS users mailling list <users at lists.opensips.org<mailto:users at lists.opensips.org>>
Oggetto: [OpenSIPS-Users] Issues running opensips with load balancer.

Hi All,

I’m trying to run opensips with load balancer module but it fails to come up. Below are details of what I have done and been trying. My questions are in bold italics and highlighted in yellow. Request you to take a look and help.

Objective: Install OpenSIPS 1.11.10 with TLS on RHEL 6.5 for load balancing SIP traffic
Procedure followed:

1.       Download and install OpenSIPS1.11.10 on RHEL 6.5 with default configuration:

a.       Downloaded http://opensips.org/pub/opensips/1.11.10/opensips-1.11.10-tls.tar.gz

b.      Un-tar and un-zip the downloaded file

c.       Go to opensips-1.11.10-tls folder, ran make menuconfig, select Compile And Install OpenSIPS and followed by Exit & Save All Changes

d.      Run opensips on command line, ensure the opensips process is running using ‘ps -ef | grep opensips’ command and stop the process using ‘killall opensips’



2.       Get necessary dependencies straightened out for load balancer as mentioned in section 1.4 in http://www.opensips.org/html/docs/modules/1.11.x/load_balancer.html

a.       The section lists the following OpenSIPS modules: i) Dialog – Dialog module, ii) Dialog – TM module, iii) database – one of the DB modules.

b.      I did not see any specific dialog module either in Configure Compile Flags or Configure Excluded Modules, however, I could see /usr/local/lib64/opensips/modules/dialog.so and assumed this is the intended module. Not sure if it covers both Dialog and TM. Please clarify.

c.       I selected db_mysql from Configure Excluded Modules and got a message “You have enabled the 'db_mysql' module, so please install ' development libraries of mysql-client , typically libmysqlclient-dev'” while saving. I could not find the RPM for RHEL. The closed I could find is libmysqlclient16-devel-5.1.69-1.w6.x86_64.rpm which fails to get installed. Am I in right path here? Please advise.

d.      I was following an example mentioned section 3.2 in http://www.opensips.org/Documentation/Tutorials-LoadBalancing.

The section shows following modules to be loaded:
loadmodule "modules/maxfwd/maxfwd.so"
loadmodule "modules/sl/sl.so"
loadmodule "modules/db_mysql/db_mysql.so"
loadmodule "modules/tm/tm.so"
loadmodule "modules/xlog/xlog.so"
loadmodule "modules/uri/uri.so"
loadmodule "modules/rr/rr.so"
loadmodule "modules/dialog/dialog.so"
loadmodule "modules/mi_fifo/mi_fifo.so"
loadmodule "modules/mi_xmlrpc/mi_xmlrpc.so"
loadmodule "modules/signaling/signaling.so"
loadmodule "modules/textops/textops.so"
loadmodule "modules/load_balancer/load_balancer.so"
However, the sub-directories mentioned in above list is not seen on my file system after OpenSIPS installation, yet I see some of the above list shared libraries under /usr/local/lib64/opensips/modules. Hope this is ok.

e.      The defaults opensips.cfg provided includes most of the above listed modules, but the below libraries were missing which are needed for load balancer:
            loadmodule "modules/dialog.so"
loadmodule "modules/textops.so"
loadmodule "modules/load_balancer/load_balancer.so"
loadmodule "modules/db_mysql/db_mysql.so"
loadmodule "modules/xlog/xlog.so"
loadmodule "modules/mi_xmlrpc/mi_xmlrpc.so
I was able to successfully start opensips after loading dialog.so and textops.so, however, opensips refuses to start when I load load_balancer.so with following error:
May 13 16:40:18 kuat opensips: INFO:core:shm_mem_init: allocating SHM block
May 13 16:40:18 kuat opensips[22969]: NOTICE:core:main: version: opensips 1.11.10-tls (x86_64/linux)
May 13 16:40:18 kuat opensips[22969]: INFO:core:main: using 32 Mb shared memory
May 13 16:40:18 kuat opensips[22969]: INFO:core:main: using 2 Mb private memory per process
May 13 16:40:18 kuat opensips[22969]: INFO:core:evi_publish_event: Registered event <E_CORE_THRESHOLD(0)>
May 13 16:40:18 kuat opensips[22969]: INFO:core:evi_publish_event: Registered event <E_CORE_SHM_THRESHOLD(1)>
May 13 16:40:18 kuat opensips[22969]: INFO:core:evi_publish_event: Registered event <E_CORE_PKG_THRESHOLD(2)>
May 13 16:40:18 kuat opensips[22969]: NOTICE:signaling:mod_init: initializing module ...
May 13 16:40:18 kuat opensips[22969]: INFO:sl:mod_init: Initializing StateLess engine
May 13 16:40:18 kuat opensips[22969]: INFO:tm:mod_init: TM - initializing...
May 13 16:40:18 kuat opensips[22969]: INFO:rr:mod_init: rr - initializing
May 13 16:40:18 kuat opensips[22969]: INFO:maxfwd:mod_init: initializing...
May 13 16:40:18 kuat opensips[22969]: INFO:sipmsgops:mod_init: initializing...
May 13 16:40:18 kuat opensips[22969]: INFO:usrloc:ul_init_locks: locks array size 512
May 13 16:40:18 kuat opensips[22969]: INFO:core:evi_publish_event: Registered event <E_UL_AOR_INSERT(3)>
May 13 16:40:18 kuat opensips[22969]: INFO:core:evi_publish_event: Registered event <E_UL_AOR_DELETE(4)>
May 13 16:40:18 kuat opensips[22969]: INFO:registrar:mod_init: initializing...
May 13 16:40:18 kuat opensips[22969]: INFO:acc:mod_init: initializing...
May 13 16:40:18 kuat opensips[22969]: INFO:core:evi_publish_event: Registered event <E_ACC_EVENT(5)>
May 13 16:40:18 kuat opensips[22969]: INFO:core:evi_publish_event: Registered event <E_ACC_CDR(6)>
May 13 16:40:18 kuat opensips[22969]: INFO:core:evi_publish_event: Registered event <E_ACC_MISSED_EVENT(7)>
May 13 16:40:18 kuat opensips[22969]: INFO:dialog:mod_init: Dialog module - initializing
May 13 16:40:18 kuat opensips[22969]: INFO:textops:mod_init: initializing...
May 13 16:40:18 kuat opensips[22969]: INFO:load_balancer:mod_init: Load-Balancer module - initializing
May 13 16:40:18 kuat opensips[22969]: ERROR:load_balancer:mod_init: DB URL is not defined!
May 13 16:40:18 kuat opensips[22969]: ERROR:core:init_mod: failed to initialize module load_balancer
May 13 16:40:18 kuat opensips[22969]: ERROR:core:main: error while initializing modules
May 13 16:40:18 kuat opensips[22969]: INFO:core:cleanup: cleanup
May 13 16:40:18 kuat opensips: INFO:core:daemonize: pre-daemon process exiting with -1
Looks like this is due to DB module. Is this correct?

f.        I do not see following shared libraries. Please let me know which modules should I load to get them.

loadmodule "modules/db_mysql/db_mysql.so"

loadmodule "modules/xlog/xlog.so"

loadmodule "modules/mi_xmlrpc/mi_xmlrpc.so"



Thank you :)



Regards,

Ravitez.D

_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users



_______________________________________________

Users mailing list

Users at lists.opensips.org<mailto:Users at lists.opensips.org>

http://lists.opensips.org/cgi-bin/mailman/listinfo/users




________________________________

This e-mail and any files transmitted with it may contain privileged or confidential information. It is solely for use by the individual for whom it is intended, even if addressed incorrectly. If you received this e-mail in error, please notify the sender; do not disclose, copy, distribute, or take any action in reliance on the contents of this information; and delete it from your system. Any other use of this e-mail is prohibited.


Thank you for your compliance.

________________________________


Vote IPC in the 2017 Waters Technology Awards. Winners are decided by those most important to us - our customers! Please vote for us (#28, #29) by link https://www.surveymonkey.com/r/MTXQFZF




DISCLAIMER: This e-mail may contain information that is confidential, privileged or otherwise protected from disclosure. 
If you are not an intended recipient of this e-mail, do not duplicate or redistribute it by any means. 
Please delete it and any attachments and notify the sender that you have received it in error. 
Unintended recipients are prohibited from taking action on the basis of information in this e-mail. 
E-mail messages may contain computer viruses or other defects, may not be accurately replicated on other systems, or may be intercepted, 
deleted or interfered with without the knowledge of the sender or the intended recipient. 
If you are not comfortable with the risks associated with e-mail messages, 
you may decide not to use e-mail to communicate with IPC. IPC reserves the right, 
to the extent and under circumstances permitted by applicable law, 
to retain, monitor and intercept e-mail messages to and from its systems.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20170524/6353329d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3056 bytes
Desc: image001.jpg
URL: <http://lists.opensips.org/pipermail/users/attachments/20170524/6353329d/attachment-0001.jpg>


More information about the Users mailing list