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

Jeff Pyle jpyle at fidelityvoice.com
Fri Feb 8 18:19:37 CET 2013


Saúl,

Correct, the network interfaces are stable.  Versions on this side are:

iptables                            1.4.2-6
libnfnetlink0                       1.0.0-1
libnetfilter-conntrack3             0.0.101-1
libgcrypt11                         1.4.6-5
python                              2.5.2-3
python-zopeinterface                3.3.1-7
python-twisted-core                 8.1.0-4
python-gnutls                       1.2.0-2
python-application                  1.2.5
python-cjson                        1.0.5-1+lenny1
mediaproxy-common                   2.4.4


It doesn't appear I have libiptc installed.


- Jeff


On Fri, Feb 8, 2013 at 11:52 AM, Saúl Ibarra Corretgé
<saul at ag-projects.com>wrote:

> Hi John,
>
> On Feb 8, 2013, at 5:46 PM, John Quick wrote:
>
> > 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))
>
> Could you add a log line there? That is, print the IP and port to which
> MediaProxy is trying to send the traffic.
>
> > 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
> >
>
> What version of libiptc do you have?
>
>
> Regards,
>
> --
> Saúl Ibarra Corretgé
> AG Projects
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130208/c7040a2b/attachment.htm>


More information about the Users mailing list