[Pkg-monitoring-maintainers] Bug#866115: dist-upgrade to Stretch broke ganglia-web

Alois Schloegl alois.schloegl at ist.ac.at
Tue Jun 27 12:58:22 UTC 2017


Package: ganglia-web


The following ganglia packages are installed:

ganglia:~# dpkg -l|grep ganglia
ii  ganglia-modules-linux                 1.3.6-2
        amd64        Ganglia extra modules for Linux (IO, filesystems,
multicpu)
ii  ganglia-monitor                       3.6.0-7+b1
        amd64        cluster monitoring toolkit - node daemon
ii  ganglia-monitor-python                3.6.0-7
        all          cluster monitoring toolkit - python modules
ii  ganglia-webfrontend                   3.6.1-3
        all          cluster monitoring toolkit - web front-end
ii  libganglia1                           3.6.0-7+b1
        amd64        cluster monitoring toolkit - shared libraries


After dist-upgrading from Debian 8 to Debian 9, the ganglia web
interface is not working anymore, it just shows this error message.


=== START-OF-MESSAGE ===

Sorry, you do not have access to this resource.
"); } try { $dwoo = new Dwoo($conf['dwoo_compiled_dir'],
$conf['dwoo_cache_dir']); } catch (Exception $e) { print "
There was an error initializing the Dwoo PHP Templating Engine: ".
$e->getMessage() . "

The compile directory should be owned and writable by the apache user.
"; exit; } # Useful for addons. $GHOME = "."; if ($context == "meta" or
$context == "control") { $title = "$self ${conf['meta_designator']}
Report"; include_once "./header.php"; include_once "./meta_view.php"; }
else if ($context == "tree") { $title = "$self
${conf['meta_designator']} Tree"; include_once "./header.php";
include_once "./grid_tree.php"; } else if ($context == "cluster" or
$context == "cluster-summary") { if (preg_match('/cluster/i',
$clustername)) $title = "$clustername Report"; else $title =
"$clustername Cluster Report"; include_once "./header.php"; include_once
"./cluster_view.php"; } else if ($context == "physical") { $title =
"$clustername Physical View"; include_once "./header.php"; include_once
"./physical_view.php"; } else if ($context == "node") { $title =
"$hostname Node View"; include_once "./header.php"; include_once
"./show_node.php"; } else if ($context == "host") { $title = "$hostname
Host Report"; include_once "./header.php"; include_once
"./host_view.php"; } else if ($context == "views") { $title = "$viewname
view"; include_once "./header.php"; include_once "./views_view.php"; }
else if ($context == "compare_hosts") { $title = "Compare Hosts";
include_once "./header.php"; include_once "./compare_hosts.php"; } else
if ($context == "decompose_graph") { $title = "Decompose graph";
include_once "./header.php"; include_once "./decompose_graph.php"; }
else { $title = "Unknown Context"; print "Unknown Context Error: Have
you specified a host but not a cluster?."; } include_once
"./footer.php"; ?>


==== END ===

When searching the web, there where some hints towards a permission
problem, but changing the permissions did not help.


I also purged and reinstalled ganglia-web and the apache, but it did not
help.


Do you have any suggests for debugging this issue ?



More information about the Pkg-monitoring-maintainers mailing list