NagVis / nagvis

Visualization addon for your open source monitoring core
http://nagvis.org/
GNU General Public License v2.0
115 stars 74 forks source link

Error access nagvis Redhat #309

Closed gildasiosousa closed 2 years ago

gildasiosousa commented 2 years ago

I did installation by ./install.sh but I can't access nagvis to Redhat 8. But present 403 error Forbidden You don't have permission to access this resource. Error log httpd: [Wed Jan 19 14:07:10.085106 2022] [authz_core:error] [pid 1176149:tid 140031888971520] [client 192.168.22.45:62262] AH01630: client denied by server configuration: /nagvis/nagvis/share/frontend/nagvis-js/index.php

gildasiosousa commented 2 years ago

Configuration executed with PHP 7.4

T100D commented 2 years ago

Is SELINUX enabled?

gildasiosousa commented 2 years ago

Thanks! by help T100D, but SELINUX is disabled.

gildasiosousa commented 2 years ago

I managed to solve. install multiple versions of PHP php56, and php72

dnf install -y https://rpms.remirepo.net/enterprise/remi-release-8.rpm
dnf makecache
dnf install -y php56 php56-php-fpm
dnf install php56*
dnf install php56* --skip-broken --nobest
cat > /var/www/cgi-bin/php56.fcgi << EOF
#!/bin/bash
exec /bin/php56-cgi
EOF
chmod 755 /var/www/cgi-bin/php*