[OpenSIPS-Users] media-relay exception

nick at uni-petrol.com nick at uni-petrol.com
Tue Mar 29 11:42:07 CEST 2011



 Because of media-relay running in openvz virtual container it inherit
 kernel modules like ip_table, ip_conntrack, nfnetlink from host node, 
 so
 yesm ip_tables module like others loade before media-relay start.
 Below is a list of running modules.

 Unfortunately it is very hard to migrate to python > 2.4, because 
 CentOS < 6.0
 don't support other versions and hard depend on python 2.4.

 Now I'm trying install Scientific Linux 6.0 in openvz virtual 
 environment
 to test python 2.6.

 I have a question regarding which python version are recommended to run
 media-proxy (python 2.6, 2.7, 3.2) ?

 Full list of loaded modules:
 # lsmod
 Module                  Size  Used by
 vzethdev               47392  0
 vznetdev               57488  3
 simfs                  39576  3
 exportfs               39040  1 simfs
 vzrst                 203536  0
 vzcpt                 155832  0
 nfs                   299480  2 vzrst,vzcpt
 lockd                 105872  2 vzrst,nfs
 nfs_acl                36608  1 nfs
 vzmon                  84248  6 vznetdev,vzrst,vzcpt
 ip6t_REJECT            38660  0
 ip6table_mangle        38016  3
 ip6table_filter        37760  3
 ip6_tables             50880  2 ip6table_mangle,ip6table_filter
 xt_tcpudp              36224  0
 ipt_LOG                39808  0
 ipt_TOS                35200  0
 ipt_REDIRECT           34944  0
 ip_nat_irc             36352  0
 ip_nat_ftp             37376  2
 xt_helper              35584  0
 xt_state               35200  0
 xt_conntrack           36352  0
 ip_conntrack_irc       41168  2
 ip_conntrack_ftp       42192  2
 iptable_nat            43276  6
 ip_nat                 53392  5 
 vzrst,ipt_REDIRECT,ip_nat_irc,ip_nat_ftp,iptable_nat
 ip_conntrack          101524  14 
 vzrst,vzcpt,ip_nat_irc,ip_nat_ftp,xt_helper,xt_state,xt_conntrack,ip_conntrack_irc,ip_conntrack_ftp,iptable_nat,ip_nat
 nfnetlink              40392  3 ip_nat,ip_conntrack
 xt_length              34944  0
 ipt_ttl                34816  0
 xt_tcpmss              35328  0
 ipt_TCPMSS             37248  0
 iptable_mangle         37888  3
 iptable_filter         37760  3
 xt_multiport           36224  0
 xt_limit               36352  0
 ipt_tos                34560  0
 ipt_REJECT             39684  0
 ip_tables              57440  3 
 iptable_nat,iptable_mangle,iptable_filter
 x_tables               52744  19 
 ip6t_REJECT,ip6_tables,xt_tcpudp,ipt_LOG,ipt_TOS,ipt_REDIRECT,xt_helper,xt_state,xt_conntrack,iptable_nat,xt_length,ipt_ttl,xt_tcpmss,ipt_TCPMSS,xt_multiport,xt_limit,ipt_tos,ipt_REJECT,ip_tables
 vzdquota               79864  4 simfs,[permanent]
 vzevent                37136  1
 autofs4                64520  3
 sunrpc                207808  9 vzrst,nfs,lockd,nfs_acl
 cpufreq_ondemand       42000  2
 acpi_cpufreq           47360  0
 freq_table             38912  2 cpufreq_ondemand,acpi_cpufreq
 mperf                  35072  1 acpi_cpufreq
 vzdev                  36872  4 vzethdev,vznetdev,vzmon,vzdquota
 ipv6                  464188  39 ip6t_REJECT,ip6table_mangle
 xfrm_nalgo             43268  1 ipv6
 crypto_api             42880  1 xfrm_nalgo
 loop                   48528  0
 dm_multipath           56856  0
 scsi_dh                42112  1 dm_multipath
 video                  53004  0
 backlight              39808  1 video
 sbs                    49856  0
 power_meter            46860  0
 hwmon                  36488  1 power_meter
 i2c_ec                 38528  1 sbs
 dell_wmi               37408  0
 wmi                    41920  1 dell_wmi
 button                 40480  0
 battery                43784  0
 asus_acpi              50724  0
 acpi_memhotplug        40452  0
 ac                     38664  0
 parport_pc             62248  0
 lp                     47056  0
 parport                73740  2 parport_pc,lp
 sg                     70456  0
 i2c_i801               41876  0
 pcspkr                 36224  0
 shpchp                 70828  0
 tg3                   161672  0
 i2c_core               57472  2 i2c_ec,i2c_i801
 dm_raid45              99464  0
 dm_message             36096  1 dm_raid45
 dm_region_hash         46208  1 dm_raid45
 dm_mem_cache           38912  1 dm_raid45
 dm_snapshot            52168  0
 dm_zero                35200  0
 dm_mirror              54672  0
 dm_log                 44928  3 dm_raid45,dm_region_hash,dm_mirror
 dm_mod                101456  11 
 dm_multipath,dm_raid45,dm_snapshot,dm_zero,dm_mirror,dm_log
 ahci                   73228  6
 libata                208784  1 ahci
 sd_mod                 56448  8
 scsi_mod              199576  4 scsi_dh,sg,libata,sd_mod
 raid1                  55936  3
 ext3                  169872  2
 jbd                   103152  1 ext3
 uhci_hcd               57240  0
 ohci_hcd               55988  0
 ehci_hcd               65932  0



 On Tue, 29 Mar 2011 09:16:27 +0200, Saúl Ibarra Corretgé wrote:

> On 29/3/11 6:21 AM, nick at uni-petrol.com [1] wrote:
>> Yes, ip_tables loaded: ip_tables 57440 3
>> iptable_nat,iptable_mangle,iptable_filter But media-relay exception
>> still present on every calls.
> Was it loaded before or after starting the media-relay?
>
>> Is it possible that error because of python 2.4?
> Not precisely that, but you'll get a bunch of other errors because of
> this. Unfortunately I can't test/reproduce this. Anyway, you better
> upgrade to Python 2.6. Regards,




More information about the Users mailing list