Hi i reinstalled the whole setup again and while configuring rrdtool i had
given --prefix-/usr
now also i am not  getting the  graph but i am getting different error. i
tried giving the folder 777 permission but still it's not working here is
the /var/log/httpd/error_log

ERROR: opening
'/var/lib/ganglia/rrds/Summation/xeon.summation.com/load_fifteen.rrd':
Permission denied
ERROR: opening
'/var/lib/ganglia/rrds/Summation/xeon.summation.com/load_five.rrd':
Permission denied
ERROR: opening
'/var/lib/ganglia/rrds/Summation/xeon.summation.com/load_one.rrd':
Permission denied
ERROR: opening
'/var/lib/ganglia/rrds/Summation/xeon.summation.com/mem_cached.rrd':
Permission denied
ERROR: opening
'/var/lib/ganglia/rrds/Summation/xeon.summation.com/mem_buffers.rrd':
Permission denied
ERROR: opening
'/var/lib/ganglia/rrds/Summation/xeon.summation.com/mem_shared.rrd':
Permission denied
ERROR: opening
'/var/lib/ganglia/rrds/Summation/xeon.summation.com/mem_free.rrd':
Permission denied
ERROR: opening
'/var/lib/ganglia/rrds/Summation/xeon.summation.com/part_max_used.rrd':
Permission denied
ERROR: opening
'/var/lib/ganglia/rrds/Summation/xeon.summation.com/pkts_in.rrd': Permission
denied
ERROR: opening
'/var/lib/ganglia/rrds/Summation/xeon.summation.com/pkts_out.rrd':
Permission denied
ERROR: opening
'/var/lib/ganglia/rrds/Summation/xeon.summation.com/proc_run.rrd':
Permission denied
ERROR: opening
'/var/lib/ganglia/rrds/Summation/xeon.summation.com/proc_total.rrd':
Permission denied
ERROR: opening
'/var/lib/ganglia/rrds/Summation/xeon.summation.com/swap_free.rrd':
Permission denied
[Tue Jul 18 17:39:29 2006] [error] [client 192.168.1.216] File does not
exist: /var/www/html/favicon.ico


pls tell me how to resolve this problem

On 7/18/06, toney samuel <[EMAIL PROTECTED]> wrote:

Hi,

but I am able to create graph by using this procedure


bash$ cd /var/lib/ganglia/rrds/__SummaryInfo__/

> >     bash$ rrdtool graph /tmp/foo.png --end now --start end-120000s \
> >      > --width 400 DEF:myline=cpu_nice.rrd:sum:AVERAGE \
> >      > LINE1:myline#0000FF:"foo\n"
> >     bash$ file /tmp/foo.png



and the error i am getting in /var/log/httpd/error_log while i am opening
ganglia page and select the node in the web page


On 7/18/06, Ramon Bastiaans <[EMAIL PROTECTED]> wrote:
>
> This means that rrdtool is actually not working, if you read the error
> printed by rrdtool. Also it seems it is still using /usr/bin/rrdtool
> instead of you alternate path in usr/local. Check your config again.
>
> rrdtool complains about not having permission to load it's library..
> Maybe a wild idea is to check the permissions on that file it prints??
> (the error message already suggests this!)
>
> Also the undefined function means that you do not have GD and/or the
> php-gd module installed.
>
> - Ramon.
>
> toney samuel wrote:
> > Hi Ben,
> >
> > I have tried as per your advise and rrdtool is working properly. I
> > checked the apache log also and i found this error
> >
> > [client 127.0.0.1 <http://127.0.0.1>] PHP Fatal error:  Call to
> > undefined function:  imagecreate() in /var/www/html/ganglia/pie.php on
>
> > line 121, referer: http://localhost/ganglia/
> > /usr/bin/rrdtool: error while loading shared libraries: librrd.so.2:
> > failed to map segment from shared object: Permission denied
> >
> > pls guide me to resolve this problem
> >
> > Regards
> >
> > On 7/17/06, *Ben Hartshorne* <[EMAIL PROTECTED]
> > <mailto: [EMAIL PROTECTED]>> wrote:
> >
> >
> >     Toney,
> >
> >     Have you verified that rrdtool itself works?  It may not be a
> problem
> >     with ganglia you're looking at but a problem with rrdtool itself.
> >
> >     I'm not sure what might show up in the apache logs, but that may
> be a
> >     good place to look as well.
> >
> >     You should be able to find your rrd databases for ganglia on the
> node
> >     running gmetad (which may be all the nodes).  My installation puts
> them
> >     in /var/lib/ganglia/rrds, but I'm not sure if that's the default
> >     location.
> >
> >     Assuming they are there...
> >
> >     bash$ cd /var/lib/ganglia/rrds/__SummaryInfo__/
> >     bash$ rrdtool graph /tmp/foo.png --end now --start end-120000s \
> >      > --width 400 DEF:myline=cpu_nice.rrd:sum:AVERAGE \
> >      > LINE1:myline#0000FF:"foo\n"
> >     bash$ file /tmp/foo.png
> >     /tmp/foo.png: GIF image data, version 87a, 480 x 155
> >     bash$ xv /tmp/foo.png #or some other way of viewing it
> >
> >     If foo.png is a real graph, then you have verified that rrdtool is
>
> >     working correctly.  If you cannot get rrdtool to create a graph
> for you,
> >     you should investigate why it is not working correctly before
> continuing
> >     to troubleshoot ganglia.
> >
> >     -ben
> >
> >
> >     On Mon, Jul 17, 2006 at 12:13:25PM +0530, toney samuel wrote:
> >      > Hi, i have specified the path as per your instruction but still
> i
> >     am not
> >      > getting and graph in the web page.
> >      >
> >      > On 7/15/06, matt massie <[EMAIL PROTECTED] <mailto:
> [EMAIL PROTECTED]>
> >      > wrote:
> >      > >
> >      > >toney samuel wrote:
> >      > >> Hi i have installed as per the instructions on this link
> >      > >>
> >      > >> http://www.ibm.com/collaboration/wiki/display/WikiPtype/ganglia
> >      > >>
> >     <http://www.ibm.com/collaboration/wiki/display/WikiPtype/ganglia
> >     <http://www.ibm.com/collaboration/wiki/display/WikiPtype/ganglia>>
> >      > >>
> >      > >> I am able to get the ganglia page and also the status of my
> >     node. I am
> >      > >> not getting the graphics ( graphs ). i have installed
> rrdtool in
> >      > >> /usr/local/rrdtool- 1.2.3 i have also specified the rrdtool
> >     path in
> >      > >> /var/www/html/ganglia/conf.php
> >      > >>
> >      > >> define("RRDTOOL", "/usr/local/rrdtool-1.2.3");
> >      > >you are so close.  RRDTOOL is not the path to the directory
> but
> >     rather
> >      > >the path to the binary.
> >      > >
> >      > >define("RRDTOOL", "/usr/local/rrdtool-1.2.3/bin/rrdtool");
> >      > >
> >      > >should work for you.
> >      > >
> >      > >good luck
> >      > >-matt
> >      > >
> >      > >
> >      > >
> >      > >
> >      > >
> >      > >
> >
> >      >
> >      >
> >
> -------------------------------------------------------------------------
> >      > Using Tomcat but need to do more? Need to support web services,
> >     security?
> >      > Get stuff done quickly with pre-integrated technology to make
> >     your job easier
> >      > Download IBM WebSphere Application Server v.1.0.1 based on
> Apache
> >     Geronimo
> >      >
> >
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >     
<http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> >
> >
> >      > _______________________________________________
> >      > Ganglia-general mailing list
> >      > [email protected]
> >     <mailto:[email protected]>
> >      > https://lists.sourceforge.net/lists/listinfo/ganglia-general
> >
> >
> >     --
> >     Ben Hartshorne
> >     email: [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
> >     http://ben.hartshorne.net
> >
> >
> >     -----BEGIN PGP SIGNATURE-----
> >     Version: GnuPG v1.4.1 (GNU/Linux)
> >
> >     iD8DBQFEu7zxKeT3tvTdv64RAlYyAJ9sr97jcuPJ1gWvET1j4BsllSfi0ACgpRd2
> >     +s/6C1ZVHROi5wYu5CAvBqM=
> >     =i3qY
> >     -----END PGP SIGNATURE-----
> >
> >
> >
> >
> >
> ------------------------------------------------------------------------
> >
> >
> -------------------------------------------------------------------------
> > Take Surveys. Earn Cash. Influence the Future of IT
> > Join SourceForge.net's Techsay panel and you'll get the chance to
> share your
> > opinions on IT & business topics through brief surveys -- and earn
> cash
> >
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Ganglia-general mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/ganglia-general
>
> --
> ing. R. Bastiaans            HPC - Systems Programmer
>
> SARA - Computing and Networking Services
> Kruislaan 415                PO Box 194613
> 1098 SJ Amsterdam            1090 GP Amsterdam
> Tel. +31 (0) 20 592 3000     Fax. +31 (0) 20 668 3167
> ---
> There are really only three types of people:
>
>    Those who make things happen, those who watch things happen
>    and those who say, "What happened?"
>


Reply via email to