Sent from my Verizon Wireless Sony Ericsson Xperia™ PLAY.

[email protected] wrote:

>Send Users mailing list submissions to
>       [email protected]
>
>To subscribe or unsubscribe via the World Wide Web, visit
>       http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>or, via email, send a message with subject or body 'help' to
>       [email protected]
>
>You can reach the person managing the list at
>       [email protected]
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Users digest..."
>
>
>Today's Topics:
>
>   1. Re: OpenSIPS Load Balancer Module Initialization Error (Vlad Paiu)
>   2. Re: OpenSIPS Load Balancer Module Initialization Error
>      (nguyen khue)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Wed, 21 Sep 2011 13:25:19 +0300
>From: Vlad Paiu <[email protected]>
>Subject: Re: [OpenSIPS-Users] OpenSIPS Load Balancer Module
>       Initialization Error
>To: [email protected]
>Message-ID: <[email protected]>
>Content-Type: text/plain; charset="iso-8859-1"; Format="flowed"
>
>Hello,
>
>Just to get load_balancer to start, all you need is load the dialog.so 
>before it.
>If you need more advanced dialog features ( DB persistence, etc ) check [1]
>
>[1] http://www.opensips.org/html/docs/modules/devel/dialog.html
>
>Regards,
>
>Vlad Paiu
>OpenSIPS Developer
>
>
>On 09/21/2011 01:22 PM, Faisal Rehman wrote:
>> *Hi Vlad,*
>>
>> So I have to just add the line loadmodule "dialog.so" or do I have to 
>> make other changes as well like any modpram relevant to dialog.so??
>>
>>
>> With Best Regards,
>>
>> *Faisal Rehman*
>> ------------------------------------------------------------------------
>> *From:* Vlad Paiu <[email protected]>
>> *To:* [email protected]
>> *Sent:* Wednesday, September 21, 2011 3:14 PM
>> *Subject:* Re: [OpenSIPS-Users] OpenSIPS Load Balancer Module 
>> Initialization Error
>>
>> Hello,
>>
>> The load_balancer module is complaining about not being able to bind 
>> to the dialog module API.
>> Make sure to load the dialog module before the load_balancer module.
>>
>> Regards,
>> Vlad Paiu
>> OpenSIPS Developer
>>
>> On 09/21/2011 01:11 PM, Faisal Rehman wrote:
>>> *Hi Everyone,*
>>>
>>> I am trying to start OpenSIPS as Load Balancer but sometimes after 
>>> configuration changes, OpenSIPS starts with the help of OpenSIPS 
>>> initialization command but it does not run as a process at the 
>>> background.
>>>
>>> I have tailed the /var/log/messages and got the following error:
>>>
>>>  /usr/local/sbin/opensips[6616]: ERROR:load_balancer:mod_init: Can't 
>>> load dialog hooks
>>>  /usr/local/sbin/opensips[6616]: ERROR:core:init_mod: failed to 
>>> initialize module load_balancer
>>>  /usr/local/sbin/opensips[6616]: ERROR:core:main: error while 
>>> initializing modules
>>>  opensips: INFO:core:daemonize: pre-daemon process exiting with -1
>>>
>>>
>>> I have seen the previous threads relevant to this error but nothing 
>>> worked fine, so anyone can help and assist me please because I really 
>>> need its solution.
>>>
>>> /Thank you very much in Advance!!/
>>>
>>> With Best Regards,
>>>
>>> *Faisal Rehman*
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> [email protected]  <mailto:[email protected]>
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>> _______________________________________________
>> Users mailing list
>> [email protected] <mailto:[email protected]>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>> _______________________________________________
>> Users mailing list
>> [email protected]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
><http://lists.opensips.org/pipermail/users/attachments/20110921/fb8ac928/attachment-0001.htm>
>
>------------------------------
>
>Message: 2
>Date: Wed, 21 Sep 2011 03:30:17 -0700 (PDT)
>From: nguyen khue <[email protected]>
>Subject: Re: [OpenSIPS-Users] OpenSIPS Load Balancer Module
>       Initialization  Error
>To: Faisal Rehman <[email protected]>,
>       "[email protected]" <[email protected]>
>Message-ID:
>       <[email protected]>
>Content-Type: text/plain; charset="iso-8859-1"
>
>Hi Faisal,
>
>first, you set password for mysql database. use command: mysqladmin -u root 
>password NEWPASS
>in your config file you set: 
>modparam("load_balancer","db_url","mysql://root:NEWPASS@ip_mysql_server/database_name")
> and try again
>
>regards
>Khue Nguyen
>
>
>________________________________
>From: Faisal Rehman <[email protected]>
>To: nguyen khue <[email protected]>; "[email protected]" 
><[email protected]>
>Sent: Wednesday, September 21, 2011 5:24 PM
>Subject: Re: [OpenSIPS-Users] OpenSIPS Load Balancer Module Initialization 
>Error
>
>
>Hi Khue,
>
>Adding the line?loadmodule "dialog.so" in my opensips.cfg gives now the 
>following error which wasn't coming before:
>
>Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: 
>ERROR:db_mysql:db_mysql_connect: driver error(1045): Access denied for user 
>'opensips'@'localhost' (using password: YES)
>Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: 
>ERROR:db_mysql:db_mysql_new_connection: initial connect failed
>Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:core:db_do_init: 
>could not add connection to the pool
>Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: 
>ERROR:load_balancer:init_lb_db: unable to connect to the database
>Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: 
>ERROR:load_balancer:mod_init: failed to initialize the DB support
>Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:core:init_mod: 
>failed to initialize module load_balancer
>Sep 21 15:21:14 m5-24 /usr/local/sbin/opensips[6859]: ERROR:core:main: error 
>while initializing modules
>Sep 21 15:21:14 m5-24 opensips: INFO:core:daemonize: pre-daemon process 
>exiting with -1
>
>?
>With Best Regards,
>
>
>Faisal Rehman
>
>
>________________________________
>From: nguyen khue <[email protected]>
>To: Faisal Rehman <[email protected]>; "[email protected]" 
><[email protected]>; OpenSIPS users mailling list 
><[email protected]>
>Sent: Wednesday, September 21, 2011 3:15 PM
>Subject: Re: [OpenSIPS-Users] OpenSIPS Load Balancer Module Initialization 
>Error
>
>
>Hi Faisal,
>
>You add line "loadmodule "dialog.so" into your config file and try again.
>
>regards
>Khue Nguyen
>
>
>________________________________
>From: Faisal Rehman <[email protected]>
>To: "[email protected]" <[email protected]>
>Sent: Wednesday, September 21, 2011 5:11 PM
>Subject: [OpenSIPS-Users] OpenSIPS Load Balancer Module Initialization Error
>
>
>Hi Everyone,
>
>I am trying to start OpenSIPS as Load Balancer but sometimes after 
>configuration changes, OpenSIPS starts with the help of OpenSIPS 
>initialization command but it does not run as a process at the background.
>
>I have tailed the /var/log/messages and got the following error:
>
>?/usr/local/sbin/opensips[6616]: ERROR:load_balancer:mod_init: Can't load 
>dialog hooks
>?/usr/local/sbin/opensips[6616]: ERROR:core:init_mod: failed to initialize 
>module load_balancer
>?/usr/local/sbin/opensips[6616]: ERROR:core:main: error while initializing 
>modules
>?opensips: INFO:core:daemonize: pre-daemon process exiting with -1
>
>
>I have seen the previous threads relevant to this error but nothing worked 
>fine, so anyone can help and assist me please because I really need its 
>solution.
>
>Thank you very much in Advance!!
>
>With Best Regards,
>
>
>Faisal Rehman
>_______________________________________________
>Users mailing list
>[email protected]
>http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: 
><http://lists.opensips.org/pipermail/users/attachments/20110921/d12bbe8f/attachment.htm>
>
>------------------------------
>
>_______________________________________________
>Users mailing list
>[email protected]
>http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>End of Users Digest, Vol 38, Issue 61
>*************************************
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to