This error: [ERROR: Opening 'port80.png' for write: Permission denied]
means that the cgi-script (which is being execured under the security context of the user the httpd proces is running under (for RH8 this is the "apache" user)) is unable to write to the directory specified in the script. Try making the directory you are calling the script from writeable by the apache user. SM -----Original Message----- From: adi [mailto:[EMAIL PROTECTED] Sent: 07 March 2003 08:05 To: [email protected] Cc: Tobias Oetiker Subject: [rrd-users] my cgi script error is there someone help me, why when i execution my cgi there error like this in web browser Traffic by Service last updated: Friday, March 07, 2003 02:51PM —— to —— from HTTP Port 80 [ERROR: Opening 'port80.png' for write: Permission denied] and this is my script cgi #!/rrdtool/bin/rrdcgi <html> <head><title>Port Monitoring</title> <META HTTP-EQUIV=Refresh CONTENT="120"/> </head> <body> <p><h1 align=center><b>Traffic by Service</b></h1> <br/> last updated: <RRD::TIME::LAST /rrdtool/bin/tcpservice.rrd "%A, %B %d, %Y %I:%M%p"><br/> <span style='color: #00FF00;'>—— to</span> <span style='color: #0000FF;'>—— from</span> </p> <p><b>HTTP Port 80</b><br/> <RRD::GRAPH port80.png --lazy -s -6hours -v 'Bits per second' DEF:in=/rrdtool/bin/tcpservice.rrd:80_in:AVERAGE DEF:out=/rrdtool/bin/tcpservice.rrd:80_out:AVERAGE CDEF:out_bits=out,8,* CDEF:in_bits=in,8,* AREA:in_bits#00FF00 LINE1:out_bits#0000FF> </p> <body> </html> please help me -- adi <[EMAIL PROTECTED]> -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi ------------------------------------------------------------------------------------------ Equinox Converged Solutions Limited. Tel: +44 (0)1252 405 600 http://www.equinoxsolutions.com IMPORTANT NOTICE: This message is intended solely for the use of the Individual or organisation to whom it is addressed. It may contain privileged or confidential information. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you should not use, copy, alter, or disclose the contents of this message. All information or opinions expressed in this message and/or any attachments are those of the author and are not necessarily those of Equinox Converged Solutions Limited. Equinox Converged Solutions Limited accepts no responsibility for loss or damage arising from its use, including damage from virus. ------------------------------------------------------------------------------------------ -- Unsubscribe mailto:[EMAIL PROTECTED] Help mailto:[EMAIL PROTECTED] Archive http://www.ee.ethz.ch/~slist/rrd-users WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
