centreon / centreon-gorgone

Daemon tasks handler
Other
6 stars 11 forks source link

[22.04] Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/gorgone/class/core.pm line 788. #237

Closed prohand closed 2 years ago

prohand commented 2 years ago

Hello,

I have upgrade my poller version 21.10.6 to 22.04 (Redhat) and i have this error after upgrade in /var/log/centreon-gorgone :

Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/gorgone/class/core.pm line 788.

I have reboot my server and apply all update with no result.

Do you have a solution ?

Thank you

garnier-quentin commented 2 years ago

Does it block the connection ?

prohand commented 2 years ago

After 2 minutes no, my connection is ok :

022-05-24 10:19:51 - INFO - [dbcleaner] Create module 'dbcleaner' process
2022-05-24 10:19:51 - INFO - [action] Create module 'action' process
2022-05-24 10:19:51 - INFO - [audit] Create module 'audit' process
2022-05-24 10:19:51 - INFO - [engine] Create module 'engine' process
2022-05-24 10:19:51 - INFO - [core] Server accepting clients
Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/gorgone/class/core.pm line 788.
Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/gorgone/class/core.pm line 788.
Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/gorgone/class/core.pm line 788.
Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/gorgone/class/core.pm line 788.
Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/gorgone/class/core.pm line 788.
Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/gorgone/class/core.pm line 788.
Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/gorgone/class/core.pm line 788.
Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/gorgone/class/core.pm line 788.
Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/gorgone/class/core.pm line 788.
Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/gorgone/class/core.pm line 788.
Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/gorgone/class/core.pm line 788.
Use of uninitialized value in numeric lt (<) at /usr/share/perl5/vendor_perl/gorgone/class/core.pm line 788.
2022-05-24 10:22:01 - INFO - [action] Copy processing - Received chunk for '/etc/centreon-engine//'
2022-05-24 10:22:01 - INFO - [action] Copy processing - Copy to '/etc/centreon-engine//' finished successfully
2022-05-24 10:22:01 - INFO - [action] Copy processing - Received chunk for '/etc/centreon-broker/'
2022-05-24 10:22:01 - INFO - [action] Copy processing - Copy to '/etc/centreon-broker/' finished successfully
garnier-quentin commented 2 years ago

Could you patch it ? https://github.com/centreon/centreon-gorgone/pull/238 And tell me if you still have the issue.

prohand commented 2 years ago

Do you have a procedure for patch ;)

Thank you

garnier-quentin commented 2 years ago

You change the file directly (only one line to change) and you restart gorgoned.

prohand commented 2 years ago

Hello,

It's OK thank you.

The problem is solved