<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt">Hi Jorge,<br><br>Modify the IPTABLES parameter.<br><br>Read section "Loading iptables Modules to Particular VPSs" in OpenVZ user guide:<br><a href="http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf">http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf</a><br><br><br>// Binan<br><div><span><br></span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">Från:</span></b> Jorge Ortea <darham@hotmail.com><br> <b><span style="font-weight: bold;">Till:</span></b> Binan AL Halabi <binanalhalabi@yahoo.com> <br> <b><span style="font-weight: bold;">Skickat:</span></b> fredag, 5 oktober 2012
9:05<br> <b><span style="font-weight: bold;">Ämne:</span></b> RE: [OpenSIPS-Users] media-relay problem<br> </font> </div> <br>
<div id="yiv158562174">
<style><!--
#yiv158562174 .yiv158562174hmmessage P
{
margin:0px;padding:0px;}
#yiv158562174 body.yiv158562174hmmessage
{
font-size:12pt;font-family:Calibri;}
--></style>
<div><div dir="ltr">Hi Binan,<br><br>I am trying with Mediaproxy 2.5.2 and I get the same result:<br><br>[root@vir-voip01 bin]# ./media-relay --no-fork<br>FATAL: Error inserting ip_tables (/lib/modules/2.6.32-042stab053.5/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted<br>Starting MediaProxy Relay 2.5.2<br>Set resource limit for maximum open file descriptors to 11000<br>gc: collectable <tuple 0x9d26cac><br>gc: collectable <StgDict 0x9ce19ec><br>gc: collectable <_ctypes.ArrayType 0x9d82dac><br>gc: collectable <getset_descriptor 0x9d5236c><br>gc: collectable <getset_descriptor 0x9d5224c><br>gc: collectable <tuple 0xb77232ac><br>gc: collectable <tuple 0x9d52e0c><br>gc: collectable <StgDict 0x9ce1abc><br>gc: collectable <_ctypes.ArrayType 0x9d84c3c><br>gc: collectable <getset_descriptor 0x9d52ecc><br>gc: collectable <getset_descriptor 0x9d52eec><br>gc: collectable <tuple
0x9d4fd4c><br>gc: collectable <getset_descriptor 0x9d52f0c><br>gc: collectable <getset_descriptor 0x9d52f2c><br>fatal error: failed to create MediaProxy Relay: No such file or directory<br>Traceback (most recent call last):<br> File "./media-relay", line 103, in <module><br> relay = MediaRelay()<br> File "/usr/lib/python2.6/site-packages/mediaproxy/relay.py", line 320, in __init__<br> self.session_manager = SessionManager(self, Config.port_range.start, Config.port_range.end)<br> File "/usr/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", line 683, in __init__<br> self.watcher = _conntrack.ExpireWatcher()<br>Error: No such file or directory<br><br><br><br>This machine is a VPS over OpenVZ, the provider told me that this kernel can not load modules, but that this kernel have already loaded that module. ?¿<br><br>What could be happening?<br><br>Very
thanks.<br>Regards.<br><br><br><div><div id="yiv158562174SkyDrivePlaceholder"></div><hr id="yiv158562174stopSpelling">Date: Thu, 4 Oct 2012 04:44:31 -0700<br>From: binanalhalabi@yahoo.com<br>To: users@lists.opensips.org<br>Subject: Re: [OpenSIPS-Users] media-relay problem<br><br><div style="color:#000;background-color:#fff;font-family:times new roman, new york, times, serif;font-size:10pt;">Hi,<br><br>In Centus 6 The iptables libraries have been changed, the old are no longer supported - iptable_nat !!!!!!<br>use last version of Media proxy with centus 6<br>or<br>Mediaproxy 2.4.4 with centos 5<br><br>Iptables should be installed by default on all CentOS 5.x and 6.x installations.<br>Enable iptables : system-config-securitylevel<br><br><pre><i>// Binan<br></i></pre><div><br></div> <div style="font-family:times new roman, new york, times, serif;font-size:10pt;"> <div style="font-family:times new roman, new york, times, serif;font-size:12pt;"> <div
dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">Från:</span></b> Jorge Ortea <darham@hotmail.com><br> <b><span style="font-weight:bold;">Till:</span></b> OPENSIPS <users@lists.opensips.org> <br> <b><span style="font-weight:bold;">Skickat:</span></b> torsdag, 4 oktober 2012 10:59<br> <b><span style="font-weight:bold;">Ämne:</span></b> Re: [OpenSIPS-Users] media-relay problem<br> </font> </div> <br>
<div id="yiv158562174ecxyiv275042676">
<style><!--
#yiv158562174 .yiv158562174ExternalClass #yiv158562174ecxyiv275042676 .yiv158562174ecxyiv275042676hmmessage P
{padding:0px;}
#yiv158562174 .yiv158562174ExternalClass #yiv158562174ecxyiv275042676 body.yiv158562174ecxyiv275042676hmmessage
{font-size:12pt;font-family:Calibri;}
--></style>
<div><div dir="ltr">Hi Saul,<br><br>In other cases I load the iptable_nat module in Centos 5, but in this VM (Centos 6), lsmod not show anything and if I try load this module:<br><br>[root@vir-voip01 /]# modprobe iptable_nat<br>FATAL: Could not load /lib/modules/2.6.32-042stab053.5/modules.dep: No such file or directory<br><br>Any idea?<br><br>Very Thanks.<br>Regards.<br><br><br><div><div id="yiv158562174ecxyiv275042676SkyDrivePlaceholder"></div>> From: saul@ag-projects.com<br>> Date: Thu, 4 Oct 2012 10:43:46 +0200<br>> To: users@lists.opensips.org<br>> Subject: Re: [OpenSIPS-Users] media-relay problem<br>> <br>> Hi,<br>> <br>> On Oct 4, 2012, at 10:26 AM, Jorge Ortea wrote:<br>> <br>> > Hi all,<br>> > <br>> > I just installed Mediaproxy in a virtual machine and when I start media-relay, it returns error:<br>> > (I had previously installed mediaproxy correctly)<br>> > <br>> > [root@vir-voip01
lib]#
/usr/bin/media-relay --no-fork<br>> > Starting MediaProxy Relay 2.4.4<br>> > Set resource limit for maximum open file descriptors to 11000<br>> > gc: collectable <tuple 0x96a7fcc><br>> > gc: collectable <StgDict 0x9642abc><br>> > gc: collectable <_ctypes.ArrayType 0x96e5a84><br>> > gc: collectable <getset_descriptor 0x96ad3ac><br>> > gc: collectable <getset_descriptor 0x96ad42c><br>> > gc: collectable <tuple 0xb77652ac><br>> > gc: collectable <tuple 0x96ad46c><br>> > gc: collectable <StgDict 0x9642b8c><br>> > gc: collectable <_ctypes.ArrayType 0x96e7914><br>> > gc: collectable <getset_descriptor 0x96ad52c><br>> > gc: collectable <getset_descriptor 0x96ad54c><br>> > gc: collectable <tuple 0x96a4644><br>> > gc: collectable <getset_descriptor 0x96ad56c><br>> > gc: collectable
<getset_descriptor 0x96ad58c><br>> > fatal error: failed to create MediaProxy Relay: No such file or directory<br>> > Traceback (most recent call last):<br>> > File "/usr/bin/media-relay", line 64, in <module><br>> > relay = MediaRelay()<br>> > File "/usr/lib/python2.6/site-packages/mediaproxy/relay.py", line 335, in __init__<br>> > self.session_manager = SessionManager(self, Config.port_range.start, Config.port_range.end)<br>> > File "/usr/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", line 683, in __init__<br>> > self.watcher = _conntrack.ExpireWatcher()<br>> > Error: No such file or directory<br>> > <br>> <br>> Do you have the iptables conntrack modules loaded?<br>> <br>> And btw, why are you using such an old version?<br>> <br>> <br>> Regards,<br>> <br>> --<br>> Saúl Ibarra Corretgé<br>> AG Projects<br>> <br>>
<br>> <br>> <br>> _______________________________________________<br>> Users mailing list<br>> Users@lists.opensips.org<br>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br></div>                                            </div></div>
</div><br>_______________________________________________<br>Users mailing list<br><a rel="nofollow" ymailto="mailto:Users@lists.opensips.org" target="_blank" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br><a rel="nofollow" target="_blank" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br><br><br> </div> </div> </div><br>_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users</div>                                            </div></div>
</div><br><br> </div> </div> </div></body></html>