Icinga / deb-icinga2

MOVED to GitLab see link - Debian/Ubuntu packaging for Icinga 2
https://git.icinga.com/packaging/deb-icinga2
0 stars 2 forks source link

systemd file out of date #4

Closed Crunsher closed 6 years ago

Crunsher commented 6 years ago

Formerly https://github.com/Icinga/icinga2/issues/6082

Information from the original topic below. Thanks to @tmatthaeus for reporting this issue. After a reload of icinga2 there is no icinga2 process via /etc/init.d/icinga2 reload there is no icinga2 process anymore.

OS: Debian 9.3 Icinga Version:

icinga2                                   2.8.1+406.g407a2d052.2018.02.07+1.stretch-0 amd64
icinga2-bin                               2.8.1+406.g407a2d052.2018.02.07+1.stretch-0 amd64
icinga2-common                            2.8.1+406.g407a2d052.2018.02.07+1.stretch-0 all
icinga2-doc                               2.8.1+406.g407a2d052.2018.02.07+1.stretch-0 all
icinga2-ido-mysql                         2.8.1+406.g407a2d052.2018.02.07+1.stretch-0 amd64
libicinga2                                2.8.1+406.g407a2d052.2018.02.07+1.stretch-0 amd64

Debug Logfile output:

[2018-02-07 09:11:06 +0100] information/Application: Got reload command: Starting new instance.
[2018-02-07 09:11:06 +0100] notice/Process: Running command '/usr/lib/x86_64-linux-gnu/icinga2/sbin/icinga2' '--no-stack-rlimit' 'daemon' '-e' '/var/log/icinga2/error.log' '--reload-internal' '27264': PID 27446
[2018-02-07 09:11:07 +0100] debug/IdoMysqlConnection: Query: COMMIT
[2018-02-07 09:11:07 +0100] debug/IdoMysqlConnection: Query: BEGIN
[2018-02-07 09:11:07 +0100] information/Application: Reload requested, letting new process take over.

After that no output anymore and no icinga2 process is running anymore.

lazyfrosch commented 6 years ago

Problem here is that the systemd file is out of date. But we also have an issue with the PID file. (discussed in https://github.com/Icinga/icinga2/issues/6082)

The sysV init should be fine, it is Debian specific...

lazyfrosch commented 6 years ago

NOT a blocker for 2.8.2, only 2.9

Crunsher commented 6 years ago

As 2.9.0 was released without the service file being updated, we are facing a problem. https://github.com/Icinga/icinga2/issues/6484

lazyfrosch commented 6 years ago

This should be fixed in current snapshots and then included in 2.10