[IntelMQ-users] Installation problems intelmq and manager

Bernhard Reiter bernhard at intevation.de
Thu Mar 24 19:10:32 CET 2022


Hi Christian,

Am Donnerstag, 24. März 2022, 17:05:51 CET schrieb Harbich, Christian:
> Thu Mar 24 16:04:46.596148 2022] [wsgi:error] [pid 6604] [client
> 127.0.0.1:35488]   File
> "/usr/lib/python3/dist-packages/intelmq_api/intelmq-api.wsgi", line 11, in
> application [Thu Mar 24 16:04:46.596224 2022] [wsgi:error] [pid 6604]
> [client 127.0.0.1:35488]     from intelmq_api.serve import __hug_wsgi__
> [Thu Mar 24 16:04:46.596253 2022] [wsgi:error] [pid 6604] [client
> 127.0.0.1:35488] ImportError: No module named intelmq_api.serve
> 
> I tried to find out how I can install the intelmq_api.serve module but I
> didn't find out how.

it is part of https://github.com/certtools/intelmq-api/tree/develop/intelmq_api
(in particular it is file https://github.com/certtools/intelmq-api/blob/develop/intelmq_api/serve.py)

So the /usr/lib/python3/dist-packages/intelmq_api/intelmq-api.wsgi
has to find this python module, when it is called from Apache (and the Apache environment).
There are many methods how to potentially achieve this.
Remembered correctly, you have used the native packages.
What does
  dpkg -L intelmq-api
say?

> Btw it was not mentioned in the docu that the apache needs the wsgi module.
> Maybe this could be added in the prerequirement section

Ideally, if you have used the packages, it could have been a dependency.
Otherwise it would be cool if you'd create a pull request with an improvement of the documentation
where you would have expected the hint.

Thanks!
Bernhard


-- 
www.intevation.de/~bernhard   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.cert.at/pipermail/intelmq-users/attachments/20220324/66a7e351/attachment.sig>


More information about the IntelMQ-users mailing list