MediaProxy iptables problem

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

MediaProxy iptables problem

vivid333

thank you , finally I succeed install mediaproxy  in cent OS.  but now I encouter a new trouble.

I run it with root user. I must upgrade centOS Kernel?

have any other solutions? thanks!
[root@mail mediaproxy-2.5.1]# lsb_release -a
        LSB Version:    :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:
                                printing-4.0-ia32:printing-4.0-noarch
        Distributor ID:    CentOS
        Description:    CentOS release 5.6 (Final)
        Release:    5.6
        Codename:    Final
        [root@mail mediaproxy-2.5.1]# uname -a
        Linux mail.xxxxxx.com 2.6.18-243.el5 #1 SMP Mon Feb 7 18:47:27 EST 2011 x86_64 x86_64 x86_64 GNU/Linux



[root@localhost tls]# media-relay --no-fork
Starting MediaProxy Relay 2.4.4
fatal error: failed to create MediaProxy Relay: Could not initialize the iptables 'nat' table. Missing kernel support or running without root priviliges.

[root@localhost tls]# media-dispatcher --no-fork
Starting MediaProxy Dispatcher 2.4.4
Twisted is using selectreactor
mediaproxy.dispatcher.RelayFactory starting on 25060
mediaproxy.dispatcher.OpenSIPSControlFactory starting on "'/var/run/mediaproxy/dispatcher.sock'"
mediaproxy.dispatcher.ManagementControlFactory starting on 25061





On 2011年08月26日 18:00, [hidden email] wrote:
Send Users mailing list submissions to
	[hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.opensips.org/cgi-bin/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
	[hidden email]

You can reach the person managing the list at
	[hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."


Today's Topics:

   1. Re: MedaiProxy libiptc && libip4tc   error (Sa?l Ibarra Corretg?)
   2. SEMS 1.4.2 released (Stefan Sayer)


----------------------------------------------------------------------

Message: 1
Date: Fri, 26 Aug 2011 09:14:39 +0200
From: Sa?l Ibarra Corretg? [hidden email]
Subject: Re: [OpenSIPS-Users] MedaiProxy libiptc && libip4tc   error
To: OpenSIPS users mailling list [hidden email]
Message-ID: [hidden email]
Content-Type: text/plain; charset=iso-8859-1

Hi,

On Aug 26, 2011, at 5:56 AM, vivid333 wrote:

Hello:

            why did error " No valid iptc library was found on the system. Please install iptables development libraries" happen?

1. My System Config is :
        [root@mail mediaproxy-2.5.1]# lsb_release -a
        LSB Version:    :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:
                                printing-4.0-ia32:printing-4.0-noarch
        Distributor ID:    CentOS
        Description:    CentOS release 5.6 (Final)
        Release:    5.6
        Codename:    Final
        [root@mail mediaproxy-2.5.1]# uname -a
        Linux mail.xxxxxx.com 2.6.18-243.el5 #1 SMP Mon Feb 7 18:47:27 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
    
2. Mediaproxy version:  2.5.1

3. Prerequisites
            yum install libnfnetlink    
            yum install libnfnetlink-devel
            yum install libnetfilter_conntrack-devel
            yum install iptables-devel.x86_64
            
4. [root@mail ~]# whereis libiptc
    libiptc: /usr/include/libiptc

    [root@mail mediaproxy-2.5.1]# ./setup.py build
    No valid iptc library was found on the system. Please install iptables development libraries.

CentOS 5 contains iptables libraries which are over 5 years old and we just can't support them anymore. If you want to run MediaProxy on CentOS you can either upgrade to CentOS 6 or use MediaProxy 2.4.4, which still works with the old libraries.


Regards,

--
Sa?l Ibarra Corretg?
AG Projects






------------------------------

Message: 2
Date: Fri, 26 Aug 2011 11:56:47 +0200
From: Stefan Sayer [hidden email]
Subject: [OpenSIPS-Users] SEMS 1.4.2 released
To: sems mailing list [hidden email], 	[hidden email]
	[hidden email]
Cc: SR-Users [hidden email],	OpenSIPS users mailling
	list [hidden email]
Message-ID: [hidden email]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

(apologies if you receive multiple copies of this mail)

Hello,

the SIP Express Media Server version 1.4.2 is available. Users of SEMS 
1.4 versions and anyone else is recommended to upgrade to that 
version. Please find below the relevant changelog, the source at
   ftp://ftp.iptel.org/pub/sems/sems-1.4.2.tar.gz
and Debian/Ubuntu packages as always at OBS
   https://build.opensuse.org/project/show?project=home%3Ateam-sems

Many thanks to everyone who contributed with testing, bug fixes, 
documentation and feedback.

   * SEMS 1.4.2 release
	 * auth'ed BYE (wait_for_bye_transaction)
	 * fixes SIP auth for qop header format
	 * xmlrpc: fix busyloop with keep-alive
	 * a few minor SST issues
	 * builds on Ubuntu 11.4 (build-deps)
	 * ivr: release GIL on blocking file I/O
	 * SBC: fix codec filter for unnamed payloads<96
	 * fixed DSM variables to outgoing call
	 * some examples and documentation added

This release introduces a new configuration option 
wait_for_bye_transaction=yes which enables authentication of BYE 
requests sent by SEMS, which is disabled by default. If this option is 
not enabled, SEMS behaves like in 1.4.1.

With Best Regards
Stefan Sayer for the SEMS community



_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Reply | Threaded
Open this post in threaded view
|

Re: MediaProxy iptables problem

vivid333
at last  I add modprobe iptable_nat , do a good work now! thanks


 
On 2011年08月27日 19:42, vivid333 wrote:

thank you , finally I succeed install mediaproxy  in cent OS.  but now I encouter a new trouble.

I run it with root user. I must upgrade centOS Kernel?

have any other solutions? thanks!
[root@mail mediaproxy-2.5.1]# lsb_release -a
        LSB Version:    :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:
                                printing-4.0-ia32:printing-4.0-noarch
        Distributor ID:    CentOS
        Description:    CentOS release 5.6 (Final)
        Release:    5.6
        Codename:    Final
        [root@mail mediaproxy-2.5.1]# uname -a
        Linux mail.xxxxxx.com 2.6.18-243.el5 #1 SMP Mon Feb 7 18:47:27 EST 2011 x86_64 x86_64 x86_64 GNU/Linux



[root@localhost tls]# media-relay --no-fork
Starting MediaProxy Relay 2.4.4
fatal error: failed to create MediaProxy Relay: Could not initialize the iptables 'nat' table. Missing kernel support or running without root priviliges.

[root@localhost tls]# media-dispatcher --no-fork
Starting MediaProxy Dispatcher 2.4.4
Twisted is using selectreactor
mediaproxy.dispatcher.RelayFactory starting on 25060
mediaproxy.dispatcher.OpenSIPSControlFactory starting on "'/var/run/mediaproxy/dispatcher.sock'"
mediaproxy.dispatcher.ManagementControlFactory starting on 25061





On 2011年08月26日 18:00, [hidden email] wrote:
Send Users mailing list submissions to
	[hidden email]

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.opensips.org/cgi-bin/mailman/listinfo/users
or, via email, send a message with subject or body 'help' to
	[hidden email]

You can reach the person managing the list at
	[hidden email]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Users digest..."


Today's Topics:

   1. Re: MedaiProxy libiptc && libip4tc   error (Sa?l Ibarra Corretg?)
   2. SEMS 1.4.2 released (Stefan Sayer)


----------------------------------------------------------------------

Message: 1
Date: Fri, 26 Aug 2011 09:14:39 +0200
From: Sa?l Ibarra Corretg? [hidden email]
Subject: Re: [OpenSIPS-Users] MedaiProxy libiptc && libip4tc   error
To: OpenSIPS users mailling list [hidden email]
Message-ID: [hidden email]
Content-Type: text/plain; charset=iso-8859-1

Hi,

On Aug 26, 2011, at 5:56 AM, vivid333 wrote:

Hello:

            why did error " No valid iptc library was found on the system. Please install iptables development libraries" happen?

1. My System Config is :
        [root@mail mediaproxy-2.5.1]# lsb_release -a
        LSB Version:    :core-4.0-amd64:core-4.0-ia32:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-amd64:
                                printing-4.0-ia32:printing-4.0-noarch
        Distributor ID:    CentOS
        Description:    CentOS release 5.6 (Final)
        Release:    5.6
        Codename:    Final
        [root@mail mediaproxy-2.5.1]# uname -a
        Linux mail.xxxxxx.com 2.6.18-243.el5 #1 SMP Mon Feb 7 18:47:27 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
    
2. Mediaproxy version:  2.5.1

3. Prerequisites
            yum install libnfnetlink    
            yum install libnfnetlink-devel
            yum install libnetfilter_conntrack-devel
            yum install iptables-devel.x86_64
            
4. [root@mail ~]# whereis libiptc
    libiptc: /usr/include/libiptc

    [root@mail mediaproxy-2.5.1]# ./setup.py build
    No valid iptc library was found on the system. Please install iptables development libraries.

CentOS 5 contains iptables libraries which are over 5 years old and we just can't support them anymore. If you want to run MediaProxy on CentOS you can either upgrade to CentOS 6 or use MediaProxy 2.4.4, which still works with the old libraries.


Regards,

--
Sa?l Ibarra Corretg?
AG Projects






------------------------------

Message: 2
Date: Fri, 26 Aug 2011 11:56:47 +0200
From: Stefan Sayer [hidden email]
Subject: [OpenSIPS-Users] SEMS 1.4.2 released
To: sems mailing list [hidden email], 	[hidden email]
	[hidden email]
Cc: SR-Users [hidden email],	OpenSIPS users mailling
	list [hidden email]
Message-ID: [hidden email]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

(apologies if you receive multiple copies of this mail)

Hello,

the SIP Express Media Server version 1.4.2 is available. Users of SEMS 
1.4 versions and anyone else is recommended to upgrade to that 
version. Please find below the relevant changelog, the source at
   ftp://ftp.iptel.org/pub/sems/sems-1.4.2.tar.gz
and Debian/Ubuntu packages as always at OBS
   https://build.opensuse.org/project/show?project=home%3Ateam-sems

Many thanks to everyone who contributed with testing, bug fixes, 
documentation and feedback.

   * SEMS 1.4.2 release
	 * auth'ed BYE (wait_for_bye_transaction)
	 * fixes SIP auth for qop header format
	 * xmlrpc: fix busyloop with keep-alive
	 * a few minor SST issues
	 * builds on Ubuntu 11.4 (build-deps)
	 * ivr: release GIL on blocking file I/O
	 * SBC: fix codec filter for unnamed payloads<96
	 * fixed DSM variables to outgoing call
	 * some examples and documentation added

This release introduces a new configuration option 
wait_for_bye_transaction=yes which enables authentication of BYE 
requests sent by SEMS, which is disabled by default. If this option is 
not enabled, SEMS behaves like in 1.4.1.

With Best Regards
Stefan Sayer for the SEMS community




_______________________________________________
Users mailing list
[hidden email]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users