Re: [OpenSIPS-Users] Help with MediaProxy running under OpenVZ...
On 08 May 2009, at 20:14, Totally Useless wrote: > I'm not sure if this is possible, maybe that's why I am having such a > hard time with it.. > > I am trying to run MediaProxy on Debian 5.0 in an OpenVZ container. > > On my OpenVZ controller, I added "iptable_nat" to the IPTABLES list > and > /etc/init.d/vz restarted > > When trying to start MediaProxy, I get: > > May 8 17:59:23 mediaproxy01 media-relay[472]: Starting MediaProxy > Relay > 2.3.4 > May 8 17:59:23 mediaproxy01 media-relay[472]: Set resource limit for > maximum open file descriptors to 11000 > May 8 17:59:23 mediaproxy01 media-relay[472]: fatal error: failed to > create MediaProxy Relay: No such file or directory > May 8 17:59:23 mediaproxy01 media-relay[472]: Traceback (most recent > call last): > May 8 17:59:23 mediaproxy01 media-relay[472]: --- here> --- > May 8 17:59:23 mediaproxy01 media-relay[472]: File > "/usr/bin/media-relay", line 58, in > May 8 17:59:23 mediaproxy01 media-relay[472]: relay = > MediaRelay() > May 8 17:59:23 mediaproxy01 media-relay[472]: File > "/var/lib/python-support/python2.5/mediaproxy/relay.py", line 340, in > __init__ > May 8 17:59:23 mediaproxy01 media-relay[472]: > self.session_manager > = SessionManager(self, Config.port_range.start, Config.port_range.end) > May 8 17:59:23 mediaproxy01 media-relay[472]: File > "/var/lib/python-support/python2.5/mediaproxy/mediacontrol.py", line > 601, in __init__ > May 8 17:59:23 mediaproxy01 media-relay[472]: self.watcher = > _conntrack.ExpireWatcher() > May 8 17:59:23 mediaproxy01 media-relay[472]: > mediaproxy.interfaces.system._conntrack.Error: No such file or > directory > > Any idea what this is caused from? Not much help on Google for that > error... Indeed, it looks like it has a problem opening the netfilter-conntrack socket. Could you try using the userspace conntrack tool, for example performing "sudo conntrack -L" to list the connection tracking entries? Perhaps some modules are not installed automatically. Also, I'm not entirely sure if you should be running the relay inside a virtual machine. For testing purposes it should be fine, but realtime media traffic probably does not flow well through a virtualized host. Ruud Klaver AG Projects ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Help with MediaProxy running under OpenVZ...
# apt-cache show libnetfilter-conntrack1 Package: libnetfilter-conntrack1 Status: install ok installed Priority: extra Section: libs Installed-Size: 132 Maintainer: netfilter maintainers Architecture: i386 Source: libnetfilter-conntrack Version: 0.0.99-1 # apt-cache show libnfnetlink0 Package: libnfnetlink0 Status: install ok installed Priority: extra Section: libs Installed-Size: 72 Maintainer: netfilter maintainers Architecture: i386 Source: libnfnetlink Version: 0.0.41-1 # apt-get install libnetfilter-conntrack1 libnfnetlink0 Reading package lists... Done Building dependency tree Reading state information... Done libnetfilter-conntrack1 is already the newest version. libnfnetlink0 is already the newest version. Darren Sessions wrote: > > Have you got the libnetfilter-conntrack and libnfnetlink libs > installed with the proper version? > > > > On May 8, 2009, at 12:14 PM, Totally Useless wrote: > >> I'm not sure if this is possible, maybe that's why I am having such a >> hard time with it.. >> >> I am trying to run MediaProxy on Debian 5.0 in an OpenVZ container. >> >> On my OpenVZ controller, I added "iptable_nat" to the IPTABLES list and >> /etc/init.d/vz restarted >> >> When trying to start MediaProxy, I get: >> >> May 8 17:59:23 mediaproxy01 media-relay[472]: Starting MediaProxy Relay >> 2.3.4 >> May 8 17:59:23 mediaproxy01 media-relay[472]: Set resource limit for >> maximum open file descriptors to 11000 >> May 8 17:59:23 mediaproxy01 media-relay[472]: fatal error: failed to >> create MediaProxy Relay: No such file or directory >> May 8 17:59:23 mediaproxy01 media-relay[472]: Traceback (most recent >> call last): >> May 8 17:59:23 mediaproxy01 media-relay[472]: --- > here> --- >> May 8 17:59:23 mediaproxy01 media-relay[472]: File >> "/usr/bin/media-relay", line 58, in >> May 8 17:59:23 mediaproxy01 media-relay[472]: relay = MediaRelay() >> May 8 17:59:23 mediaproxy01 media-relay[472]: File >> "/var/lib/python-support/python2.5/mediaproxy/relay.py", line 340, in >> __init__ >> May 8 17:59:23 mediaproxy01 media-relay[472]: self.session_manager >> = SessionManager(self, Config.port_range.start, Config.port_range.end) >> May 8 17:59:23 mediaproxy01 media-relay[472]: File >> "/var/lib/python-support/python2.5/mediaproxy/mediacontrol.py", line >> 601, in __init__ >> May 8 17:59:23 mediaproxy01 media-relay[472]: self.watcher = >> _conntrack.ExpireWatcher() >> May 8 17:59:23 mediaproxy01 media-relay[472]: >> mediaproxy.interfaces.system._conntrack.Error: No such file or directory >> >> Any idea what this is caused from? Not much help on Google for that >> error... >> >> >> ___ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users > ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Help with MediaProxy running under OpenVZ...
Have you got the libnetfilter-conntrack and libnfnetlink libs installed with the proper version? On May 8, 2009, at 12:14 PM, Totally Useless wrote: > I'm not sure if this is possible, maybe that's why I am having such a > hard time with it.. > > I am trying to run MediaProxy on Debian 5.0 in an OpenVZ container. > > On my OpenVZ controller, I added "iptable_nat" to the IPTABLES list > and > /etc/init.d/vz restarted > > When trying to start MediaProxy, I get: > > May 8 17:59:23 mediaproxy01 media-relay[472]: Starting MediaProxy > Relay > 2.3.4 > May 8 17:59:23 mediaproxy01 media-relay[472]: Set resource limit for > maximum open file descriptors to 11000 > May 8 17:59:23 mediaproxy01 media-relay[472]: fatal error: failed to > create MediaProxy Relay: No such file or directory > May 8 17:59:23 mediaproxy01 media-relay[472]: Traceback (most recent > call last): > May 8 17:59:23 mediaproxy01 media-relay[472]: --- here> --- > May 8 17:59:23 mediaproxy01 media-relay[472]: File > "/usr/bin/media-relay", line 58, in > May 8 17:59:23 mediaproxy01 media-relay[472]: relay = > MediaRelay() > May 8 17:59:23 mediaproxy01 media-relay[472]: File > "/var/lib/python-support/python2.5/mediaproxy/relay.py", line 340, in > __init__ > May 8 17:59:23 mediaproxy01 media-relay[472]: > self.session_manager > = SessionManager(self, Config.port_range.start, Config.port_range.end) > May 8 17:59:23 mediaproxy01 media-relay[472]: File > "/var/lib/python-support/python2.5/mediaproxy/mediacontrol.py", line > 601, in __init__ > May 8 17:59:23 mediaproxy01 media-relay[472]: self.watcher = > _conntrack.ExpireWatcher() > May 8 17:59:23 mediaproxy01 media-relay[472]: > mediaproxy.interfaces.system._conntrack.Error: No such file or > directory > > Any idea what this is caused from? Not much help on Google for that > error... > > > ___ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users