[OpenSIPS-Users] media-relay problem

Binan AL Halabi binanalhalabi at yahoo.com
Fri Oct 5 10:33:33 CEST 2012


Hi Jorge,

Modify the IPTABLES parameter.

Read section "Loading iptables Modules to Particular VPSs" in OpenVZ user guide:
http://download.openvz.org/doc/OpenVZ-Users-Guide.pdf


// Binan




________________________________
 Från: Jorge Ortea <darham at hotmail.com>
Till: Binan AL Halabi <binanalhalabi at yahoo.com> 
Skickat: fredag, 5 oktober 2012 9:05
Ämne: RE: [OpenSIPS-Users] media-relay problem
 

 
Hi Binan,

I am trying with Mediaproxy 2.5.2 and I get the same result:

[root at vir-voip01 bin]# ./media-relay --no-fork
FATAL: Error inserting ip_tables (/lib/modules/2.6.32-042stab053.5/kernel/net/ipv4/netfilter/ip_tables.ko): Operation not permitted
Starting MediaProxy Relay 2.5.2
Set resource limit for maximum open file descriptors to 11000
gc: collectable <tuple 0x9d26cac>
gc: collectable <StgDict 0x9ce19ec>
gc: collectable <_ctypes.ArrayType 0x9d82dac>
gc: collectable <getset_descriptor 0x9d5236c>
gc: collectable <getset_descriptor 0x9d5224c>
gc: collectable <tuple 0xb77232ac>
gc: collectable <tuple 0x9d52e0c>
gc: collectable <StgDict 0x9ce1abc>
gc: collectable <_ctypes.ArrayType 0x9d84c3c>
gc: collectable <getset_descriptor 0x9d52ecc>
gc: collectable <getset_descriptor 0x9d52eec>
gc: collectable <tuple 0x9d4fd4c>
gc: collectable <getset_descriptor 0x9d52f0c>
gc: collectable <getset_descriptor 0x9d52f2c>
fatal error: failed to create MediaProxy Relay: No such file or directory
Traceback (most recent call last):
  File "./media-relay", line 103, in <module>
    relay = MediaRelay()
  File "/usr/lib/python2.6/site-packages/mediaproxy/relay.py", line 320, in __init__
    self.session_manager = SessionManager(self, Config.port_range.start, Config.port_range.end)
  File "/usr/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", line 683, in __init__
    self.watcher = _conntrack.ExpireWatcher()
Error: No such file or directory



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. ?¿

What could be happening?

Very thanks.
Regards.




________________________________
Date: Thu, 4 Oct 2012 04:44:31 -0700
From: binanalhalabi at yahoo.com
To: users at lists.opensips.org
Subject: Re: [OpenSIPS-Users] media-relay problem


Hi,

In Centus 6 The iptables libraries have been changed, the old are no longer supported -  iptable_nat !!!!!!
use last version of Media proxy with centus 6
or
Mediaproxy  2.4.4 with centos 5

Iptables should be installed by default on all CentOS 5.x and 6.x installations.
Enable iptables : system-config-securitylevel


// Binan



________________________________
 Från: Jorge Ortea <darham at hotmail.com>
Till: OPENSIPS <users at lists.opensips.org> 
Skickat: torsdag, 4 oktober 2012 10:59
Ämne: Re: [OpenSIPS-Users] media-relay problem
 

 
Hi Saul,

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:

[root at vir-voip01 /]# modprobe iptable_nat
FATAL: Could not load /lib/modules/2.6.32-042stab053.5/modules.dep: No such file or directory

Any idea?

Very Thanks.
Regards.



> From: saul at ag-projects.com
> Date: Thu, 4 Oct 2012 10:43:46 +0200
> To: users at lists.opensips.org
> Subject: Re: [OpenSIPS-Users] media-relay problem
> 
> Hi,
> 
> On Oct 4, 2012, at 10:26 AM, Jorge Ortea wrote:
> 
> > Hi all,
> > 
> > I just installed Mediaproxy in a virtual machine and when I start media-relay, it returns error:
> > (I had previously installed mediaproxy correctly)
> > 
> > [root at vir-voip01 lib]#
 /usr/bin/media-relay --no-fork
> > Starting MediaProxy Relay 2.4.4
> > Set resource limit for maximum open file descriptors to 11000
> > gc: collectable <tuple 0x96a7fcc>
> > gc: collectable <StgDict 0x9642abc>
> > gc: collectable <_ctypes.ArrayType 0x96e5a84>
> > gc: collectable <getset_descriptor 0x96ad3ac>
> > gc: collectable <getset_descriptor 0x96ad42c>
> > gc: collectable <tuple 0xb77652ac>
> > gc: collectable <tuple 0x96ad46c>
> > gc: collectable <StgDict 0x9642b8c>
> > gc: collectable <_ctypes.ArrayType 0x96e7914>
> > gc: collectable <getset_descriptor 0x96ad52c>
> > gc: collectable <getset_descriptor 0x96ad54c>
> > gc: collectable <tuple 0x96a4644>
> > gc: collectable <getset_descriptor 0x96ad56c>
> > gc: collectable
 <getset_descriptor 0x96ad58c>
> > fatal error: failed to create MediaProxy Relay: No such file or directory
> > Traceback (most recent call last):
> >   File "/usr/bin/media-relay", line 64, in <module>
> >     relay = MediaRelay()
> >   File "/usr/lib/python2.6/site-packages/mediaproxy/relay.py", line 335, in __init__
> >     self.session_manager = SessionManager(self, Config.port_range.start, Config.port_range.end)
> >   File "/usr/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", line 683, in __init__
> >     self.watcher = _conntrack.ExpireWatcher()
> > Error: No such file or directory
> > 
> 
> Do you have the iptables conntrack modules loaded?
> 
> And btw, why are you using such an old version?
> 
> 
> Regards,
> 
> --
> Saúl Ibarra Corretgé
> AG Projects
> 
> 
> 
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

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



_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20121005/8c0fdfe4/attachment-0001.htm>


More information about the Users mailing list