Hi Sebastian,
That seems to explain it. According to the logs I installed intelmq-manager first, then a few minutes later apache2. Maybe a "beware of this pitfall" is needed somewhere in the installation instructions or it's already there and I've just missed it?
Br, Mika
From: "Sebastian Wagner" wagner@cert.at To: "Mika Silander" mika.silander@csc.fi, "intelmq-dev" intelmq-dev@lists.cert.at Sent: Thursday, 1 April, 2021 13:05:58 Subject: Re: [IntelMQ-dev] intelmq-manager authentication issue on Ubuntu 20.04 LTS
Hi Mika, On 4/1/21 12:00 PM, Mika Silander wrote:
Hi Sebastian,
This time around I managed, yes, thanks. I'm not quite sure if this was a failure in the installation process (intelmq + intelmq api + intelmq-manager on Ubuntu 20.04 LTS) or just my error, but I had to manually tweak the symlinks below /etc/apache2/conf-available & /etc/apache2/conf-enabled. It was as if the symlink
BQ_BEGIN
/etc/apache2/conf-available/manager-apache.conf -> ../../intelmq/manager-apache.conf
were missing after the install.
BQ_END
In what order did you install the packages? If intelmq-manager was installed without apache2 being pre-installed, some links are missing because apache2 is not a hard-requirement ( [ https://github.com/certtools/intelmq-manager/issues/246 | https://github.com/certtools/intelmq-manager/issues/246 ] ).
Sebastian
BQ_BEGIN
Now with the symlinks
/etc/apache2/conf-available/manager-apache.conf -> ../../intelmq/manager-apache.conf /etc/apache2/conf-available/intelmq-api.conf -> ../../intelmq/api-apache.conf /etc/apache2/conf-enabled/manager-apache.conf -> ../conf-available/manager-apache.conf /etc/apache2/conf-enabled/intelmq-api.conf -> ../conf-available/intelmq-api.conf
suitable a2enconf invocations and a restart of apache2, the system seems to work.
Br, Mika
From: "Sebastian Wagner" [ mailto:wagner@cert.at | wagner@cert.at ] To: "Mika Silander" [ mailto:mika.silander@csc.fi | mika.silander@csc.fi ] , "intelmq-dev" [ mailto:intelmq-dev@lists.cert.at | intelmq-dev@lists.cert.at ] Sent: Thursday, 1 April, 2021 12:42:46 Subject: Re: [IntelMQ-dev] intelmq-manager authentication issue on Ubuntu 20.04 LTS
Hi,
Great to see that you could resolve the issue. Just responding to the other note: On 3/31/21 1:57 PM, Mika Silander wrote:
BQ_BEGIN
And another note: the earlier(?) path /usr/share/intelmq-manager is now /usr/share/intelmq_manager. Don't know whether this has anything to do with this case ...
BQ_END
The path /usr/share/intelmq-manager was used in the Debian packages for IntelMQ Manager < 2.3.0. That was changed for consistency to intelmq_manager in 2.3.0.
Sebastian