Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Pandora Server service is randomly crashing

I updated Pandora FMS to version 6 (running on ubuntu 14.04 server using the deb packages) but I meet an issue. The pandora server service stops randomly since this update.

When I check the log file I have the same error each time (panda is the hostname of my server):

[V1] [E] 'panda': Undefined subroutine &PandoraFMS::Core::encode called at /usr/lib/perl5/PandoraFMS/ line 1062, <SNMPLOGFILE> line 5
[V1] Pandora FMS Server 'panda' unhandled error.
[V1] Pandora FMS Server 'panda' Shutdown by signal.

If I restart the service it's up and running again many hours until I have another crash.
Do you have an idea how to solve this issue ?

Thanks for your help.

Hello gohone,

Did you force the deb update of Pandora? Because it seems to me that you forced or didn't install some of the dependencies.
I'm saying this because of the "PandoraFMS::Core::encode" line. It seems a problem with Perl's dependencies.
Try to check it out Wink


To update this service, I stopped the pandora server service and I used simply this command:  dpkg -i ""

I just tested the last build  this morning to see if it's more stable for me. "pandorafms.server_6.0-151102.deb".
For the moment the service didn't crash but I have to wait more long time to be sure if the service is OK.

FYI Below the output of the last installation:

$sudo /etc/init.d/pandora_server stop
$sudo dpkg -i pandorafms.server_6.0-151102.deb
Préparation du décompactage de pandorafms.server_6.0-151102.deb ...
Removing any system startup links for /etc/init.d/pandora_server ...
Removing any system startup links for /etc/init.d/tentacle_serverd ...
Décompactage de pandorafms-server (6.0-151102) sur (6.0-151026) ...
Paramétrage de pandorafms-server (6.0-151102) ...
Linking pandora_exec...
Creating common Pandora FMS directories
Giving proper permission to /var/spool/pandora
Creating setup directory in /etc/pandora
Skipping creation of pandora_server.conf: there is already one.
Linking startup script to /etc/rc2.d
update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match pandora_server Default-Start values (2 3 5)
Adding system startup for /etc/init.d/pandora_server ...
  /etc/rc0.d/K20pandora_server -> ../init.d/pandora_server
  /etc/rc1.d/K20pandora_server -> ../init.d/pandora_server
  /etc/rc6.d/K20pandora_server -> ../init.d/pandora_server
  /etc/rc2.d/S20pandora_server -> ../init.d/pandora_server
  /etc/rc3.d/S20pandora_server -> ../init.d/pandora_server
  /etc/rc4.d/S20pandora_server -> ../init.d/pandora_server
  /etc/rc5.d/S20pandora_server -> ../init.d/pandora_server
Installing tentacle server in /etc/rc2.d/S80tentacle_serverd
update-rc.d: warning: default start runlevel arguments (2 3 4 5) do not match tentacle_serverd Default-Start values (2 3 5)
Adding system startup for /etc/init.d/tentacle_serverd ...
  /etc/rc0.d/K20tentacle_serverd -> ../init.d/tentacle_serverd
  /etc/rc1.d/K20tentacle_serverd -> ../init.d/tentacle_serverd
  /etc/rc6.d/K20tentacle_serverd -> ../init.d/tentacle_serverd
  /etc/rc2.d/S20tentacle_serverd -> ../init.d/tentacle_serverd
  /etc/rc3.d/S20tentacle_serverd -> ../init.d/tentacle_serverd
  /etc/rc4.d/S20tentacle_serverd -> ../init.d/tentacle_serverd
  /etc/rc5.d/S20tentacle_serverd -> ../init.d/tentacle_serverd
Create the Cron script to run hourly Pandora DB tool
Please, now, edit the /etc/pandora/pandora_server.conf and launch the Pandora Server with /etc/init.d/Pandora .
Traitement déclenché pour  man-db ( ...
Traitement déclenché pour  ureadahead (0.100.0-16) ...

$sudo /etc/init.d/pandora_server start

Pandora FMS Server 6.0 Build 151102 Copyright © 2004-2014 ArticaST
This program is OpenSource, licensed under the terms of GPL License version 2.
You can download latest versions and documentation at

[*] Backgrounding Pandora FMS Server process.

Pandora Server is now running with PID 10848


Hi gohone,

Maybe it was a problem with the previous build... The installation output seems to be fine. So let's hope everything works fine.
Lemme' know if something doesn't work that way Wink

Unfortunately, I just got the same error  :-(

2015-11-02 15:28:11 panda [V1] [E] 'panda': Undefined subroutine &PandoraFMS::Core::encode called at /usr/lib/perl5/PandoraFMS/ line 1062.
2015-11-02 15:28:11 panda [V1] Pandora FMS Server 'panda' unhandled error.

About perl I'm using the version provided with ubuntu 14.04 v5.18.2
Hello gohone,

I don't actually know what your problem is, but let's try to work something out! Smile
First, try this: "dpkg-deb -I package_name_deb", this should actually tell us which dependencies are needed from the deb installation package, try that one out and install manually everyone of them!
And then try to install the Encode:Locale through Cpan.

Let me know how everything goes Wink


I already checked the dependencies and all seems to be correctly installed. however, I didn't test using cpan.
I try that and I let you know.

Hello gohone,

Yeah, try it with the cpan and let me know what happens, I'll be around here Wink


I tried your suggestion and the service is up and running since 2 days without crash.
So I guess that install the perl module with cpan was the solution.  It's  strange because the ubuntu package "libencode-locale-perl" was already installed...
I 'm waiting again a few days to be sure that the service is stable.

I let you know.

Thanks again.

Hello gohone,

Let me know if the crash comes up again, I'll be around here Wink


Users browsing this thread: 1 Guest(s)

(c) 2006-2018 Artica Soluciones Tecnológicas. Contents of this wiki are under Create Common Attribution v3 licence. | |

Theme © MyBB Themes