Error running php cmd.php

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

Moderators: Developers, Moderators

Post Reply
avilar
Posts: 2
Joined: Mon Jul 14, 2003 9:30 pm
Location: San Juan, PR.
Contact:

Error running php cmd.php

Post by avilar »

When I try to run ( php /var/www/html/cacti/cmd.php )

This is a erros:

sh: /usr/local/rrdtool/bin: is a directory
sh: /usr/local/rrdtool/bin: is a directory
sh: /usr/local/rrdtool/bin: is a directory
sh: /usr/local/rrdtool/bin: is a directory
sh: /usr/local/rrdtool/bin: is a directory
sh: /usr/local/rrdtool/bin: is a directory
X-Powered-By: PHP/4.0.4pl1
Content-type: text/html

snmp: 204.6.206.193, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.3, value: 1699699815
<br>
<b>Warning</b>: fopen("/var/www/html/cactihttp://mrtgclient.isla.net/log/rrd.log","a") - No such file or directory in <b>/var/www/html/cacti/include/functions.php</b> on line <b>241</b><br>
<br>
<b>Warning</b>: Supplied argument is not a valid File-Handle resource in <b>/var/www/html/cacti/include/functions.php</b> on line <b>242</b><br>
<br>
<b>Warning</b>: Supplied argument is not a valid File-Handle resource in <b>/var/www/html/cacti/include/functions.php</b> on line <b>243</b><br>
snmp: 204.6.206.193, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.3, value: 62605210


I need help................... :(
Roberto Avila
avilar@isla.net
TomChiverton
Posts: 4
Joined: Tue Jul 15, 2003 8:32 am

Post by TomChiverton »

Check your path configuration for errors - you have teo types of slash in your path too rrdtool, at the very least !
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests