[IntelMQ-users] Installation problems intelmq and manager
Bernhard Reiter
bernhard at intevation.de
Wed Mar 23 17:12:47 CET 2022
Hi Chris,
Am Mittwoch, 23. März 2022, 16:36:18 CET schrieb Harbich, Christian:
> https://intelmq.readthedocs.io/en/maintenance/user/intelmq-api.html
(haven't personally set this version up recently myself, but maybe I can give
hints for you to analyse further.)
> curl --location --request POST http://localhost/intelmq/v1/api/login/\
[..]
> <title>404 Not Found</title>
> I'm running on Ubuntu 18.04 and used the native packages which I downloaded
> manually and installed them using dpkg.
> I also noticed that my apache2
> only got a conf file for intelmq-api.conf ... shouldnt there be one for the
> intelmq itself when the curl statement on top is called?
If this is the file you are looking at
https://github.com/certtools/intelmq-api/blob/develop/contrib/api-apache.conf
WSGIScriptAlias /intelmq /usr/lib/python3/dist-packages/intelmq_api/intelmq-
api.wsgi
it seems that all with the prefix path "/intelmq" is passed in to the wsgi
Skript.
(You should check your apache logs to see if there are other errors coming
from this wsgi or elsewhere.)
So next stop
https://github.com/certtools/intelmq-api/blob/develop/intelmq_api/intelmq-api.wsgi
and then it goes into
https://github.com/certtools/intelmq-api/blob/develop/intelmq_api/serve.py
where it initialises and goes to
https://github.com/certtools/intelmq-api/blob/develop/intelmq_api/api.py
where it should end up at
https://github.com/certtools/intelmq-api/blob/
9f8513bb0268144b62522e67bee3c290eb6eac8a/intelmq_api/api.py#L186
@hug.post("/api/login", versions=1)
somehow not all of these connections work, again I'd start at the apache
configuration and logs, possibily adding debugging infos there for calling the
wsgi Skript.
Best
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/20220323/26bd3eda/attachment.sig>
More information about the IntelMQ-users
mailing list