You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have recently upgraded the module from version 1.1.2 to version 1.2.1.
Since this update the Service (icinga-x509.service) dies everytime, after the database connection got lost
e.g. when the database got restartet.
Also the icinga-php-library got updated from v0.11.0 to v0.12.0
systemd[1]: Started Icinga Certificate Monitoring Module Jobs Runner.
icingacli[10105]: PHP Fatal error: Uncaught PDOException: SQLSTATE[70100]: <<Unknown error>>: 1927 Connection was killed in /usr/share/icinga-php/ipl/vendor/ipl/sql/src/Connection.php:401
icingacli[10105]: Stack trace:
icingacli[10105]: #0 /usr/share/icinga-php/ipl/vendor/ipl/sql/src/Connection.php(401): PDO->prepare('SELECT host.nam...')
icingacli[10105]: #1 /usr/share/icinga-php/ipl/vendor/ipl/sql/src/Connection.php(418): ipl\Sql\Connection->prepexec('SELECT host.nam...', Array)
icingacli[10105]: #2 /usr/share/icingaweb2/modules/icingadb/library/Icingadb/ProvidedHook/X509/Sni.php(45): ipl\Sql\Connection->select(Object(ipl\Sql\Select))
icingacli[10105]: #3 /usr/share/icingaweb2/modules/x509/library/X509/Hook/SniHook.php(32): Icinga\Module\Icingadb\ProvidedHook\X509\Sni->getHosts()
icingacli[10105]: #4 /usr/share/icingaweb2/modules/x509/application/clicommands/JobsCommand.php(128): Icinga\Module\X509\Hook\SniHook::getAll()
icingacli[10105]: #5 /usr/share/icingaweb2/modules/x509/application/clicommands/JobsCommand.php(57): Icinga\Module\X509\Clicommands\JobsCommand->fetchJobs()
icingacli[10105]: #6 /usr/share/icinga-php/vendor/vendor/react/event-loop/src/Timer/Timers.php(101): Icinga\M in /usr/share/icinga-php/ipl/vendor/ipl/sql/src/Connection.php on line 401
icingacli[10105]: Fatal error: Uncaught PDOException: SQLSTATE[70100]: <<Unknown error>>: 1927 Connection was killed in /usr/share/icinga-php/ipl/vendor/ipl/sql/src/Connection.php:401
icingacli[10105]: Stack trace:
icingacli[10105]: #0 /usr/share/icinga-php/ipl/vendor/ipl/sql/src/Connection.php(401): PDO->prepare('SELECT host.nam...')
icingacli[10105]: #1 /usr/share/icinga-php/ipl/vendor/ipl/sql/src/Connection.php(418): ipl\Sql\Connection->prepexec('SELECT host.nam...', Array)
icingacli[10105]: #2 /usr/share/icingaweb2/modules/icingadb/library/Icingadb/ProvidedHook/X509/Sni.php(45): ipl\Sql\Connection->select(Object(ipl\Sql\Select))
icingacli[10105]: #3 /usr/share/icingaweb2/modules/x509/library/X509/Hook/SniHook.php(32): Icinga\Module\Icingadb\ProvidedHook\X509\Sni->getHosts()
icingacli[10105]: #4 /usr/share/icingaweb2/modules/x509/application/clicommands/JobsCommand.php(128): Icinga\Module\X509\Hook\SniHook::getAll()
icingacli[10105]: #5 /usr/share/icingaweb2/modules/x509/application/clicommands/JobsCommand.php(57): Icinga\Module\X509\Clicommands\JobsCommand->fetchJobs()
icingacli[10105]: #6 /usr/share/icinga-php/vendor/vendor/react/event-loop/src/Timer/Timers.php(101): Icinga\M in /usr/share/icinga-php/ipl/vendor/ipl/sql/src/Connection.php on line 401
systemd[1]: icinga-x509.service: Main process exited, code=exited, status=255/EXCEPTION
systemd[1]: icinga-x509.service: Failed with result 'exit-code'.
To Reproduce
Start the service: systemctl start icinga-x509.service
Restart the Database (MySQL, on same host) systemctl restart mysql
Wait for next actions of the jobs run-Task (not sure when it next time occures)
(on latest test it occured five minutes after the database restart)
Daemon dies
Expected behavior
The jobs run-Task should try to reconnect to the database and continue to work.
Screenshots
No Screenshots available. See Stacktrace above.
Your Environment
Include as many relevant details about the environment you experienced the problem in
Icinga Web 2 version and modules (System - About):
Icinga Web 2 Version 2.11.4
Web browser used:
No Webbrowser used, CLI related
Icinga 2 version used (icinga2 --version):
r2.13.7-1
PHP version used (php --version):
7.3.31-1~deb10u4
Server operating system and version:
Debian 10 (Buster)
Additional context
We do have three Jobs configured. Those already changed to the new schedule-config and configured to run daily.
4:30
5:43
7:45
A regular restart task for the database is actually running at 6:30, every day.
The text was updated successfully, but these errors were encountered:
Describe the bug
We have recently upgraded the module from version 1.1.2 to version 1.2.1.
Since this update the Service (icinga-x509.service) dies everytime, after the database connection got lost
e.g. when the database got restartet.
Also the icinga-php-library got updated from v0.11.0 to v0.12.0
To Reproduce
systemctl start icinga-x509.service
systemctl restart mysql
jobs run
-Task (not sure when it next time occures)(on latest test it occured five minutes after the database restart)
Expected behavior
The
jobs run
-Task should try to reconnect to the database and continue to work.Screenshots
No Screenshots available. See Stacktrace above.
Your Environment
Include as many relevant details about the environment you experienced the problem in
Icinga Web 2 version and modules (System - About):
Icinga Web 2 Version 2.11.4
Web browser used:
No Webbrowser used, CLI related
Icinga 2 version used (
icinga2 --version
):r2.13.7-1
PHP version used (
php --version
):7.3.31-1~deb10u4
Server operating system and version:
Debian 10 (Buster)
Additional context
We do have three Jobs configured. Those already changed to the new schedule-config and configured to run daily.
A regular restart task for the database is actually running at 6:30, every day.
The text was updated successfully, but these errors were encountered: