[OpenSIPS-Users] media-relay error - operation not permitted

John Quick john.quick at smartvox.co.uk
Fri Feb 8 17:46:57 CET 2013


Hello all,

I am investigating exactly the same error that Jeff has just reported.
Feb  8 16:10:05 media-relay[16199]: Traceback (most recent call last):
Feb  8 16:10:05 media-relay[16199]:   File
"/usr/lib64/python2.6/site-packages/twisted/internet/udp.py", line 147, in
doRead
Feb  8 16:10:05 media-relay[16199]:     self.protocol.datagramReceived(data,
addr)
Feb  8 16:10:05 media-relay[16199]:   File
"/usr/local/mediaproxy-2.5.2/mediaproxy/mediacontrol.py", line 130, in
datagramReceived
Feb  8 16:10:05 media-relay[16199]:     self.cb_func(host, port, data)
Feb  8 16:10:05 media-relay[16199]:   File
"/usr/local/mediaproxy-2.5.2/mediaproxy/mediacontrol.py", line 226, in
got_data
Feb  8 16:10:05 media-relay[16199]:     self.substream.send_data(self, data,
is_stun)
Feb  8 16:10:05 media-relay[16199]:   File
"/usr/local/mediaproxy-2.5.2/mediaproxy/mediacontrol.py", line 308, in
send_data
Feb  8 16:10:05 media-relay[16199]:     dest.listener.protocol.send(data,
is_stun, ip, port)
Feb  8 16:10:05 media-relay[16199]:   File
"/usr/local/mediaproxy-2.5.2/mediaproxy/mediacontrol.py", line 159, in send
Feb  8 16:10:05 media-relay[16199]:     self.transport.write(data, (ip,
port))
Feb  8 16:10:05 media-relay[16199]:   File
"/usr/lib64/python2.6/site-packages/twisted/internet/udp.py", line 184, in
write
Feb  8 16:10:05 media-relay[16199]:     return self.socket.sendto(datagram,
addr)
Feb  8 16:10:05 media-relay[16199]: error: [Errno 1] Operation not permitted

This is happening on a server that is not yet taking any live traffic. What
I see is that Mediaproxy behaves fine when it has just been restarted, but
after it has been running for a few days (with little or no activity), I
start to see these errors in /var/log/messages when I make a call.

I have not seen it on earlier installs, but I have changed several things
between the good install and the one that fails. For example, the newest one
is on CentOS 6 and the reliable ones are on CentOS 5.

Here is a list of the dependency packages, with versions, used on my newest
servers:
Iptables      1.4.7
libnfnetlink        1.00
libnetfilter_conntrack     0.0.100
libgcrypt      1.4.5
gnutls       2.8.5
python     2.6.6
python-zope-interface    3.5.2
Twisted	12.2.0
python-gnutls	1.2.4
python-application	1.3.0
python-cjson	1.0.5

John Quick
Smartvox Limited
Web: www.smartvox.co.uk






More information about the Users mailing list