Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nagios server]/nagvis/frontend/nagvis-js/index.php drop error 500 after login #332

Open
MartonT888 opened this issue Feb 2, 2023 · 1 comment

Comments

@MartonT888
Copy link

MartonT888 commented Feb 2, 2023

Hello All,

I installed the NagVis for our Nagios Core server. All the prerequisites has been installed and when I try to log in on the given Nagvis site.
I got an error 500. So the authentication with admin/admin works fine and after the things go wrong.
Do you have any hint or idea for this problem?

PHP Version 5.4.16
Nagios® Core™ 4.4.7
Red Hat Enterprise Linux Server 7.6 (Maipo)
Apache/2.4.6 (Red Hat Enterprise Linux)

Same behavior with all browser .

Httpd logs:
[Thu Feb 02 10:29:37.975026 2023] [:error] [pid 68612] [client 10.75.131.228:49658] PHP Fatal error: Class 'PDO' not found in /usr/local/nagvis/share/server/core/classes/CorePDOHandler.php on line 273
[Thu Feb 02 10:29:41.240288 2023] [autoindex:error] [pid 68611] [client 10.75.131.228:49657] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index fo
rbidden by Options directive
[Thu Feb 02 10:29:52.086505 2023] [:error] [pid 68614] [client 10.75.131.228:49690] PHP Fatal error: Class 'PDO' not found in /usr/local/nagvis/share/server/core/classes/CorePDOHandler.php on line 273
[Thu Feb 02 10:36:06.084358 2023] [autoindex:error] [pid 68829] [client 10.75.131.228:50049] AH01276: Cannot serve directory /var/www/html/: No matching DirectoryIndex (index.html,index.php) found, and server-generated directory index fo
rbidden by Options directive
[Thu Feb 02 10:36:15.609444 2023] [:error] [pid 68612] [client 10.75.131.228:50050] PHP Fatal error: Class 'PDO' not found in /usr/local/nagvis/share/server/core/classes/CorePDOHandler.php on line 273
[Thu Feb 02 10:36:17.862383 2023] [:error] [pid 68874] [client 10.75.131.228:50068] PHP Fatal error: Class 'PDO' not found in /usr/local/nagvis/share/server/core/classes/CorePDOHandler.php on line 273
[Thu Feb 02 10:36:18.450382 2023] [:error] [pid 68611] [client 10.75.131.228:50067] PHP Fatal error: Class 'PDO' not found in /usr/local/nagvis/share/server/core/classes/CorePDOHandler.php on line 273

@miken32
Copy link

miken32 commented Mar 17, 2023

The error PHP Fatal error: Class 'PDO' not found is quite clear. Install PDO support on your server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants