[OpenSIPS-Users] OpenXcap - OpenSIPS

Dan Pascu dan at ag-projects.com
Mon Sep 28 12:46:14 CEST 2009


Your gnutls library seems incomplete. Maybe it was compiled with some  
switches that removed some of the functionality from the library.

On 25 Sep 2009, at 17:46, Jawad hussain wrote:

>
> Thanks All,
>
> Now it seems that OpenXCAP giving some messages in Syslog but still  
> there is one error. Can some one help in resolving this.
>
> Sep 25 15:34:52 jawad-desktop openxcap[2646]: fatal error: failed to  
> create OpenXCAP 1.1.2: /usr/local/lib/libgnutls.so.26: undefined  
> symbol: gnutls_certificate_get_x509_cas
>
> Sep 25 15:34:52 jawad-desktop openxcap[2646]: Traceback (most recent  
> call last):
> Sep 25 15:34:52 jawad-desktop openxcap[2646]: --- <exception caught  
> here> ---
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File "./openxcap",  
> line 61, in <module>
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:     from xcap.server  
> import XCAPServer
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File "/etc/openxcap/ 
> openxcap-1.1.2/xcap/server.py", line 24, in <module>
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:     from xcap.tls  
> import Certificate, PrivateKey
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File "/etc/openxcap/ 
> openxcap-1.1.2/xcap/tls.py", line 8, in <module>
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:     from gnutls.crypto  
> import X509Certificate,  X509PrivateKey
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File "/usr/lib/ 
> pymodules/python2.6/gnutls/crypto.py", line 11, in <module>
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:     from  
> gnutls.validators import method_args, one_of
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File "/usr/lib/ 
> pymodules/python2.6/gnutls/validators.py", line 9, in <module>
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:     from  
> gnutls.constants import *
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File "/usr/lib/ 
> pymodules/python2.6/gnutls/constants.py", line 38, in <module>
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:     from  
> gnutls.library import constants
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File "/usr/lib/ 
> pymodules/python2.6/gnutls/library/__init__.py", line 7, in <module>
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:     from  
> gnutls.library import errors
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File "/usr/lib/ 
> pymodules/python2.6/gnutls/library/errors.py", line 15, in <module>
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:     from  
> gnutls.library.functions import gnutls_strerror, gnutls_alert_get
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File "/usr/lib/ 
> pymodules/python2.6/gnutls/library/functions.py", line 505, in  
> <module>
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:      
> gnutls_certificate_get_x509_cas = _libraries['libgnutls.so. 
> 26'].gnutls_certificate_get_x509_cas
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File "/usr/lib/ 
> python2.6/ctypes/__init__.py", line 366, in __getattr__
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:     func =  
> self.__getitem__(name)
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:   File "/usr/lib/ 
> python2.6/ctypes/__init__.py", line 371, in __getitem__
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:     func =  
> self._FuncPtr((name_or_ordinal, self))
> Sep 25 15:34:52 jawad-desktop openxcap[2646]:  
> exceptions.AttributeError: /usr/local/lib/libgnutls.so.26: undefined  
> symbol: gnutls_certificate_get_x509_cas
>
>
> Regards,
> Jawad Hussain
>
>
> 2009/9/24 João Antunes <joao.antunes at tagus.ist.utl.pt>
> It isn't very spooky, i also recently set up an openxcap and opensips
> server and i remember that something similar happened.
>
> Try running openxcap manually with the no fork argument, if i'm not
> mistaken: $openxcap --no-fork
> It should give you more hints
>
> Cheers,
> João Antunes
>
>
> Jawad hussain escreveu:
> >
> > Hi,
> >
> > I want to use OpenXcap as an integrated presence server with  
> OpenSIPS
> > and I have just managed to get openxcap
> > installed from debian repository but the problem is this when i just
> > start this standalone server it seems that server get started but
> > actually its not no pid exist and no process, can anybody suggest  
> how
> > to proceed.
> >
> > root at jawad-desktop:/opt/
> > opensips/opensips_1_5# /etc/init.d/openxcap restart
> >
> > Stopping OpenXCAP server: openxcap .
> > Starting OpenXCAP server: openxcap
> >
> > --
> > Regards
> > Jawad Hussain
> >  
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opensips.org
> > http://lists.opensips.org/cgi-bin/mailman/listinfo/users
> >
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


--
Dan






More information about the Users mailing list