Could not save png to ''

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
cosmoarg
Posts: 5
Joined: Fri Apr 16, 2010 1:22 pm

Could not save png to ''

Post by cosmoarg »

hi pals,
I'm having the following issue and I feel very stupid.
After updateing cacti and rrdtools usina freebsd ports , cacti stops graphic generation. I can see al the strcture but no graph.
I 've set all the log level to maximus, and also in httpd-error, every time I tried to reload cacti web I get the following msg
Could not save png to ''

Freebsd 8
cacti from ports Version 0.8.7e
mysql
apache 2.2.
php 5.2.13
could it be permisions issue?
Any help, welcome
Mariano
cosmoarg
Posts: 5
Joined: Fri Apr 16, 2010 1:22 pm

Post by cosmoarg »

pals,
again me. this is my rrdtool line
/usr/local/bin/rrdtool graph - --imgformat=PNG --start=1272407027 --end=1272493427 --title="Localhost - Processes" --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 COMMENT:"From 2010/04/27 19\:23\:47 To 2010/04/28 19\:23\:47\c" COMMENT:" \n" --vertical-label="processes" --slope-mode --font TITLE:12: --font AXIS:8: --font LEGEND:10: --font UNIT:8: DEF:a="/usr/local/share/cacti/rra/localhost_proc_7.rrd":proc:AVERAGE AREA:a#F51D30FF:"Running Processes" GPRINT:a:LAST:"Current\:%8.0lf" GPRINT:a:AVERAGE:"Average\:%8.0lf" GPRINT:a:MAX:"Maximum\:%8.0lf\n"

here is the problem. I have check from commmand line and i get the same anser about no png generation
thanks
mariano
router
Posts: 1
Joined: Wed Jul 07, 2010 3:06 am

Post by router »

Hi i have same problem, can anybody help? Some ideas?...

FreeBSD 6.4-RELEASE-p9
cacti Version 0.8.7e


RRDTool Command:

/usr/local/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Gate - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/usr/local/share/cacti/rra/gate_traffic_in_484.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/share/cacti/rra/gate_traffic_in_484.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefg=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:a:LAST:" Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"Total In\: 73.65 MB\n" \
GPRINT:b:LAST:"Current\:%8.2lf %s" \
LINE1:cdefg#002A97FF:"Outbound" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n" \
COMMENT:"Total Out\: 13.17 MB"

RRDTool Says:

ERROR: Could not save png to ''

Thanks.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The command instructs rrdtool to output the png to STDOUT. Cacti makes that appear on the web page.
Which version of rrdtool are you using, then?
R.
FreeOwl
Posts: 1
Joined: Tue Oct 19, 2010 12:27 am
Contact:

Re:

Post by FreeOwl »

gandalf wrote:The command instructs rrdtool to output the png to STDOUT. Cacti makes that appear on the web page.
Which version of rrdtool are you using, then?
R.
Hi!
I have a similar problem.
FreeBSD 8.0-RELEASE-p2 /usr/src/sys/i386/compile/amdborges i386
Apache 2.2
PHP Version 5.2.12
RRDtool 1.4.4 Copyright 1997-2010 by Tobias Oetiker <tobi@oetiker.ch> Compiled Oct 18 2010 10:56:08
Cacti Version 0.8.7g

everything is installed from ports.
Tell me please how to solve this problem?

PS I apologize for my English, had to use google translator :)
Post Reply

Who is online

Users browsing this forum: No registered users and 9 guests