Welcome to Pandora FMS Community › Forums › Community support › Advanced troubleshooting › Problem with server and installed perl
-
Problem with server and installed perl
Posted by Chriss on February 18, 2010 at 19:02Hi,
today I liked to play a little bit with PandoraFMS, so I decided to install it on one of my test servers. This is a solaris 10 sparc 64 server with an updated perl (v5.8.8).
Everything went fine, except the startup of the “/usr/bin/pandora_server start”:/opt/imperia_perl/current/lib/perl5/site_perl/5.8.8/PandoraFMS/DataServer.pm line 23:
This Perl hasn’t been configured and built properly for the threads
module to work. (The ‘useithreads’ configuration option hasn’t been used.)Having threads support requires all of Perl and all of the XS modules in
the Perl installation to be rebuilt, it is not just a question of adding
the threads module. (In other words, threaded and non-threaded Perls
are binary incompatible.)If you want to the use the threads module, please contact the people
who built your Perl.Cannot continue, aborting.
BEGIN failed–compilation aborted at /opt/imperia_perl/current/lib/perl5/5.8.8/sun4-solaris/threads.pm line 28.
Compilation failed in require at /opt/imperia_perl/current/lib/perl5/site_perl/5.8.8/PandoraFMS/DataServer.pm line 23.
BEGIN failed–compilation aborted at /opt/imperia_perl/current/lib/perl5/site_perl/5.8.8/PandoraFMS/DataServer.pm line 23.
Compilation failed in require at /usr/bin/pandora_server line 32.
BEGIN failed–compilation aborted at /usr/bin/pandora_server line 32.
zaszbv6:/etc/pandoraWhat should I do now? Google and the forum search did not helped me…
Thanks,
Chriss
Sancho replied 14 years, 8 months ago 2 Members · 5 Replies -
5 Replies
-
-
::
Hi,
I solved the issue… I installed a new perl version into a other dir with threading support.
thanks,
Chriss
Thanx for posting your self the solution. This happen in some systems with a non-threaded version of Perl, like your Solaris and like Gentoo Linux, for example.
I hope everything is fine now, are you running also the console under Solaris, any problem ?. We don’t have many users running under different OS than linux (a few users in BSD and Solaris only).
-
::
Hi,
the situation is bad enough. 😉
I still have some problems with the suite on solaris. The Console reportet an error on top of every page. This is solved, I removed the code from the php. Since then, nearly all icons are shown in the console.
There is an unsolved issue with the popups: If I click on a graph the popup opens but I do not se any graphs, one the “summery” like: Max. Value: 94 Avg. Value: 4.0 Min. Value: 0The next issue are all the scripts… you are using “grep -e” this is a GNU feature and not supportet in solaris. 🙁 The solution is to change all the sripts from grep to /usr/xpg4/bin/grep from SUNWxcu4, ore change $PATH, anyway you will need to install SUNWxcu4.
And one more thing, the installer sript for the server is not working. The installer script terminated with an “ERROR compiling Pandora FMS Server from sources. Aborting”, this is solved with an installation by hand.
The last problem is graphviz, till now I found no way to compile and install it on solaris. This looks like I’m sissing to mutch libs. Here is still work in procress…. 😉 This my fix my problems with the graphs… hopefully.. 😉The agend installation whas not a big deal, it looks like an easy thing. But this is a installation on localhost first… So more problems may show up later.
Thanks,
Chriss
-
-
::
If you can arrange a Solaris script for install, it could be included in future versions, just put here.
About the graphwiz, don’t worry too much, it’s used only to generate the fancy realtime network graphs.
Errors in console could be “masked” editing some code in include/config_process.php setting
variable $develop_bypass = 1 to avoid development debug messages like you say.Problem with graphs could be related with an unsolved PHP dependency like PHP-gd
Good luck !
Hi,
the situation is bad enough. 😉
I still have some problems with the suite on solaris. The Console reportet an error on top of every page. This is solved, I removed the code from the php. Since then, nearly all icons are shown in the console.
There is an unsolved issue with the popups: If I click on a graph the popup opens but I do not se any graphs, one the “summery” like: Max. Value: 94 Avg. Value: 4.0 Min. Value: 0The next issue are all the scripts… you are using “grep -e” this is a GNU feature and not supportet in solaris. 🙁 The solution is to change all the sripts from grep to /usr/xpg4/bin/grep from SUNWxcu4, ore change $PATH, anyway you will need to install SUNWxcu4.
And one more thing, the installer sript for the server is not working. The installer script terminated with an “ERROR compiling Pandora FMS Server from sources. Aborting”, this is solved with an installation by hand.
The last problem is graphviz, till now I found no way to compile and install it on solaris. This looks like I’m sissing to mutch libs. Here is still work in procress…. 😉 This my fix my problems with the graphs… hopefully.. 😉The agend installation whas not a big deal, it looks like an easy thing. But this is a installation on localhost first… So more problems may show up later.
Thanks,
Chriss