Unable to make the load balancer work

classic Classic list List threaded Threaded
16 messages Options
Reply | Threaded
Open this post in threaded view
|

Unable to make the load balancer work

M.Abdulaziz
Hello Everyone,

I 'm  trying to run the load balancer module but I couldn't make it work properly. I know it is due to my lack of experience. But I couldn't figure out where is my mistake, can any one help please...I implemented it as follows:



                                         
                                > Proxy1 >--->UAS1
UAC-->LoadBalancer>              
                                > Proxy2 >--->UAS2
                               
Where:

sipp(UAC):192.168.1.70:5062                    
opensips(Load Balancer):192.168.1.69:5060
opensips(Proxy1):192.168.1.69:5061
opensips(Proxy2):192.168.1.69:5062
sipp(UAS1):192.168.1.70:5060    
sipp(UAS1):192.168.1.70:5061  

I run the sipp command for the caller as follows:

sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060

When I traced the packets using wireshark I saw the error message :

Destination unreachable (port unreachable)


The load Balancer table contains the following:

 ---- ----------- ----------------------------- ----------------------------
 |  id  | group_id | dst_uri                           | resources                |
 ---- ----------- ----------------------------- ----------------------------
 |  1  |        1      | sip:192.168.1.69:5061    |  pstn=32                |
 |  2  |        1      | sip:192.168.1.69:5062    |  pstn=32                |
 ---- ----------- ----------------------------- ----------------------------


the load balancer configuration file is exactly as the one in the load balancer tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing) except the listen line:

listen=udp:xxx.xxx.xxx.xxx:5060

I changed it to

listen=udp:192.168.1.69:5060
 


Note: When I tried to send UAC calls directly to the proxy (e.g: sipp -sn uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through the load balancer it worked properly which means that my problem is in the load balancer.

Best Regards,
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

symack
Could you please attach or post opensips.cfg.

Regards,

Nick.

On Wed, Nov 9, 2011 at 8:03 AM, M.Abdulaziz <[hidden email]> wrote:

> Hello Everyone,
>
> I 'm  trying to run the load balancer module but I couldn't make it work
> properly. I know it is due to my lack of experience. But I couldn't figure
> out where is my mistake, can any one help please...I implemented it as
> follows:
>
>
>
>
>                                > Proxy1 >--->UAS1
> UAC-->LoadBalancer>
>                                > Proxy2 >--->UAS2
>
> Where:
>
> sipp(UAC):192.168.1.70:5062
> opensips(Load Balancer):192.168.1.69:5060
> opensips(Proxy1):192.168.1.69:5061
> opensips(Proxy2):192.168.1.69:5062
> sipp(UAS1):192.168.1.70:5060
> sipp(UAS1):192.168.1.70:5061
>
> I run the sipp command for the caller as follows:
>
> sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060
>
> When I traced the packets using wireshark I saw the error message :
>
> Destination unreachable (port unreachable)
>
>
> The load Balancer table contains the following:
>
>  ---- ----------- ----------------------------- ----------------------------
>  |  id  | group_id | dst_uri                           | resources
> |
>  ---- ----------- ----------------------------- ----------------------------
>  |  1  |        1      | sip:192.168.1.69:5061    |  pstn=32
> |
>  |  2  |        1      | sip:192.168.1.69:5062    |  pstn=32
> |
>  ---- ----------- ----------------------------- ----------------------------
>
>
> the load balancer configuration file is exactly as the one in the load
> balancer tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing)
> except the listen line:
>
> listen=udp:xxx.xxx.xxx.xxx:5060
>
> I changed it to
>
> listen=udp:192.168.1.69:5060
>
>
>
> Note: When I tried to send UAC calls directly to the proxy (e.g: sipp -sn
> uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through the
> load balancer it worked properly which means that my problem is in the load
> balancer.
>
> Best Regards,
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6977880.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

Vlad Paiu
In reply to this post by M.Abdulaziz
Hello,

Do the actual SIP packages reach the load balancer ?
Or are the SIP packages reaching it, but it does not forward them to
your proxies ?

Regards,

Vlad Paiu
OpenSIPS Developer


On 11/09/2011 03:03 PM, M.Abdulaziz wrote:

> Hello Everyone,
>
> I 'm  trying to run the load balancer module but I couldn't make it work
> properly. I know it is due to my lack of experience. But I couldn't figure
> out where is my mistake, can any one help please...I implemented it as
> follows:
>
>
>
>
>                                  >  Proxy1>--->UAS1
> UAC-->LoadBalancer>
>                                  >  Proxy2>--->UAS2
>
> Where:
>
> sipp(UAC):192.168.1.70:5062
> opensips(Load Balancer):192.168.1.69:5060
> opensips(Proxy1):192.168.1.69:5061
> opensips(Proxy2):192.168.1.69:5062
> sipp(UAS1):192.168.1.70:5060
> sipp(UAS1):192.168.1.70:5061
>
> I run the sipp command for the caller as follows:
>
> sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060
>
> When I traced the packets using wireshark I saw the error message :
>
> Destination unreachable (port unreachable)
>
>
> The load Balancer table contains the following:
>
>   ---- ----------- ----------------------------- ----------------------------
>   |  id  | group_id | dst_uri                           | resources
> |
>   ---- ----------- ----------------------------- ----------------------------
>   |  1  |        1      | sip:192.168.1.69:5061    |  pstn=32
> |
>   |  2  |        1      | sip:192.168.1.69:5062    |  pstn=32
> |
>   ---- ----------- ----------------------------- ----------------------------
>
>
> the load balancer configuration file is exactly as the one in the load
> balancer tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing)
> except the listen line:
>
> listen=udp:xxx.xxx.xxx.xxx:5060
>
> I changed it to
>
> listen=udp:192.168.1.69:5060
>
>
>
> Note: When I tried to send UAC calls directly to the proxy (e.g: sipp -sn
> uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through the
> load balancer it worked properly which means that my problem is in the load
> balancer.
>
> Best Regards,
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6977880.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

M.Abdulaziz


Hello Mr. Paiu & Mr. Khamis,

Thank you both for your instant responses.


I don't know if the packets reached the balancer but I don't think so.

Because when I compiled the load_balancer.cfg it gives me the following error:

[2920] ERROR: core: yyparse: module 'mi_xmlrpc.so' not found.

Then I search for it in my computer but I couldn't found it. I found only 'mi_xmlrpc.c' , 'mi_xmlrpc.h', and 'mi_xmlrpc.xml'

Thank you,

________________________________________
From: [hidden email] [[hidden email]] On Behalf Of Vlad Paiu [[hidden email]]
Sent: Wednesday, November 09, 2011 4:45 PM
To: [hidden email]
Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work

Hello,

Do the actual SIP packages reach the load balancer ?
Or are the SIP packages reaching it, but it does not forward them to
your proxies ?

Regards,

Vlad Paiu
OpenSIPS Developer


On 11/09/2011 03:03 PM, M.Abdulaziz wrote:

> Hello Everyone,
>
> I 'm  trying to run the load balancer module but I couldn't make it work
> properly. I know it is due to my lack of experience. But I couldn't figure
> out where is my mistake, can any one help please...I implemented it as
> follows:
>
>
>
>
>                                  >  Proxy1>--->UAS1
> UAC-->LoadBalancer>
>                                  >  Proxy2>--->UAS2
>
> Where:
>
> sipp(UAC):192.168.1.70:5062
> opensips(Load Balancer):192.168.1.69:5060
> opensips(Proxy1):192.168.1.69:5061
> opensips(Proxy2):192.168.1.69:5062
> sipp(UAS1):192.168.1.70:5060
> sipp(UAS1):192.168.1.70:5061
>
> I run the sipp command for the caller as follows:
>
> sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060
>
> When I traced the packets using wireshark I saw the error message :
>
> Destination unreachable (port unreachable)
>
>
> The load Balancer table contains the following:
>
>   ---- ----------- ----------------------------- ----------------------------
>   |  id  | group_id | dst_uri                           | resources
> |
>   ---- ----------- ----------------------------- ----------------------------
>   |  1  |        1      | sip:192.168.1.69:5061    |  pstn=32
> |
>   |  2  |        1      | sip:192.168.1.69:5062    |  pstn=32
> |
>   ---- ----------- ----------------------------- ----------------------------
>
>
> the load balancer configuration file is exactly as the one in the load
> balancer tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing)
> except the listen line:
>
> listen=udp:xxx.xxx.xxx.xxx:5060
>
> I changed it to
>
> listen=udp:192.168.1.69:5060
>
>
>
> Note: When I tried to send UAC calls directly to the proxy (e.g: sipp -sn
> uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through the
> load balancer it worked properly which means that my problem is in the load
> balancer.
>
> Best Regards,
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6977880.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Disclaimer:
This communication is intended for the above named person and is confidential and / or legally privileged. Any opinion(s) expressed in this communication are not necessarily those of KSU (King Saud University). If it has come to you in error you must take no action based upon it, nor must you print it, copy it, forward it, or show it to anyone. Please delete and destroy the e-mail and any attachments and inform the sender immediately. Thank you.
KSU is not responsible for the political, religious, racial or partisan opinion in any correspondence conducted by its domain users. Therefore, any such opinion expressed, whether explicitly or implicitly, in any said correspondence is not to be interpreted as that of KSU.
KSU may monitor all incoming and outgoing e-mails in line with KSU business practice. Although KSU has taken steps to ensure that e-mails and attachments are free from any virus, we advise that, in keeping with best business practice, the recipient must ensure they are actually virus free.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

symack
Maysoon,

OpenSIPS is not started. I am actually having the same problem, and
compiled opensips using:

make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
dlg_flag load_balancer" modules
make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
dlg_flag load_balancer" install

I gave up last night, and just starting to look at it again today.
Let's keep each other updated.
List, is there anyway to specify an OpenSIPS debug file is var log?

Cheers,

Ninus.

On Wed, Nov 9, 2011 at 9:14 AM, Maysoon Aaziz Alduwais
<[hidden email]> wrote:

>
>
> Hello Mr. Paiu & Mr. Khamis,
>
> Thank you both for your instant responses.
>
>
> I don't know if the packets reached the balancer but I don't think so.
>
> Because when I compiled the load_balancer.cfg it gives me the following error:
>
> [2920] ERROR: core: yyparse: module 'mi_xmlrpc.so' not found.
>
> Then I search for it in my computer but I couldn't found it. I found only 'mi_xmlrpc.c' , 'mi_xmlrpc.h', and 'mi_xmlrpc.xml'
>
> Thank you,
>
> ________________________________________
> From: [hidden email] [[hidden email]] On Behalf Of Vlad Paiu [[hidden email]]
> Sent: Wednesday, November 09, 2011 4:45 PM
> To: [hidden email]
> Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work
>
> Hello,
>
> Do the actual SIP packages reach the load balancer ?
> Or are the SIP packages reaching it, but it does not forward them to
> your proxies ?
>
> Regards,
>
> Vlad Paiu
> OpenSIPS Developer
>
>
> On 11/09/2011 03:03 PM, M.Abdulaziz wrote:
>> Hello Everyone,
>>
>> I 'm  trying to run the load balancer module but I couldn't make it work
>> properly. I know it is due to my lack of experience. But I couldn't figure
>> out where is my mistake, can any one help please...I implemented it as
>> follows:
>>
>>
>>
>>
>>                                  >  Proxy1>--->UAS1
>> UAC-->LoadBalancer>
>>                                  >  Proxy2>--->UAS2
>>
>> Where:
>>
>> sipp(UAC):192.168.1.70:5062
>> opensips(Load Balancer):192.168.1.69:5060
>> opensips(Proxy1):192.168.1.69:5061
>> opensips(Proxy2):192.168.1.69:5062
>> sipp(UAS1):192.168.1.70:5060
>> sipp(UAS1):192.168.1.70:5061
>>
>> I run the sipp command for the caller as follows:
>>
>> sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060
>>
>> When I traced the packets using wireshark I saw the error message :
>>
>> Destination unreachable (port unreachable)
>>
>>
>> The load Balancer table contains the following:
>>
>>   ---- ----------- ----------------------------- ----------------------------
>>   |  id  | group_id | dst_uri                           | resources
>> |
>>   ---- ----------- ----------------------------- ----------------------------
>>   |  1  |        1      | sip:192.168.1.69:5061    |  pstn=32
>> |
>>   |  2  |        1      | sip:192.168.1.69:5062    |  pstn=32
>> |
>>   ---- ----------- ----------------------------- ----------------------------
>>
>>
>> the load balancer configuration file is exactly as the one in the load
>> balancer tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing)
>> except the listen line:
>>
>> listen=udp:xxx.xxx.xxx.xxx:5060
>>
>> I changed it to
>>
>> listen=udp:192.168.1.69:5060
>>
>>
>>
>> Note: When I tried to send UAC calls directly to the proxy (e.g: sipp -sn
>> uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through the
>> load balancer it worked properly which means that my problem is in the load
>> balancer.
>>
>> Best Regards,
>>
>> --
>> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6977880.html
>> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> Disclaimer:
> This communication is intended for the above named person and is confidential and / or legally privileged. Any opinion(s) expressed in this communication are not necessarily those of KSU (King Saud University). If it has come to you in error you must take no action based upon it, nor must you print it, copy it, forward it, or show it to anyone. Please delete and destroy the e-mail and any attachments and inform the sender immediately. Thank you.
> KSU is not responsible for the political, religious, racial or partisan opinion in any correspondence conducted by its domain users. Therefore, any such opinion expressed, whether explicitly or implicitly, in any said correspondence is not to be interpreted as that of KSU.
> KSU may monitor all incoming and outgoing e-mails in line with KSU business practice. Although KSU has taken steps to ensure that e-mails and attachments are free from any virus, we advise that, in keeping with best business practice, the recipient must ensure they are actually virus free.
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

Vlad Paiu
Hello,

Please check in the Makefile, the 'exclude_modules?=' line. There you
have listed all the modules that have external dependencies, and that
are not compiled by default. If you need db_mysql and you have installed
libmysqlclient-dev, you can safely remove db_mysql from that list. The
same applies for mi_xmlrpc and others.

Also, what do you mean by 'to specify an OpenSIPS debug file is var log?' ?

Regrards,

Vlad Paiu
OpenSIPS Developer


On 11/09/2011 04:25 PM, Nick Khamis wrote:

> Maysoon,
>
> OpenSIPS is not started. I am actually having the same problem, and
> compiled opensips using:
>
> make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
> dlg_flag load_balancer" modules
> make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
> dlg_flag load_balancer" install
>
> I gave up last night, and just starting to look at it again today.
> Let's keep each other updated.
> List, is there anyway to specify an OpenSIPS debug file is var log?
>
> Cheers,
>
> Ninus.
>
> On Wed, Nov 9, 2011 at 9:14 AM, Maysoon Aaziz Alduwais
> <[hidden email]>  wrote:
>>
>> Hello Mr. Paiu&  Mr. Khamis,
>>
>> Thank you both for your instant responses.
>>
>>
>> I don't know if the packets reached the balancer but I don't think so.
>>
>> Because when I compiled the load_balancer.cfg it gives me the following error:
>>
>> [2920] ERROR: core: yyparse: module 'mi_xmlrpc.so' not found.
>>
>> Then I search for it in my computer but I couldn't found it. I found only 'mi_xmlrpc.c' , 'mi_xmlrpc.h', and 'mi_xmlrpc.xml'
>>
>> Thank you,
>>
>> ________________________________________
>> From: [hidden email] [[hidden email]] On Behalf Of Vlad Paiu [[hidden email]]
>> Sent: Wednesday, November 09, 2011 4:45 PM
>> To: [hidden email]
>> Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work
>>
>> Hello,
>>
>> Do the actual SIP packages reach the load balancer ?
>> Or are the SIP packages reaching it, but it does not forward them to
>> your proxies ?
>>
>> Regards,
>>
>> Vlad Paiu
>> OpenSIPS Developer
>>
>>
>> On 11/09/2011 03:03 PM, M.Abdulaziz wrote:
>>> Hello Everyone,
>>>
>>> I 'm  trying to run the load balancer module but I couldn't make it work
>>> properly. I know it is due to my lack of experience. But I couldn't figure
>>> out where is my mistake, can any one help please...I implemented it as
>>> follows:
>>>
>>>
>>>
>>>
>>>                                   >    Proxy1>--->UAS1
>>> UAC-->LoadBalancer>
>>>                                   >    Proxy2>--->UAS2
>>>
>>> Where:
>>>
>>> sipp(UAC):192.168.1.70:5062
>>> opensips(Load Balancer):192.168.1.69:5060
>>> opensips(Proxy1):192.168.1.69:5061
>>> opensips(Proxy2):192.168.1.69:5062
>>> sipp(UAS1):192.168.1.70:5060
>>> sipp(UAS1):192.168.1.70:5061
>>>
>>> I run the sipp command for the caller as follows:
>>>
>>> sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060
>>>
>>> When I traced the packets using wireshark I saw the error message :
>>>
>>> Destination unreachable (port unreachable)
>>>
>>>
>>> The load Balancer table contains the following:
>>>
>>>    ---- ----------- ----------------------------- ----------------------------
>>>    |  id  | group_id | dst_uri                           | resources
>>> |
>>>    ---- ----------- ----------------------------- ----------------------------
>>>    |  1  |        1      | sip:192.168.1.69:5061    |  pstn=32
>>> |
>>>    |  2  |        1      | sip:192.168.1.69:5062    |  pstn=32
>>> |
>>>    ---- ----------- ----------------------------- ----------------------------
>>>
>>>
>>> the load balancer configuration file is exactly as the one in the load
>>> balancer tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing)
>>> except the listen line:
>>>
>>> listen=udp:xxx.xxx.xxx.xxx:5060
>>>
>>> I changed it to
>>>
>>> listen=udp:192.168.1.69:5060
>>>
>>>
>>>
>>> Note: When I tried to send UAC calls directly to the proxy (e.g: sipp -sn
>>> uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through the
>>> load balancer it worked properly which means that my problem is in the load
>>> balancer.
>>>
>>> Best Regards,
>>>
>>> --
>>> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6977880.html
>>> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> [hidden email]
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>> Disclaimer:
>> This communication is intended for the above named person and is confidential and / or legally privileged. Any opinion(s) expressed in this communication are not necessarily those of KSU (King Saud University). If it has come to you in error you must take no action based upon it, nor must you print it, copy it, forward it, or show it to anyone. Please delete and destroy the e-mail and any attachments and inform the sender immediately. Thank you.
>> KSU is not responsible for the political, religious, racial or partisan opinion in any correspondence conducted by its domain users. Therefore, any such opinion expressed, whether explicitly or implicitly, in any said correspondence is not to be interpreted as that of KSU.
>> KSU may monitor all incoming and outgoing e-mails in line with KSU business practice. Although KSU has taken steps to ensure that e-mails and attachments are free from any virus, we advise that, in keeping with best business practice, the recipient must ensure they are actually virus free.
>>
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

symack
Hello Vlad,

Thank you so much for your response, I just compiled using:

make all prefix=/usr/local include_modules="db_mysql xlog dialog
mi_xmlrpc dlg_flag load_balancer" modules
make install prefix=/usr/local include_modules="db_mysql xlog dialog
mi_xmlrpc dlg_flag load_balancer" modules

And the original load module errors have been fixed. Now I just need
to look into:

Nov  9 12:02:11 [1242] ERROR:tm:fixup_broute: branch route <2> does not exist
Nov  9 12:02:11 [1242] ERROR:core:fix_actions: fixing failed (code=-1)
at cfg line 394
Nov  9 12:02:11 [1242] ERROR:core:main: failed to fix configuration
with err code -1

route[1] {
        # for INVITEs enable some additional helper routes
        if (is_method("INVITE")) {
                t_on_branch("2");
                t_on_reply("2");
                t_on_failure("1");
        }

        if (!t_relay()) {
                #sl_reply_error();
        };
        exit;
}

In terms of the log, I was referring to having opensipps write all
messages to a specific log file using
a log_file=/var/log/opensips for example. I am brand new to OpenSIPS,
and I see it's amazing potential.
Maysoon, sorry about the email hijack however, we are working on the same thing.

Ninus.






On Wed, Nov 9, 2011 at 11:13 AM, Vlad Paiu <[hidden email]> wrote:

> Hello,
>
> Please check in the Makefile, the 'exclude_modules?=' line. There you have
> listed all the modules that have external dependencies, and that are not
> compiled by default. If you need db_mysql and you have installed
> libmysqlclient-dev, you can safely remove db_mysql from that list. The same
> applies for mi_xmlrpc and others.
>
> Also, what do you mean by 'to specify an OpenSIPS debug file is var log?' ?
>
> Regrards,
>
> Vlad Paiu
> OpenSIPS Developer
>
>
> On 11/09/2011 04:25 PM, Nick Khamis wrote:
>>
>> Maysoon,
>>
>> OpenSIPS is not started. I am actually having the same problem, and
>> compiled opensips using:
>>
>> make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
>> dlg_flag load_balancer" modules
>> make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
>> dlg_flag load_balancer" install
>>
>> I gave up last night, and just starting to look at it again today.
>> Let's keep each other updated.
>> List, is there anyway to specify an OpenSIPS debug file is var log?
>>
>> Cheers,
>>
>> Ninus.
>>
>> On Wed, Nov 9, 2011 at 9:14 AM, Maysoon Aaziz Alduwais
>> <[hidden email]>  wrote:
>>>
>>> Hello Mr. Paiu&  Mr. Khamis,
>>>
>>> Thank you both for your instant responses.
>>>
>>>
>>> I don't know if the packets reached the balancer but I don't think so.
>>>
>>> Because when I compiled the load_balancer.cfg it gives me the following
>>> error:
>>>
>>> [2920] ERROR: core: yyparse: module 'mi_xmlrpc.so' not found.
>>>
>>> Then I search for it in my computer but I couldn't found it. I found only
>>> 'mi_xmlrpc.c' , 'mi_xmlrpc.h', and 'mi_xmlrpc.xml'
>>>
>>> Thank you,
>>>
>>> ________________________________________
>>> From: [hidden email] [[hidden email]]
>>> On Behalf Of Vlad Paiu [[hidden email]]
>>> Sent: Wednesday, November 09, 2011 4:45 PM
>>> To: [hidden email]
>>> Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work
>>>
>>> Hello,
>>>
>>> Do the actual SIP packages reach the load balancer ?
>>> Or are the SIP packages reaching it, but it does not forward them to
>>> your proxies ?
>>>
>>> Regards,
>>>
>>> Vlad Paiu
>>> OpenSIPS Developer
>>>
>>>
>>> On 11/09/2011 03:03 PM, M.Abdulaziz wrote:
>>>>
>>>> Hello Everyone,
>>>>
>>>> I 'm  trying to run the load balancer module but I couldn't make it work
>>>> properly. I know it is due to my lack of experience. But I couldn't
>>>> figure
>>>> out where is my mistake, can any one help please...I implemented it as
>>>> follows:
>>>>
>>>>
>>>>
>>>>
>>>>                                  >    Proxy1>--->UAS1
>>>> UAC-->LoadBalancer>
>>>>                                  >    Proxy2>--->UAS2
>>>>
>>>> Where:
>>>>
>>>> sipp(UAC):192.168.1.70:5062
>>>> opensips(Load Balancer):192.168.1.69:5060
>>>> opensips(Proxy1):192.168.1.69:5061
>>>> opensips(Proxy2):192.168.1.69:5062
>>>> sipp(UAS1):192.168.1.70:5060
>>>> sipp(UAS1):192.168.1.70:5061
>>>>
>>>> I run the sipp command for the caller as follows:
>>>>
>>>> sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060
>>>>
>>>> When I traced the packets using wireshark I saw the error message :
>>>>
>>>> Destination unreachable (port unreachable)
>>>>
>>>>
>>>> The load Balancer table contains the following:
>>>>
>>>>   ---- ----------- -----------------------------
>>>> ----------------------------
>>>>   |  id  | group_id | dst_uri                           | resources
>>>> |
>>>>   ---- ----------- -----------------------------
>>>> ----------------------------
>>>>   |  1  |        1      | sip:192.168.1.69:5061    |  pstn=32
>>>> |
>>>>   |  2  |        1      | sip:192.168.1.69:5062    |  pstn=32
>>>> |
>>>>   ---- ----------- -----------------------------
>>>> ----------------------------
>>>>
>>>>
>>>> the load balancer configuration file is exactly as the one in the load
>>>> balancer
>>>> tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing)
>>>> except the listen line:
>>>>
>>>> listen=udp:xxx.xxx.xxx.xxx:5060
>>>>
>>>> I changed it to
>>>>
>>>> listen=udp:192.168.1.69:5060
>>>>
>>>>
>>>>
>>>> Note: When I tried to send UAC calls directly to the proxy (e.g: sipp
>>>> -sn
>>>> uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through
>>>> the
>>>> load balancer it worked properly which means that my problem is in the
>>>> load
>>>> balancer.
>>>>
>>>> Best Regards,
>>>>
>>>> --
>>>> View this message in context:
>>>> http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6977880.html
>>>> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> [hidden email]
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>> _______________________________________________
>>> Users mailing list
>>> [hidden email]
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>> Disclaimer:
>>> This communication is intended for the above named person and is
>>> confidential and / or legally privileged. Any opinion(s) expressed in this
>>> communication are not necessarily those of KSU (King Saud University). If it
>>> has come to you in error you must take no action based upon it, nor must you
>>> print it, copy it, forward it, or show it to anyone. Please delete and
>>> destroy the e-mail and any attachments and inform the sender immediately.
>>> Thank you.
>>> KSU is not responsible for the political, religious, racial or partisan
>>> opinion in any correspondence conducted by its domain users. Therefore, any
>>> such opinion expressed, whether explicitly or implicitly, in any said
>>> correspondence is not to be interpreted as that of KSU.
>>> KSU may monitor all incoming and outgoing e-mails in line with KSU
>>> business practice. Although KSU has taken steps to ensure that e-mails and
>>> attachments are free from any virus, we advise that, in keeping with best
>>> business practice, the recipient must ensure they are actually virus free.
>>>
>>> _______________________________________________
>>> Users mailing list
>>> [hidden email]
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

Vlad Paiu
Hello,

Seems that you are attempting to arm the failure route with
     t_on_branch("2")

but you do not have any failure_route[2] defined.


To have OpenSIPS log to /var/log/opensips.log you will have to configure
OpenSIPS to log at syslog via
     log_stderror=no
     log_facility=LOG_LOCAL1

and then in your syslog configuration assign local1.* to
/var/log/opensips.log .

Regards,
Vlad

Vlad Paiu
OpenSIPS Developer


On 11/09/2011 07:12 PM, Nick Khamis wrote:

> Hello Vlad,
>
> Thank you so much for your response, I just compiled using:
>
> make all prefix=/usr/local include_modules="db_mysql xlog dialog
> mi_xmlrpc dlg_flag load_balancer" modules
> make install prefix=/usr/local include_modules="db_mysql xlog dialog
> mi_xmlrpc dlg_flag load_balancer" modules
>
> And the original load module errors have been fixed. Now I just need
> to look into:
>
> Nov  9 12:02:11 [1242] ERROR:tm:fixup_broute: branch route<2>  does not exist
> Nov  9 12:02:11 [1242] ERROR:core:fix_actions: fixing failed (code=-1)
> at cfg line 394
> Nov  9 12:02:11 [1242] ERROR:core:main: failed to fix configuration
> with err code -1
>
> route[1] {
> # for INVITEs enable some additional helper routes
> if (is_method("INVITE")) {
> t_on_branch("2");
> t_on_reply("2");
> t_on_failure("1");
> }
>
> if (!t_relay()) {
> #sl_reply_error();
> };
> exit;
> }
>
> In terms of the log, I was referring to having opensipps write all
> messages to a specific log file using
> a log_file=/var/log/opensips for example. I am brand new to OpenSIPS,
> and I see it's amazing potential.
> Maysoon, sorry about the email hijack however, we are working on the same thing.
>
> Ninus.
>
>
>
>
>
>
> On Wed, Nov 9, 2011 at 11:13 AM, Vlad Paiu<[hidden email]>  wrote:
>> Hello,
>>
>> Please check in the Makefile, the 'exclude_modules?=' line. There you have
>> listed all the modules that have external dependencies, and that are not
>> compiled by default. If you need db_mysql and you have installed
>> libmysqlclient-dev, you can safely remove db_mysql from that list. The same
>> applies for mi_xmlrpc and others.
>>
>> Also, what do you mean by 'to specify an OpenSIPS debug file is var log?' ?
>>
>> Regrards,
>>
>> Vlad Paiu
>> OpenSIPS Developer
>>
>>
>> On 11/09/2011 04:25 PM, Nick Khamis wrote:
>>> Maysoon,
>>>
>>> OpenSIPS is not started. I am actually having the same problem, and
>>> compiled opensips using:
>>>
>>> make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
>>> dlg_flag load_balancer" modules
>>> make prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
>>> dlg_flag load_balancer" install
>>>
>>> I gave up last night, and just starting to look at it again today.
>>> Let's keep each other updated.
>>> List, is there anyway to specify an OpenSIPS debug file is var log?
>>>
>>> Cheers,
>>>
>>> Ninus.
>>>
>>> On Wed, Nov 9, 2011 at 9:14 AM, Maysoon Aaziz Alduwais
>>> <[hidden email]>    wrote:
>>>> Hello Mr. Paiu&    Mr. Khamis,
>>>>
>>>> Thank you both for your instant responses.
>>>>
>>>>
>>>> I don't know if the packets reached the balancer but I don't think so.
>>>>
>>>> Because when I compiled the load_balancer.cfg it gives me the following
>>>> error:
>>>>
>>>> [2920] ERROR: core: yyparse: module 'mi_xmlrpc.so' not found.
>>>>
>>>> Then I search for it in my computer but I couldn't found it. I found only
>>>> 'mi_xmlrpc.c' , 'mi_xmlrpc.h', and 'mi_xmlrpc.xml'
>>>>
>>>> Thank you,
>>>>
>>>> ________________________________________
>>>> From: [hidden email] [[hidden email]]
>>>> On Behalf Of Vlad Paiu [[hidden email]]
>>>> Sent: Wednesday, November 09, 2011 4:45 PM
>>>> To: [hidden email]
>>>> Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work
>>>>
>>>> Hello,
>>>>
>>>> Do the actual SIP packages reach the load balancer ?
>>>> Or are the SIP packages reaching it, but it does not forward them to
>>>> your proxies ?
>>>>
>>>> Regards,
>>>>
>>>> Vlad Paiu
>>>> OpenSIPS Developer
>>>>
>>>>
>>>> On 11/09/2011 03:03 PM, M.Abdulaziz wrote:
>>>>> Hello Everyone,
>>>>>
>>>>> I 'm  trying to run the load balancer module but I couldn't make it work
>>>>> properly. I know it is due to my lack of experience. But I couldn't
>>>>> figure
>>>>> out where is my mistake, can any one help please...I implemented it as
>>>>> follows:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>                                   >      Proxy1>--->UAS1
>>>>> UAC-->LoadBalancer>
>>>>>                                   >      Proxy2>--->UAS2
>>>>>
>>>>> Where:
>>>>>
>>>>> sipp(UAC):192.168.1.70:5062
>>>>> opensips(Load Balancer):192.168.1.69:5060
>>>>> opensips(Proxy1):192.168.1.69:5061
>>>>> opensips(Proxy2):192.168.1.69:5062
>>>>> sipp(UAS1):192.168.1.70:5060
>>>>> sipp(UAS1):192.168.1.70:5061
>>>>>
>>>>> I run the sipp command for the caller as follows:
>>>>>
>>>>> sipp -sn uac -rsa   192.168.1.69:5060 192.168.1.70:5060
>>>>>
>>>>> When I traced the packets using wireshark I saw the error message :
>>>>>
>>>>> Destination unreachable (port unreachable)
>>>>>
>>>>>
>>>>> The load Balancer table contains the following:
>>>>>
>>>>>    ---- ----------- -----------------------------
>>>>> ----------------------------
>>>>>    |  id  | group_id | dst_uri                           | resources
>>>>> |
>>>>>    ---- ----------- -----------------------------
>>>>> ----------------------------
>>>>>    |  1  |        1      | sip:192.168.1.69:5061    |  pstn=32
>>>>> |
>>>>>    |  2  |        1      | sip:192.168.1.69:5062    |  pstn=32
>>>>> |
>>>>>    ---- ----------- -----------------------------
>>>>> ----------------------------
>>>>>
>>>>>
>>>>> the load balancer configuration file is exactly as the one in the load
>>>>> balancer
>>>>> tutorial(http://www.opensips.org/Resources/DocsTutLoadbalancing)
>>>>> except the listen line:
>>>>>
>>>>> listen=udp:xxx.xxx.xxx.xxx:5060
>>>>>
>>>>> I changed it to
>>>>>
>>>>> listen=udp:192.168.1.69:5060
>>>>>
>>>>>
>>>>>
>>>>> Note: When I tried to send UAC calls directly to the proxy (e.g: sipp
>>>>> -sn
>>>>> uac -rsa  192.168.1.69:5061 192.168.1.70:5060) without passing through
>>>>> the
>>>>> load balancer it worked properly which means that my problem is in the
>>>>> load
>>>>> balancer.
>>>>>
>>>>> Best Regards,
>>>>>
>>>>> --
>>>>> View this message in context:
>>>>> http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6977880.html
>>>>> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>>>>>
>>>>> _______________________________________________
>>>>> Users mailing list
>>>>> [hidden email]
>>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>> _______________________________________________
>>>> Users mailing list
>>>> [hidden email]
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>>> Disclaimer:
>>>> This communication is intended for the above named person and is
>>>> confidential and / or legally privileged. Any opinion(s) expressed in this
>>>> communication are not necessarily those of KSU (King Saud University). If it
>>>> has come to you in error you must take no action based upon it, nor must you
>>>> print it, copy it, forward it, or show it to anyone. Please delete and
>>>> destroy the e-mail and any attachments and inform the sender immediately.
>>>> Thank you.
>>>> KSU is not responsible for the political, religious, racial or partisan
>>>> opinion in any correspondence conducted by its domain users. Therefore, any
>>>> such opinion expressed, whether explicitly or implicitly, in any said
>>>> correspondence is not to be interpreted as that of KSU.
>>>> KSU may monitor all incoming and outgoing e-mails in line with KSU
>>>> business practice. Although KSU has taken steps to ensure that e-mails and
>>>> attachments are free from any virus, we advise that, in keeping with best
>>>> business practice, the recipient must ensure they are actually virus free.
>>>>
>>>> _______________________________________________
>>>> Users mailing list
>>>> [hidden email]
>>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>>
>>> _______________________________________________
>>> Users mailing list
>>> [hidden email]
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>> _______________________________________________
>> Users mailing list
>> [hidden email]
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

symack
Maysoon,

Is it working for you? Please make sure to delete everything in your
system (except for your configs), and reinstall using:
make all prefix=/usr/local include_modules="db_mysql xlog dialog
mi_xmlrpc dlg_flag load_balancer" modules
make install prefix=/usr/local include_modules="db_mysql xlog dialog
mi_xmlrpc dlg_flag load_balancer" modules


Ninus.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

M.Abdulaziz


Hello Mr.Khamis,

Very sorry for not responding in time I was very busy.


& thank you for suggesting this solution I'll try it if it goes well I'll inform you.


Many thanks to all the Opensips users & developers for their help & cooperation.
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

M.Abdulaziz


Hello, When I tried to run the make commands

make all prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc dlg_flag load_balancer" modules

make install prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc dlg_flag load_balancer" modules


 I got the follwing error:

Cannot create temporary file in /tmp/: Invalid argument

How to fix this?
________________________________________
From: [hidden email] [[hidden email]] On Behalf Of M.Abdulaziz [[hidden email]]
Sent: Wednesday, November 09, 2011 10:23 PM
To: [hidden email]
Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work

Hello Mr.Khamis,

Very sorry for not responding in time I was very busy.


& thank you for suggesting this solution I'll try it if it goes well I'll
inform you.


Many thanks to all the Opensips users & developers for their help &
cooperation.

--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6979184.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Disclaimer:
This communication is intended for the above named person and is confidential and / or legally privileged. Any opinion(s) expressed in this communication are not necessarily those of KSU (King Saud University). If it has come to you in error you must take no action based upon it, nor must you print it, copy it, forward it, or show it to anyone. Please delete and destroy the e-mail and any attachments and inform the sender immediately. Thank you.
KSU is not responsible for the political, religious, racial or partisan opinion in any correspondence conducted by its domain users. Therefore, any such opinion expressed, whether explicitly or implicitly, in any said correspondence is not to be interpreted as that of KSU.
KSU may monitor all incoming and outgoing e-mails in line with KSU business practice. Although KSU has taken steps to ensure that e-mails and attachments are free from any virus, we advise that, in keeping with best business practice, the recipient must ensure they are actually virus free.

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

osiris123d
When I compile I don't have the word modules after the end of my quotes.



On , Maysoon Aaziz Alduwais <[hidden email]> wrote:

>
>
>
>
> Hello, When I tried to run the make commands
>
>
>
> make all prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc dlg_flag load_balancer" modules
>
>
>
> make install prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc dlg_flag load_balancer" modules
>
>
>
>
>
>  I got the follwing error:
>
>
>
> Cannot create temporary file in /tmp/: Invalid argument
>
>
>
> How to fix this?
>
> ________________________________________
>
> From: [hidden email] [[hidden email]] On Behalf Of M.Abdulaziz [[hidden email]]
>
> Sent: Wednesday, November 09, 2011 10:23 PM
>
> To: [hidden email]
>
> Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work
>
>
>
> Hello Mr.Khamis,
>
>
>
> Very sorry for not responding in time I was very busy.
>
>
>
>
>
> & thank you for suggesting this solution I'll try it if it goes well I'll
>
> inform you.
>
>
>
>
>
> Many thanks to all the Opensips users & developers for their help &
>
> cooperation.
>
>
>
> --
>
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6979184.html
>
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
>
>
> _______________________________________________
>
> Users mailing list
>
> [hidden email]
>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
> Disclaimer:
>
> This communication is intended for the above named person and is confidential and / or legally privileged. Any opinion(s) expressed in this communication are not necessarily those of KSU (King Saud University). If it has come to you in error you must take no action based upon it, nor must you print it, copy it, forward it, or show it to anyone. Please delete and destroy the e-mail and any attachments and inform the sender immediately. Thank you.
>
> KSU is not responsible for the political, religious, racial or partisan opinion in any correspondence conducted by its domain users. Therefore, any such opinion expressed, whether explicitly or implicitly, in any said correspondence is not to be interpreted as that of KSU.
>
> KSU may monitor all incoming and outgoing e-mails in line with KSU business practice. Although KSU has taken steps to ensure that e-mails and attachments are free from any virus, we advise that, in keeping with best business practice, the recipient must ensure they are actually virus free.
>
>
>
> _______________________________________________
>
> Users mailing list
>
> [hidden email]
>
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

symack
Yeah, I always thoght that was strange...

Nick.

On Wed, Nov 9, 2011 at 5:41 PM,  <[hidden email]> wrote:

> When I compile I don't have the word modules after the end of my quotes.
>
>
>
> On , Maysoon Aaziz Alduwais <[hidden email]> wrote:
>>
>>
>>
>>
>> Hello, When I tried to run the make commands
>>
>>
>>
>> make all prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc
>> dlg_flag load_balancer" modules
>>
>>
>>
>> make install prefix=/usr/local include_modules="db_mysql xlog dialog
>> mi_xmlrpc dlg_flag load_balancer" modules
>>
>>
>>
>>
>>
>>  I got the follwing error:
>>
>>
>>
>> Cannot create temporary file in /tmp/: Invalid argument
>>
>>
>>
>> How to fix this?
>>
>> ________________________________________
>>
>> From: [hidden email] [[hidden email]]
>> On Behalf Of M.Abdulaziz [[hidden email]]
>>
>> Sent: Wednesday, November 09, 2011 10:23 PM
>>
>> To: [hidden email]
>>
>> Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work
>>
>>
>>
>> Hello Mr.Khamis,
>>
>>
>>
>> Very sorry for not responding in time I was very busy.
>>
>>
>>
>>
>>
>> & thank you for suggesting this solution I'll try it if it goes well I'll
>>
>> inform you.
>>
>>
>>
>>
>>
>> Many thanks to all the Opensips users & developers for their help &
>>
>> cooperation.
>>
>>
>>
>> --
>>
>> View this message in context:
>> http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6979184.html
>>
>> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>>
>>
>>
>> _______________________________________________
>>
>> Users mailing list
>>
>> [hidden email]
>>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>>
>> Disclaimer:
>>
>> This communication is intended for the above named person and is
>> confidential and / or legally privileged. Any opinion(s) expressed in this
>> communication are not necessarily those of KSU (King Saud University). If it
>> has come to you in error you must take no action based upon it, nor must you
>> print it, copy it, forward it, or show it to anyone. Please delete and
>> destroy the e-mail and any attachments and inform the sender immediately.
>> Thank you.
>>
>> KSU is not responsible for the political, religious, racial or partisan
>> opinion in any correspondence conducted by its domain users. Therefore, any
>> such opinion expressed, whether explicitly or implicitly, in any said
>> correspondence is not to be interpreted as that of KSU.
>>
>> KSU may monitor all incoming and outgoing e-mails in line with KSU
>> business practice. Although KSU has taken steps to ensure that e-mails and
>> attachments are free from any virus, we advise that, in keeping with best
>> business practice, the recipient must ensure they are actually virus free.
>>
>>
>>
>> _______________________________________________
>>
>> Users mailing list
>>
>> [hidden email]
>>
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

symack
In reply to this post by M.Abdulaziz
What are you installing it on, and are you using root?

Ninus.

On Wed, Nov 9, 2011 at 5:19 PM, Maysoon Aaziz Alduwais
<[hidden email]> wrote:

>
>
> Hello, When I tried to run the make commands
>
> make all prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc dlg_flag load_balancer" modules
>
> make install prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc dlg_flag load_balancer" modules
>
>
>  I got the follwing error:
>
> Cannot create temporary file in /tmp/: Invalid argument
>
> How to fix this?
> ________________________________________
> From: [hidden email] [[hidden email]] On Behalf Of M.Abdulaziz [[hidden email]]
> Sent: Wednesday, November 09, 2011 10:23 PM
> To: [hidden email]
> Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work
>
> Hello Mr.Khamis,
>
> Very sorry for not responding in time I was very busy.
>
>
> & thank you for suggesting this solution I'll try it if it goes well I'll
> inform you.
>
>
> Many thanks to all the Opensips users & developers for their help &
> cooperation.
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6979184.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> Disclaimer:
> This communication is intended for the above named person and is confidential and / or legally privileged. Any opinion(s) expressed in this communication are not necessarily those of KSU (King Saud University). If it has come to you in error you must take no action based upon it, nor must you print it, copy it, forward it, or show it to anyone. Please delete and destroy the e-mail and any attachments and inform the sender immediately. Thank you.
> KSU is not responsible for the political, religious, racial or partisan opinion in any correspondence conducted by its domain users. Therefore, any such opinion expressed, whether explicitly or implicitly, in any said correspondence is not to be interpreted as that of KSU.
> KSU may monitor all incoming and outgoing e-mails in line with KSU business practice. Although KSU has taken steps to ensure that e-mails and attachments are free from any virus, we advise that, in keeping with best business practice, the recipient must ensure they are actually virus free.
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

M.Abdulaziz

I have opensips version 1.5.1-tls & I'm running this command from the root.

Did you try the solution suggested by Mr.Paiu (the exclude modules line) in the Makefile? I'll try it, I hope it works.

Best Wishes,

________________________________________
From: [hidden email] [[hidden email]] On Behalf Of Nick Khamis [[hidden email]]
Sent: Thursday, November 10, 2011 1:44 AM
To: OpenSIPS users mailling list
Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work

What are you installing it on, and are you using root?

Ninus.

On Wed, Nov 9, 2011 at 5:19 PM, Maysoon Aaziz Alduwais
<[hidden email]> wrote:

>
>
> Hello, When I tried to run the make commands
>
> make all prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc dlg_flag load_balancer" modules
>
> make install prefix=/usr/local include_modules="db_mysql xlog dialog mi_xmlrpc dlg_flag load_balancer" modules
>
>
>  I got the follwing error:
>
> Cannot create temporary file in /tmp/: Invalid argument
>
> How to fix this?
> ________________________________________
> From: [hidden email] [[hidden email]] On Behalf Of M.Abdulaziz [[hidden email]]
> Sent: Wednesday, November 09, 2011 10:23 PM
> To: [hidden email]
> Subject: Re: [OpenSIPS-Users] Unable to make the load balancer work
>
> Hello Mr.Khamis,
>
> Very sorry for not responding in time I was very busy.
>
>
> & thank you for suggesting this solution I'll try it if it goes well I'll
> inform you.
>
>
> Many thanks to all the Opensips users & developers for their help &
> cooperation.
>
> --
> View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Unable-to-make-the-load-balancer-work-tp6977880p6979184.html
> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
> Disclaimer:
> This communication is intended for the above named person and is confidential and / or legally privileged. Any opinion(s) expressed in this communication are not necessarily those of KSU (King Saud University). If it has come to you in error you must take no action based upon it, nor must you print it, copy it, forward it, or show it to anyone. Please delete and destroy the e-mail and any attachments and inform the sender immediately. Thank you.
> KSU is not responsible for the political, religious, racial or partisan opinion in any correspondence conducted by its domain users. Therefore, any such opinion expressed, whether explicitly or implicitly, in any said correspondence is not to be interpreted as that of KSU.
> KSU may monitor all incoming and outgoing e-mails in line with KSU business practice. Although KSU has taken steps to ensure that e-mails and attachments are free from any virus, we advise that, in keeping with best business practice, the recipient must ensure they are actually virus free.
>
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>

_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: Unable to make the load balancer work

M.Abdulaziz
In reply to this post by osiris123d
Yes you are right osiris, mistakenly I wrote the word 'module' in the post but it didn't work even afetr I fixed it. :(