Permission Denied

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

Moderators: Developers, Moderators

Post Reply
akira_cacti
Posts: 1
Joined: Sat Aug 20, 2005 5:07 am

Permission Denied

Post by akira_cacti »

I installed net-snmp, rddtool. mysql, cacti on FC3.

I finished install, and run cacti.
But My cacti don't display Graph Image.

My cacti use Property for it's graph
--------------------------------------------------------------------
/usr/local/rrdtool-1.2.11/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="ThreeG - Traffic - 127.0.0.1 (lo)" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/usr/local/cacti-0.8.6f/rra/threeg_traffic_in_51.rrd":traffic_in:AVERAGE \
DEF:b="/usr/local/cacti-0.8.6f/rra/threeg_traffic_in_51.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
--------------------------------------------------------------------
And I can run directry on Terminal, and get Image Data correctry.

My Apache save error_log, (/var/log/httpd/error_log)
--------------------------------------------------------------------
sh: /usr/local/rrdtool-1.2.11/bin/rrdtool: Permission denied
--------------------------------------------------------------------
so, I change /usr/local/rrdtool-1.2.11/bin/rrdtool's permission 777.

However, My cacti can't display Graph.
Why do my cacti can't display Gtaph?
How do I change setting?

If do you have some infomation this case, Please teach me!

Thanks in Advance.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Is you apache server running in a chroot?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests