pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Working ganglia-webfrontend installation?




Anyone out there have www/ganglia-webfrontend working with pkgsrc apache?

I'm getting the error below and I'm not seeing anything wrong with the configuration.

The web server works fine otherwise.

Thanks,

    JB

==========

[root@login.finch ganglia-webfrontend] 548: dir /usr/pkg/var/db/ganglia/dwoo/
total 0
0 drwxr-xr-x. 4 www www 35 Aug 27 11:14 .
0 drwxr-xr-x. 4 www www 30 Aug 27 11:14 ..
0 drwxr-xr-x. 2 www www  6 Aug 27 11:14 cache
0 drwxr-xr-x. 2 www www  6 Aug 27 11:14 compiled
[root@login.finch ganglia-webfrontend] 549: ps aux|grep http
root     28223  0.0  0.0  74844  2232 ?        Ss   11:15   0:00 /usr/pkg/sbin/httpd -k start www      28224  0.0  0.0 496976  4420 ?        Sl   11:15   0:00 /usr/pkg/sbin/httpd -k start www      28225  0.0  0.0 562512  4436 ?        Sl   11:15   0:00 /usr/pkg/sbin/httpd -k start www      28226  0.0  0.0 431440  4156 ?        Sl   11:15   0:00 /usr/pkg/sbin/httpd -k start root     28979  0.0  0.0 112704   956 pts/0    S+   11:25   0:00 grep --color=auto http

==========


       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"; ?>

Home | Main Index | Thread Index | Old Index