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

Daniel Pocock daniel at pocock.pro
Tue Jun 27 13:15:11 UTC 2017



On 27/06/17 14:58, Alois Schloegl wrote:
> 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.


On my system it is working, I see the following owner and permissions:

$ ls -la /var/lib/ganglia-web/dwoo/
total 16
drwxr-xr-x 4 www-data root 4096 Jan 22  2015 .
drwxr-xr-x 4 root     root 4096 Jan 22  2015 ..
drwxr-xr-x 2 www-data root 4096 Apr  4  2014 cache
drwxrwxrwx 3 www-data root 4096 Mar 16  2015 compiled

> 
> 
> Do you have any suggests for debugging this issue ?
>

Please send the output of this command:

$ ls -la /var/lib/ganglia-web/dwoo/



More information about the Pkg-monitoring-maintainers mailing list