Dear Rita,

In data Monday 11 May 2009, Rita Ricceri scribacchiaste dette parole:
> File
> "/usr/lib/python2.4/site-packages/invenio/bibrank_citation_searcher.py",
> line 29, in ? from invenio.intbitset import intbitset
>
> ImportError: /usr/lib/python2.4/site-packages/invenio/intbitset.so: failed
> to map segment from shared object: Permission denied
>
> Thanks in advance
> Rita

Googling around it seems that your problem is most probably related to SELinux 
being enabled on your system.

Do you happen to know if you have SELinux enabled? (do you use e.g. RHEL or 
Fedora Core?)

E.g. see:

<http://objectmix.com/tcl/34666-failed-map-segment-shared-object-operation-
not-permitted.html>

It might be due to the fact (but this is just a quick guess) that SELinux, for 
security reasons, refuses to load a library using a symlink path (like most 
probably is configured your Invenio installation, if you have followed the 
INSTALL guide. Infact /usr/lib/python2.4/site-packages/invenio should by a 
symlink to your /opt/cds-invenio/lib/python/invenio directory and this might 
be forbidden by default on SELinux).

According to this other link:

<http://lists.freshrpms.net/pipermail/freshrpms-list/2004-
December/011977.html>

it might solve your problem to run:

$> sudo restorecon /usr/lib/python2.4/site-packages/invenio/intbitset.so
$> sudo restorecon /opt/cds-invenio/lib/python/invenio/intbitset.so

Best regards,
        Samuele

-- 
Samuele Kaplun ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to