[OpenSIPS-Users] Problem with Mediaproxy2.3.0 start

Ruud Klaver ruud at ag-projects.com
Mon Jan 5 12:23:01 CET 2009


Hi,

On 19 Dec 2008, at 17:52, mmarzuola at interfree.it wrote:

> When I try to run media-relay I have in the syslog:
>
>> Dec 19 16:43:35 opensips-lab media-relay[13823]: [-] Log opened.
>
>> Dec 19 16:43:35 opensips-lab media-relay[13823]: [-] Starting  
>> MediaProxy Relay 2.3.0
>
>> Dec 19 16:43:39 opensips-lab media-relay[13823]: [-] fatal error:  
>> failed to create MediaProxy Relay: Could not initialize the  
>> iptables 'nat' table. Missing kernel support or running without  
>> root priviliges.
>
> The version of my kernel is 2.6.18-6-686 and I run the command from  
> root.

Like the error message says, if you are running the relay as root, you  
are missing certain kernel features. Are you starting the relay with  
the provided init script? If not, you could try to "modprobe  
ip_tables". If your kernel does not support auto module loading, you  
could also try "modprobe iptable_nat". If any of these commands give  
errors, you should probably recompile your kernel to include the  
modules listed in the INSTALL file.

> Instead when I try to run media-dispatcher, I have:
>
>> Dec 19 16:45:21 opensips-lab media-dispatcher[13839]: [-] Log opened.
>
>> Dec 19 16:45:21 opensips-lab media-dispatcher[13839]: [-] Starting  
>> MediaProxy Dispatcher 2.3.0
>
>> Dec 19 16:45:22 opensips-lab media-dispatcher[13839]: [-] Twisted  
>> is using epollreactor
>
>> Dec 19 16:45:22 opensips-lab media-dispatcher[13839]: [-] fatal  
>> error: failed to create MediaProxy Dispatcher: missing or  
>> unreadable file: tls/dispatcher.crt
>
> But the file tls/dispatcher.crt there is in the subdirectory tls and  
> I try also to change the permission to read.
>
> Someone can help me?
>
> Thanks in advance.
>
> Marzuola Matteo

You should copy the tls directory to /etc/mediaproxy, just like the  
config file. Better yet, make your own certificates.

Ruud Klaver
AG Projects



More information about the Users mailing list