ImportError: No module named prelude

"Bob Sauvage" <[email protected]> Wed, 09 Jun 2010 19:29:53 +0200
Newsgroups gmane.comp.security.ids.prelude.user
Message-ID <[email protected]>
Hello people ! 

I just installed PreludeIDS from source (Libprelude, LibpreludeDB, LML, Manager, correlator and Prewikka)
When I want to connect to prewikka, I have the following error in the error_log file : 

[Wed Jun 09 18:59:30 2010] [notice] caught SIGTERM, shutting down
[Wed Jun 09 18:59:30 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Jun 09 18:59:31 2010] [notice] Digest: generating secret for digest authentication ...
[Wed Jun 09 18:59:31 2010] [notice] Digest: done
[Wed Jun 09 18:59:31 2010] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Wed Jun 09 18:59:31 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Jun 09 18:59:55 2010] [error] [client 127.0.0.1] PythonHandler prewikka.ModPythonHandler: Traceback (most recent call last):
[Wed Jun 09 18:59:55 2010] [error] [client 127.0.0.1] PythonHandler prewikka.ModPythonHandler: File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 287, in HandlerDispatch\n log=debug)
[Wed Jun 09 18:59:55 2010] [error] [client 127.0.0.1] PythonHandler prewikka.ModPythonHandler: File "/usr/lib64/python2.4/site-packages/mod_python/apache.py", line 464, in import_module\n module = imp.load_module(mname, f, p, d)
[Wed Jun 09 18:59:55 2010] [error] [client 127.0.0.1] PythonHandler prewikka.ModPythonHandler: File "/usr/lib/python2.4/site-packages/prewikka/ModPythonHandler.py", line 20, in ?\n from prewikka import Core, Request, localization
[Wed Jun 09 18:59:55 2010] [error] [client 127.0.0.1] PythonHandler prewikka.ModPythonHandler: File "/usr/lib/python2.4/site-packages/prewikka/Core.py", line 21, in ?\n import prelude, preludedb, CheetahFilters
[Wed Jun 09 18:59:55 2010] [error] [client 127.0.0.1] PythonHandler prewikka.ModPythonHandler: ImportError: No module named prelude

Here my prewikka.conf file for Apache : 

<VirtualHost *:80>
 ServerName localhost

 <Location />
 SetHandler mod_python
 PythonHandler prewikka.ModPythonHandler
 PythonOption PrewikkaConfig /etc/prewikka/prewikka.conf
 </Location>

 <Location /prewikka>
 SetHandler None
 </Location>

 Alias /prewikka /usr/share/prewikka/htdocs
</VirtualHost>

I try this too but same problem :/ : 

<VirtualHost *:80>
 ServerName my.server.org
 Setenv PREWIKKA_CONFIG "/etc/prewikka/prewikka.conf" 

<Location "/">
 AllowOverride None
 Options ExecCGI

 <IfModule mod_mime.c>
 AddHandler cgi-script .cgi
 </IfModule>

 Order allow,deny
 Allow from all
</Location>

Alias /prewikka/ /usr/share/prewikka/htdocs/
ScriptAlias / /usr/share/prewikka/cgi-bin/prewikka.cgi

</VirtualHost>


Have you an idea to help me ? 

Thanks a lot !
_______________________________________________
Prelude-user site list
[email protected]
http://lists.prelude-technologies.com/mailman/listinfo/prelude-user