Thanks for your time, I checked what you told me 
And made some changes, but I'm still getting the same problem.

>>1) Check the "rrd_rootdir" option in gmetad.conf and make sure it
points
>>to the place you want the rrd files to be written.


I'm using the default round-robing folder

#-----------------------------------------------------------------------
--------
# Where gmetad stores its round-robin databases
# default: "/var/lib/ganglia/rrds"
#rrd_rootdir "/usr/local/rrdtool-1.2.23/share/rrdtool"



>>2) Check the permissions on that dir to make sure that gmetad can
write
>>to it.

Permissions are right, own by ganglia user, user is especify in the
gmetad.conf

drwxr-xr-x   3 ganglia ganglia   4096 2007-07-11 16:57 ganglia


>>3) Run gmetad for a bit.  Then look in the rrd_rootdir to see if
gmetad
>>has created the proper rrd files.  For example, make sure that every
>>node has a mem_total.rrd file.  If a node doesn't, this can prevent
the
>>creation of the __SummaryInfo__/mem_total.rrd file which would result
in
>>the error that you saw.

Nothing is created in /var/lib/ganglia/rrds/_SummaryInfo/         folder



>>4) For the web frontend, make sure conf.php defines $gmetad_root and
>>$rrds properly.  Make sure that $rrds matches the value of rrd_rootdir
>>from gmetad.conf.

This is my /var/www/ganglia/conf.php  file


# Where gmetad stores the rrd archives.
$gmetad_root = "/var/lib/ganglia";
#$gmetad_root = "/usr/local/rrdtool-1.2.23/share/rrdtool";
$rrds = "$gmetad_root/rrds";

# Leave this alone if rrdtool is installed in $gmetad_root,
# otherwise, change it if it is installed elsewhere (like /usr/bin)
#define("RRDTOOL", "/usr/local/rrdtool-1.2.23/bin/rrdtool");
define("RRDTOOL", "/usr/bin/rrdtool");
#define("RRDTOOL", "/var/lib/ganglia");                        # itried
both


>>5) In conf.php, make sure the define("RRDTOOL", ...) line points to
the
>>location of the correct rrdtool binary.

I tried both paths.

define("RRDTOOL", "/usr/bin/rrdtool");
#define("RRDTOOL", "/var/lib/ganglia");                        # itried
both




Also, I  forgot to mention that this message are in my /var/log/syslog


Jul 17 12:46:00 apprep /usr/sbin/gmetad[23745]: poll() timeout for
[serenity] data source after 0 bytes read
Jul 17 12:46:00 apprep /usr/sbin/gmetad[23745]: Got a malformed path
request from 127.0.0.1
Jul 17 12:46:00 apprep /usr/sbin/gmetad[23745]: server_thread()
1151466416 unable to write root preamble (DTD, etc)



Thanks for you prompt responses.

 





>>-----Original Message-----
>>From: Richard Mohr [mailto:[EMAIL PROTECTED]
>>Sent: Tuesday, July 17, 2007 6:50 AM
>>To: Jose Lombera
>>Cc: [email protected]
>>Subject: Re: [Ganglia-general] ERROR: opening '/var/lib/ganglia/rrds/
>>
>>On Mon, 2007-07-16 at 19:47 -0400, Jose Lombera wrote:
>>
>>> ERROR: opening
'/var/lib/ganglia/rrds/__SummaryInfo__/mem_total.rrd':
>>> No such file or directory
>>>
>>> ERROR: reading the cookie
>>> off /var/lib/ganglia/rrds/__SummaryInfo__/load_one.rrd faild
>>
>>I would try these steps.  (You have probably tried several of them
>>already, but since I don't know which ones you tried, I'll just list
all
>>the ones I can think of.)
>>
>>1) Check the "rrd_rootdir" option in gmetad.conf and make sure it
points
>>to the place you want the rrd files to be written.
>>
>>2) Check the permissions on that dir to make sure that gmetad can
write
>>to it.
>>
>>3) Run gmetad for a bit.  Then look in the rrd_rootdir to see if
gmetad
>>has created the proper rrd files.  For example, make sure that every
>>node has a mem_total.rrd file.  If a node doesn't, this can prevent
the
>>creation of the __SummaryInfo__/mem_total.rrd file which would result
in
>>the error that you saw.
>>
>>4) For the web frontend, make sure conf.php defines $gmetad_root and
>>$rrds properly.  Make sure that $rrds matches the value of rrd_rootdir
>>from gmetad.conf.
>>
>>5) In conf.php, make sure the define("RRDTOOL", ...) line points to
the
>>location of the correct rrdtool binary.
>>
>>Hopefully one of those steps will shed some light on your problem.
>>
>>--
>>Rick Mohr
>>Systems Developer
>>Ohio Supercomputer Center


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ganglia-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ganglia-general

Reply via email to