On Monday 27 December 2004 13:37, Stu Teasdale wrote:
> On Mon, Dec 27, 2004 at 11:21:17AM +0100, Michael Creel wrote:
> > Hello,
> > I'm trying to get the web frontend set up on Debian Linux (concretely,
> > I'm trying to add it to the ParallelKnoppix CD). At this point I can see
> > graphs of activity on the page http://localhost/ganglia/index.php, but if
> > I click on "physical view", I just get a listing of the content of
> > the /var/www/html/ganglia directory. If I click on physical_view.php, the
> > browser shows me the message
> >
> > "Fatal error: Cannot instantiate non-existent class: templatepower
> > in /var/www/html/ganglia/physical_view.php on line 16"
> >
> > However, physical_view.php looks to be a valid file when I open it up in
> > an editor.
> >
> > So, I think I have an apache configuration problem. I did copy the
> > required lines into /etc/apache/httpd.conf. When apache starts, there are
> > no error messages. I suspect that apache is misconfigured or that I need
> > to install some missing package. libapache-mod-php4 is installed.
> >
> > Can anyone who has the web frontend running on Debian give me pointers?
>
> Hi there. I'm actually working on making a debian package of the web
> frontend atm, and therefore have it running on a couple of machine, but
> Haven't observed the problem you're seeing here.
>
> Trying it out on my test machine, you will get that error if you try to
> access physical_view.php directly, as it relies on definitions in other
> php files to work correctly.
>
> My guess is that your apache config may not be set to use index.php as
> the index when you access the ganglia page as
> http://localhost/ganglia/. Take a look at the DirectoryIndex variable
> in your apache config.
>
> Stu
Many thanks, that was it. Working great now. Michael


Reply via email to