[OpenSIPS-Users] Mediaproxy relay error
Saúl Ibarra Corretgé
saul at ag-projects.com
Wed Dec 16 19:02:14 CET 2009
Hi,
On 16/12/09 2:47 PM, Darshak Modi wrote:
> #
> ./media-relay --no-fork
> Starting MediaProxy Relay 2.3.8
> fatal error: failed to create MediaProxy Relay: cannot import name
> _conntrack
> Traceback (most recent call last):
> ---<exception caught here> ---
> File "./media-relay", line 61, in ?
> from mediaproxy.relay import MediaRelay
> File "/usr/local/src/mediaproxy/mediaproxy-2.3.8/mediaproxy/relay.py",
> line 37, in ?
> from mediaproxy.mediacontrol import SessionManager,
> RelayPortsExhaustedError
> File
> "/usr/local/src/mediaproxy/mediaproxy-2.3.8/mediaproxy/mediacontrol.py",
> line 23, in ?
> from mediaproxy.interfaces.system import _conntrack
> exceptions.ImportError: cannot import name _conntrack
>
>
> I DID THIS
> #locate conntrack.so
> /home/darshak/Sources/mediaproxy-2.3.8/build/lib.linux-i686-2.4/mediaproxy/i
> nterfaces/system/_conntrack.so
> /lib/iptables/libipt_conntrack.so
> /usr/lib/libnetfilter_conntrack.so
> /usr/lib/libnetfilter_conntrack.so.1
> /usr/lib/libnetfilter_conntrack.so.1.2.0
> /usr/lib/python2.4/site-packages/mediaproxy/interfaces/system/_conntrack.so
> /usr/local/src/mediaproxy/mediaproxy-2.3.8/build/lib.linux-i686-2.4/mediapro
> xy/interfaces/system/_conntrack.so
>
>
> The so is there.
>
> python -c "import sys; print sys.path"
> ['', '/usr/lib/python24.zip', '/usr/lib/python2.4',
> '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk',
> '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages',
> '/usr/lib/python2.4/site-packages/Numeric',
> '/usr/lib/python2.4/site-packages/gtk-2.0']
>
> Please guide what to do next
>
Where are you running MediaProxy from? I assume you are running it from
the directory you downloaded it, so did you build it with ./build_inplace?
Regards,
--
Saúl Ibarra Corretgé
AG Projects
More information about the Users
mailing list