[OpenSIPS-Users] Problem Running MediaProxy Build
Dan Pascu
dan at ag-projects.com
Wed Jul 29 22:48:42 CEST 2009
On Wednesday 29 July 2009, Ross Beer wrote:
>
> ul 29 14:27:47 ubuntu media-relay[3861]: Log opened.
> Jul 29 14:27:47 ubuntu media-relay[3861]: Starting MediaProxy Relay 2.3.5
> Jul 29 14:27:47 ubuntu media-relay[3861]: /usr/local/lib/python2.6/dist-
packages/Twisted-8.2.0-py2.6-linux-
x86_64.egg/twisted/internet/_sslverify.py:5: exceptions.DeprecationWarning:
the md5 module is deprecated; use hashlib instead
> Jul 29 14:27:47 ubuntu media-relay[3861]: fatal error: failed to create
MediaProxy Relay: Could not initialize the iptables 'nat' table. Missing
kernel support or running without root priviliges.
> Jul 29 14:29:07 ubuntu kernel: [ 2402.698409] ip_tables: (C) 2000-2006
Netfilter Core Team
>
> -------------------------------------------------------------
>
>
>
> Can someone provide me with where I need to go from here. I have installed
libnfnetlink, libnfnetlink-devel, libnetfilter_conntrack and
libnetfilter_conntrack-devel.
>
Make sure the ip_tables module is loaded before you run the relay (and of
course that you have ip_tables support in the kernel). The debian startup
script already makes sure of this. For some reason, the ip_tables module is
not autoloaded, even though all the other nat related modules are. This is why
the startup script contains an explicit modprobe just to make sure it is
loaded. Run this before you start the relay:
sudo modprobe ip_tables
Also make sure you have iptable_nat loaded
--
Dan
More information about the Users
mailing list