[OpenSIPS-Users] Mediaproxy relay error
Darshak Modi
darshak.modi at elitecore.com
Wed Dec 16 14:47:53 CET 2009
#
./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
More information about the Users
mailing list