[IntelMQ-dev] Path/permission problem with intelmq-manager (v2.3.1-2) ?

Mika Silander mika.silander at csc.fi
Mon Aug 2 14:06:54 CEST 2021


a2enconf has been run for the api and the manager confs, yes, so they should be active and enabled.

Br, Mika

----- Original Message -----
From: "Sebastian Wagner" <wagner at cert.at>
To: "Mika Silander" <mika.silander at csc.fi>, "intelmq-dev" <intelmq-dev at lists.cert.at>
Sent: Monday, 2 August, 2021 14:52:20
Subject: Re: [IntelMQ-dev] Path/permission problem with intelmq-manager (v2.3.1-2) ?

Hi,

But the Apache configuration for the API is in place and active?

Sebastian

On 8/2/21 1:29 PM, Mika Silander wrote:
> Some debugging:
>
>  Turning on debug on apache it is as if the url /intelmq/v1/api/config... didn't map to/activate the wsgi script. It looks more like apache assuming this is a static file and it tries to provide it as is :
>
> [Mon Aug 02 14:23:18.707953 2021] [core:info] [pid 341017:tid 140204459398912] [client 2001:708:10:4010::4:40702] AH00128: File does not exist: /usr/share/intelmq_manager/html/intelmq/v1/api/queues-and-status, referer: https://ourhost/intelmq-manager/configs.html
>
>  Correct?
>
> Br, Mika
>
> ----- Original Message -----
> From: "Mika Silander" <mika.silander at csc.fi>
> To: "intelmq-dev" <intelmq-dev at lists.cert.at>
> Sent: Monday, 2 August, 2021 12:33:50
> Subject: [IntelMQ-dev] Path/permission problem with intelmq-manager (v2.3.1-2) ?
>
> Hi all,
>
>  Returning to an earlier problem that surfaced after having updated intelmq to version 2.3.3-1: intelmq-manager starts, but when opening the configuration tab,
> the network of bots doesn't get rendered. Looking at the output of the browser's developer console one can see successful retrieval of https://ourhost/configs.html
> that in turn initiates the successful retrieval of a number of CSS, PNG and JS files. Next we have five failures (404 Not found):
>
> https://ourhost/intelmq/v1/api/config?file=bots
> https://ourhost/intelmq/v1/api/config?file=defaults
> https://ourhost/intelmq/v1/api/config?file=runtime
> https://ourhost/intelmq/v1/api/config?file=pipeline
> https://ourhost/intelmq/v1/api/config?file=positions
>
> Then a few more successful retrievals of PNGs and a GIF. After this we end up in an infinite loop that tries unsuccessfully (404 Not found) to fetch  
>
> https://ourhost/intelmq/v1/api/queues-and-status
>
> once every second. The error the browser shows repeatedly is "Error loading bot queues information:".
>
>  What is common to all failures above is that they seem to be due to jquery-actions. Any ideas as to where the problem could be? I suspect some path and/or permission problem but that's the first guess.
>
> Br, Mika
>
> For reference, these are the package versions on our intelmq Ubuntu 20 LTS host:
>
> intelmq         2.3.3-1
> intelmq-api     2.3.1-1
> intelmq-manager 2.3.1-2
> _______________________________________________
> IntelMQ-dev mailing list
> https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev
> https://intelmq.readthedocs.io/
> _______________________________________________
> IntelMQ-dev mailing list
> https://lists.cert.at/cgi-bin/mailman/listinfo/intelmq-dev
> https://intelmq.readthedocs.io/

-- 
// Sebastian Wagner <wagner at cert.at> - T: +43 676 898 298 7201
// CERT Austria - https://www.cert.at/
// Eine Initiative der nic.at GmbH - https://www.nic.at/
// Firmenbuchnummer 172568b, LG Salzburg


More information about the IntelMQ-dev mailing list