Hello,
Since 21.10 to 22.10 upgrade, dsmd crashes at startup :
Last login: Thu Jan 19 09:31:17 2023 from pt-350.get.com
[root@srv-mon ~]# service dsmd status
Redirecting to /bin/systemctl status dsmd.service
● dsmd.service - dsmd is the centreon-dsm daemon
Loaded: loaded (/usr/lib/systemd/system/dsmd.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since jeu. 2023-01-19 09:32:58 CET; 42s ago
Process: 788 ExecStart=/usr/share/centreon/bin/dsmd.pl $OPTIONS (code=exited, status=255)
Main PID: 788 (code=exited, status=255)
janv. 19 09:32:58 srv-mon.get.com systemdm1]: Started dsmd is the centreon-dsm daemon.
janv. 19 09:32:58 srv-mon.get.com dsmd.plp788]: Can't call method "fetchrow" on an undefined value at /usr/share/centreon/bin/dsmd.pl line 565.
janv. 19 09:32:58 srv-mon.get.com systemdm1]: dsmd.service: main process exited, code=exited, status=255/n/a
janv. 19 09:32:58 srv-mon.get.com systemdm1]: Unit dsmd.service entered failed state.
janv. 19 09:32:58 srv-mon.get.com systemdm1]: dsmd.service failed.
Error is : janv. 19 09:32:58 srv-mon.get.com dsmd.pl.788]: Can't call method "fetchrow" on an undefined value at /usr/share/centreon/bin/dsmd.pl line 565.
When i restart service it is ok. but each reboot same issue occurs.
Can you help me?
Thanks.
Regards.