Bienvenido a la comunidad de Pandora FMS › Forums › Community support › Internal Server Error 500
-
Internal Server Error 500
Posted by rkiesler on diciembre 13, 2021 at 02:00Since a couple of updates ago, instead of the Pandora interface, I often only get a straight line. Pressing reload in the browser gives me the regular Pandora user interface.
Today, I checked that with the Chrome dev console, I get a “Internal Server Error 500” (see screenshot). I’m using Chrome 96.0.4664.93, my current Pandora Console version is v7.0NG.750, Build PC201111, MR 42Â (not the newest, I know). Is this a known error? Has that been fixed already?
Thanks!
Sancho replied 2 years, 11 months ago 3 Members · 9 Replies -
9 Replies
-
-
::
Sure. This is the entry from access.log:
[14/Dec/2021:08:36:01 +0100] “GET /pandora_console/ HTTP/1.1” 500 8969 “-” “Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36”
And here are the latest entries from error.log (apparently, they are older than the access.log entry):
[Tue Dec 14 06:25:02.554855 2021] [mpm_prefork:notice] [pid 773] AH00171: Graceful restart requested, doing restart
AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message
[Tue Dec 14 06:25:02.675814 2021] [mpm_prefork:notice] [pid 773] AH00163: Apache/2.4.25 (Raspbian) configured — resuming normal operations
[Tue Dec 14 06:25:02.677454 2021] [core:notice] [pid 773] AH00094: Command line: ‘/usr/sbin/apache2’
QXcbConnection: Could not connect to display
PhantomJS has crashed. Please read the bug reporting guide at
<http://phantomjs.org/bug-reporting.html> and file a bug report.
Aborted -
-
::
In pandora_server.error, this line repeats about 2000 times:
Use of uninitialized value in concatenation (.) or string at /usr/lib/perl5/PandoraFMS/Core.pm line 5376.
In pandora_server.log, I see this line repeated:
2021-12-16 14:17:02 pi-mon [V1] Server pi-mon is the current master.
where can I find the console log?
-
-
-
::
Hi! Adblock is disabled for my pandora FMS console site. These are the last lines from the pandora console log:
[15-Nov-2020 00:41:20 Europe/Vienna] PHP Notice: Undefined index: public_url_exclusions in /var/www/html/pandora_console/include/functions_ui.php on line 3890 [15-Nov-2020 00:41:20 Europe/Vienna] PHP Notice: Undefined index: force_public_url in /var/www/html/pandora_console/include/functions_ui.php on line 3896 [15-Nov-2020 00:41:48 Europe/Vienna] PHP Fatal error: Uncaught Error: Call to undefined function imagecreate() in /var/www/html/pandora_console/include/graphs/functions_gd.php:344 Stack trace: #0 /var/www/html/pandora_console/include/graphs/functions_gd.php(482): drawRating() #1 /var/www/html/pandora_console/include/graphs/fgraph.php(70): gd_progress_bar() #2 {main} thrown in /var/www/html/pandora_console/include/graphs/functions_gd.php on line 344 [15-Nov-2020 00:41:48 Europe/Vienna] PHP Fatal error: Uncaught Error: Call to undefined function imagecreate() in /var/www/html/pandora_console/include/graphs/functions_gd.php:344 Stack trace: #0 /var/www/html/pandora_console/include/graphs/functions_gd.php(482): drawRating() #1 /var/www/html/pandora_console/include/graphs/fgraph.php(70): gd_progress_bar() #2 {main} thrown in /var/www/html/pandora_console/include/graphs/functions_gd.php on line 344 [15-Nov-2020 00:41:48 Europe/Vienna] PHP Fatal error: Uncaught Error: Call to undefined function imagecreate() in /var/www/html/pandora_console/include/graphs/functions_gd.php:344
-
::
In Firefox, I also get that line, it’s the same result.
-
::
This message is pretty old, I assume timedate in your system is ok, but last lines are from 2020:
Nov-2020 00:41:48 Europe/Vienna] PHP Fatal error: Uncaught Error: Call to undefined function imagecreate()
In that case, seems your server most like does not have GD (the built in PHP image processing library) enabled. It is a PHP module:
apt-cache search php | grep gd
or for redhat/centos/alma/rocky:
yum search php | grep gdBut I don’t think thats the case if the console works some days ago and you don’t alter the system, and the log dates are pretty old.
Lets try another crazy idea: take a curl manual request from command line and lets see what is the output:
curl http://yourconsole_ip/pandora_console