[OpenSIPS-Users] Help: Mediaproxy running UNSTABLE

Tao Vu Hoang taovuhoang at vnn.vn
Mon Oct 18 06:18:36 CEST 2010


   Hi All!
>     I installed Opensips 1.6.3 + mediaproxy-2.4.3 + python 2.6 on 
> CentOS 5.5final 64bits Kernel : 2.6.18-194.8.1.el5
>
> I loaded modules :
>
> [root at voice140 media]# lsmod
> Module                  Size  Used by
> iptable_nat            40773  0
> ip_conntrack_netlink    60225  0
> ip_nat                 53101  2 iptable_nat,ip_conntrack_netlink
> ip_conntrack_netbios_ns    36033  0
> xt_state               35265  10
> xt_NOTRACK             35137  0
> iptable_raw            35137  0
> ip_conntrack           91621  6 
> iptable_nat,ip_conntrack_netlink,ip_nat,ip_conntrack_netbios_ns,xt_state,xt_NOTRACK
> iptable_filter         36161  1
> ip_tables              55201  3 iptable_nat,iptable_raw,iptable_filter
> nfnetlink              40457  4 ip_conntrack_netlink,ip_nat,ip_conntrack
> ipv6                  435489  44
> xfrm_nalgo             43333  1 ipv6
> crypto_api             42945  1 xfrm_nalgo
> autofs4                63049  3
> hidp                   83521  2
> rfcomm                104681  0
> l2cap                  89281  10 hidp,rfcomm
> bluetooth             118853  5 hidp,rfcomm,l2cap
> lockd                 101553  0
> sunrpc                199945  2 lockd
> ipt_REJECT             38977  1
> xt_tcpudp              36289  9
> x_tables               50505  6 
> iptable_nat,xt_state,xt_NOTRACK,ip_tables,ipt_REJECT,xt_tcpudp
> dm_mirror              54737  0
> dm_multipath           56921  0
> scsi_dh                42177  1 dm_multipath
> video                  53197  0
> backlight              39873  1 video
> sbs                    49921  0
> power_meter            47053  0
> hwmon                  36553  1 power_meter
> i2c_ec                 38593  1 sbs
> dell_wmi               37601  0
> wmi                    41985  1 dell_wmi
> button                 40545  0
> battery                43849  0
> asus_acpi              50917  0
> acpi_memhotplug        40516  0
> ac                     38729  0
> parport_pc             62313  0
> lp                     47121  0
> parport                73165  2 parport_pc,lp
> i5000_edac             43337  0
> bnx2                  216653  0
> i2c_i801               41813  0
> edac_mc                60193  1 i5000_edac
> ide_cd                 73825  0
> i2c_core               56641  2 i2c_ec,i2c_i801
> cdrom                  68713  1 ide_cd
> sg                     70377  0
> pcspkr                 36289  0
> serio_raw              40517  0
> dm_raid45              99657  0
> dm_message             36289  1 dm_raid45
> dm_region_hash         46145  1 dm_raid45
> dm_log                 44993  3 dm_mirror,dm_raid45,dm_region_hash
> dm_mod                101649  4 dm_mirror,dm_multipath,dm_raid45,dm_log
> dm_mem_cache           38977  1 dm_raid45
> ata_piix               56901  0
> libata                209489  1 ata_piix
> shpchp                 70637  0
> aacraid               105929  8
> sd_mod                 56513  9
> scsi_mod              196953  5 scsi_dh,sg,libata,aacraid,sd_mod
> ext3                  168913  7
> jbd                    94769  1 ext3
> uhci_hcd               57433  0
> ohci_hcd               56309  0
> ehci_hcd               66125  0
>
> Normally , My system running OK, i can call through it and i check log :
>
> Oct 18 10:45:18 voice140 media-relay[28813]: 
> mediaproxy.mediacontrol.StreamListenerProtocol starting on 51084
> Oct 18 10:45:18 voice140 media-relay[28813]: 
> mediaproxy.mediacontrol.StreamListenerProtocol starting on 51085
> Oct 18 10:45:18 voice140 media-relay[28813]: 
> mediaproxy.mediacontrol.StreamListenerProtocol starting on 51086
> Oct 18 10:45:18 voice140 media-relay[28813]: 
> mediaproxy.mediacontrol.StreamListenerProtocol starting on 51087
> Oct 18 10:45:18 voice140 media-relay[28813]: (Port 51068 Closed)
> Oct 18 10:45:18 voice140 media-relay[28813]: (Port 51069 Closed)
> Oct 18 10:45:18 voice140 media-relay[28813]: (Port 51070 Closed)
> Oct 18 10:45:18 voice140 media-relay[28813]: (Port 51071 Closed)
>
> But, suddenly after a period of time, my system failed, I checked log
>
> Oct 18 09:17:10 voice140 media-relay[27896]: Traceback (most recent 
> call last):
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/twisted/internet/udp.py", line 
> 129, in doRead
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> self.protocol.datagramReceived(data, addr)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 130, in datagramReceived
> Oct 18 09:17:10 voice140 media-relay[27896]:     self.cb_func(host, 
> port, data)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 226, in got_data
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> self.substream.send_data(self, data, is_stun)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 308, in send_data
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> dest.listener.protocol.send(data, is_stun, ip, port)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 159, in send
> Oct 18 09:17:03 voice140 media-relay[27896]: 
> mediaproxy.mediacontrol.StreamListenerProtocol starting on 52832
> Oct 18 09:17:03 voice140 media-relay[27896]: 
> mediaproxy.mediacontrol.StreamListenerProtocol starting on 52833
> Oct 18 09:17:03 voice140 media-relay[27896]: 
> mediaproxy.mediacontrol.StreamListenerProtocol starting on 50256
> Oct 18 09:17:03 voice140 media-relay[27896]: 
> mediaproxy.mediacontrol.StreamListenerProtocol starting on 50257
> Oct 18 09:17:06 voice140 media-relay[27896]: (Port 52832 Closed)
> Oct 18 09:17:06 voice140 media-relay[27896]: (Port 52833 Closed)
> Oct 18 09:17:06 voice140 media-relay[27896]: (Port 50256 Closed)
> Oct 18 09:17:06 voice140 media-relay[27896]: (Port 50257 Closed)
> Oct 18 09:17:10 voice140 media-relay[27896]: Traceback (most recent 
> call last):
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/twisted/internet/udp.py", line 
> 129, in doRead
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> self.protocol.datagramReceived(data, addr)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 130, in datagramReceived
> Oct 18 09:17:10 voice140 media-relay[27896]:     self.cb_func(host, 
> port, data)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 226, in got_data
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> self.substream.send_data(self, data, is_stun)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 308, in send_data
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> dest.listener.protocol.send(data, is_stun, ip, port)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 159, in send
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> self.transport.write(data, (ip, port))
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/twisted/internet/udp.py", line 
> 166, in write
> Oct 18 09:17:10 voice140 media-relay[27896]:     return 
> self.socket.sendto(datagram, addr)
> Oct 18 09:17:10 voice140 media-relay[27896]: error: [Errno 1] 
> Operation not permitted
> Oct 18 09:17:10 voice140 media-relay[27896]: Traceback (most recent 
> call last):
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/twisted/internet/udp.py", line 
> 129, in doRead
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> self.protocol.datagramReceived(data, addr)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 130, in datagramReceived
> Oct 18 09:17:10 voice140 media-relay[27896]:     self.cb_func(host, 
> port, data)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 226, in got_data
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> self.substream.send_data(self, data, is_stun)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 308, in send_data
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> dest.listener.protocol.send(data, is_stun, ip, port)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 159, in send
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> self.transport.write(data, (ip, port))
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/twisted/internet/udp.py", line 
> 166, in write
> Oct 18 09:17:10 voice140 media-relay[27896]:     return 
> self.socket.sendto(datagram, addr)
> Oct 18 09:17:10 voice140 media-relay[27896]: error: [Errno 1] 
> Operation not permitted
> Oct 18 09:17:10 voice140 media-relay[27896]: Traceback (most recent 
> call last):
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/twisted/internet/udp.py", line 
> 129, in doRead
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> self.protocol.datagramReceived(data, addr)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 130, in datagramReceived
> Oct 18 09:17:10 voice140 media-relay[27896]:     self.cb_func(host, 
> port, data)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 226, in got_data
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> self.substream.send_data(self, data, is_stun)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 308, in send_data
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> dest.listener.protocol.send(data, is_stun, ip, port)
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/mediaproxy/mediacontrol.py", 
> line 159, in send
> Oct 18 09:17:10 voice140 media-relay[27896]:     
> self.transport.write(data, (ip, port))
> Oct 18 09:17:10 voice140 media-relay[27896]:   File 
> "/usr/local/lib/python2.6/site-packages/twisted/internet/udp.py", line 
> 166, in write
> Oct 18 09:17:10 voice140 media-relay[27896]:     return 
> self.socket.sendto(datagram, addr)
> Oct 18 09:17:10 voice140 media-relay[27896]: error: [Errno 1] 
> Operation not permitted
>
> I don't know why my system runing UNSTABLE, anybody can help me ?
>
> Thank you so much.
>
>
>
>
>
>




More information about the Users mailing list