Bienvenido a la comunidad de Pandora FMS › Forums › Community support › Help! Updated to 768, and my whole system is down!?
-
Help! Updated to 768, and my whole system is down!?
Posted by JonRussell on enero 23, 2023 at 10:51Hi,
I ran “yum update” this morning, and it updated FMS Server to 768. This version forced me to update to PHP 8.0 too. Which I also did, via Remi.
But all my severs are now grey? and the error log is full of :
Can't locate object method "down_timed" via package "Thread::Semaphore" at /usr/lib/perl5/PandoraFMS/ProducerConsumerServer.pm line 237.
Can't locate object method "down_timed" via package "Thread::Semaphore" at /usr/lib/perl5/PandoraFMS/ProducerConsumerServer.pm line 237.
Can't locate object method "down_timed" via package "Thread::Semaphore" at /usr/lib/perl5/PandoraFMS/ProducerConsumerServer.pm line 237.
Can't locate object method "down_timed" via package "Thread::Semaphore" at /usr/lib/perl5/PandoraFMS/ProducerConsumerServer.pm line 237.Any ideas?
Thanks.
Sergio replied 1 year, 11 months ago 3 Members · 8 Replies -
8 Replies
-
-
::
Hello JonRussell,
Can you please check if you have the dependency perl-Thread-Semaphore installed on your system?
You can run the following find command in the terminal:
find / -name Semaphore.pm
If there is no result, this may be the cause of the errors.
You can try and install the package perl-threads-shared
Please let us know if this solves your issue.
Kind regards,
Sergio B.
-
-
-
-
::
I had the same issue after updating to 768 using Warp Update Online.
The fix also worked for me, but I had to first install perl-CPAN (CentOS 7).
yum install perl-CPAN
BTW, Pandora was running for several hours in this error state before I applied the fix. The /var/log/pandora/pandora_server.error file grew to over 8GB in that time.
Pandora was just writing the following line as fast as it could over and over:
Can’t locate object method “down_timed” via package “Thread::Semaphore” at /usr/lib/perl5/PandoraFMS/ProducerConsumerServer.pm line 237.
-
::
Hello,
The log grew over the time because it was trying to perform the tasks in hand used by the Semaphore.pm dependency and by not having it installed was giving notice about the error.
You can simply remove most of those log lines in order to reduce the log size easily with vim.
Also it’s always recommended to use logrotate to rotate any log that might potentally grow in size in order to avoid to fill up the disks.
Kind regards,
Sergio B.
-
-