[OpenSIPS-Users] Opensips-mi-proxy unable to start

Saúl Ibarra Corretgé saul at ag-projects.com
Fri Jun 10 14:03:05 CEST 2011


Hi,

On Jun 10, 2011, at 1:44 PM, Nethra Chander wrote:

> Hi,
>  The tar file repository is updated and I downloaded opensips-mi-proxy-1.0.5. I installed this version.
> 
> I also installed python-application 1.2.8 from the repositories.
> 
> However, i am still not able to start opensips-mi-proxy successfully.
> The logs point to the same import twisted module error.
> 
> 
>  Starting OpenSIPS MI Proxy 1.0.5
> Jun 10 11:39:43 ip-10-56-67-103 opensips-mi-proxy[17455]: error: Traceback (most recent call last):
> Jun 10 11:39:43 ip-10-56-67-103 opensips-mi-proxy[17455]: error:   File "/usr/bin/opensips-mi-proxy", line 59, in <module>
> Jun 10 11:39:43 ip-10-56-67-103 opensips-mi-proxy[17455]: error:     from miproxy.proxy import MIProxy
> Jun 10 11:39:43 ip-10-56-67-103 opensips-mi-proxy[17455]: error:   File "/usr/lib/python2.5/site-packages/miproxy/proxy.py", line 15, in <module>
> Jun 10 11:39:43 ip-10-56-67-103 opensips-mi-proxy[17455]: error:     from twisted.internet import reactor
> Jun 10 11:39:43 ip-10-56-67-103 opensips-mi-proxy[17455]: error:   File "/usr/lib/python2.5/site-packages/application/log/extensions/twisted/twisted.py", line 14, in <module>
> Jun 10 11:39:43 ip-10-56-67-103 opensips-mi-proxy[17455]: error:     import twisted
> Jun 10 11:39:43 ip-10-56-67-103 opensips-mi-proxy[17455]: error: ImportError: No module named twisted
> 
> Can you assist, please?
> 

You don't seem to have twisted properly installed. Since you installed from sources you need to install the dependencies manually. OpenSIPS-MI-Proxy depends on python-twisted-core and python-twisted-web2, so you'll need those 2.

Or you can install opensips-mi-proxy package from our repository and dependencies will automatically be installed.


Regards,

--
Saúl Ibarra Corretgé
AG Projects






More information about the Users mailing list