[IntelMQ-dev] Redis failing to start after intelmq* package update

Mika Silander mika.silander at csc.fi
Tue May 4 07:45:26 CEST 2021


Hi Sebastian,

 Yes, it's odd. Fixing the ownership + permissions of redis-server.log to match the ones of
redis-server.log.1 solved the problem but I have no idea as to why and how the ownership had changed.

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, 3 May, 2021 16:40:56
Subject: Re: [IntelMQ-dev] Redis failing to start after intelmq* package update

Hi,

On 5/3/21 3:25 PM, Mika Silander wrote:
>  I'm afraid not much info here:
But very strange.
> root at ourhost:~# ls -la /var/log/redis/
> total 12
> drwxr-s---  2 redis   adm     4096 Apr  4 00:00 .
> drwxrwxr-x 13 root    syslog  4096 May  1 00:00 ..
> -rw-r--r--  1 intelmq intelmq    0 Apr  4 00:00 redis-server.log
> -rw-rw----  1 redis   adm     2917 Mar 31 16:27 redis-server.log.1
>
>  However, the ownerships and permissions between the current log file and the (logrotated?) one
> differ substantially. Could this be the reason?

Did you try? But I have no clue why intelmq is the owner of those files
now. I see nothing relevant in our packaging scripts (postinst etc) and
the logrotate configuration. Maybe Birger has an idea?

Sebastian

> 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, 3 May, 2021 16:16:46
> Subject: Re: [IntelMQ-dev] Redis failing to start after intelmq* package update
>
> Hi Mika,
>
> On 5/3/21 3:03 PM, Mika Silander wrote:
>>  systemctl status redis.service indicates there's a problem starting redis:
>>
>> May 03 15:48:20 ourhost systemd[1]: Failed to start Advanced key-value store.
>> May 03 15:48:20 ourhost systemd[1]: redis-server.service: Scheduled restart job, restart counter is at 5.
>> May 03 15:48:20 ourhost systemd[1]: Stopped Advanced key-value store.
>> May 03 15:48:20 ourhost systemd[1]: redis-server.service: Start request repeated too quickly.
>> May 03 15:48:20 ourhost systemd[1]: redis-server.service: Failed with result 'exit-code'.
>> May 03 15:48:20 ourhost systemd[1]: Failed to start Advanced key-value store.
> Do redis' logs reveal anything useful?
>
> Sebastian
>
-- 
// 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