Hi all,
I followed your instructions on how to install cacti on windowXP. After installation, I am having problems, seeing any graph on Cacti. When I run cmd.php, I noticed these errors.
It appears that perl isn't able to find the path because the path is repeated. I don't know where I can change this path so it doesn't repeat. If this is my problem for why I am not getting any graphs on cacti, please help. Thanks.
C:\>cd apache2\htdocs\cacti
C:\Apache2\htdocs\cacti>php cmd.php
'php' is not recognized as an internal or external command,
operable program or batch file.
C:\Apache2\htdocs\cacti>c:\php\php.exe cmd.php
Content-type: text/html
X-Powered-By: PHP/4.3.1
Can't open perl script "C://Apache2//htdocs//cacti//install//index.phpC://Apache
2//htdocs//cacti///scripts/linux_memory.pl": Invalid argument
command: perl C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdocs/
/cacti///scripts/linux_memory.pl MemFree:, output:
<br />
<b>Warning</b>: fopen(C://Apache2//htdocs//cacti//install//index.phpC://Apache2
//htdocs//cacti///log/rrd.log) [<a href='http://www.php.net/function.fopen'>func
tion.fopen</a>]: failed to create stream: Invalid argument in <b>c:\apache2\htdo
cs\cacti\include\functions.php</b> on line <b>242</b><br />
<br />
<b>Warning</b>: fwrite(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>243</b><br />
<br />
<b>Warning</b>: fclose(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>244</b><br />
ERROR: creating 'C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdo
cs//cacti///rra/localhost_mem_buffers_3.rrd': Invalid argument
Can't open perl script "C://Apache2//htdocs//cacti//install//index.phpC://Apache
2//htdocs//cacti///scripts/linux_memory.pl": Invalid argument
command: perl C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdocs/
/cacti///scripts/linux_memory.pl SwapFree:, output:
<br />
<b>Warning</b>: fopen(C://Apache2//htdocs//cacti//install//index.phpC://Apache2
//htdocs//cacti///log/rrd.log) [<a href='http://www.php.net/function.fopen'>func
tion.fopen</a>]: failed to create stream: Invalid argument in <b>c:\apache2\htdo
cs\cacti\include\functions.php</b> on line <b>242</b><br />
<br />
<b>Warning</b>: fwrite(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>243</b><br />
<br />
<b>Warning</b>: fclose(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>244</b><br />
ERROR: creating 'C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdo
cs//cacti///rra/localhost_mem_swap_4.rrd': Invalid argument
Can't open perl script "C://Apache2//htdocs//cacti//install//index.phpC://Apache
2//htdocs//cacti///scripts/loadavg_multi.pl": Invalid argument
MUTLI command: perl C://Apache2//htdocs//cacti//install//index.phpC://Apache2//h
tdocs//cacti///scripts/loadavg_multi.pl, output:
<br />
<b>Warning</b>: fopen(C://Apache2//htdocs//cacti//install//index.phpC://Apache2
//htdocs//cacti///log/rrd.log) [<a href='http://www.php.net/function.fopen'>func
tion.fopen</a>]: failed to create stream: Invalid argument in <b>c:\apache2\htdo
cs\cacti\include\functions.php</b> on line <b>242</b><br />
<br />
<b>Warning</b>: fwrite(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>243</b><br />
<br />
<b>Warning</b>: fclose(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>244</b><br />
ERROR: creating 'C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdo
cs//cacti///rra/localhost_load_1min_5.rrd': Invalid argument
Can't open perl script "C://Apache2//htdocs//cacti//install//index.phpC://Apache
2//htdocs//cacti///scripts/unix_users.pl": Invalid argument
command: perl C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdocs/
/cacti///scripts/unix_users.pl, output:
<br />
<b>Warning</b>: fopen(C://Apache2//htdocs//cacti//install//index.phpC://Apache2
//htdocs//cacti///log/rrd.log) [<a href='http://www.php.net/function.fopen'>func
tion.fopen</a>]: failed to create stream: Invalid argument in <b>c:\apache2\htdo
cs\cacti\include\functions.php</b> on line <b>242</b><br />
<br />
<b>Warning</b>: fwrite(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>243</b><br />
<br />
<b>Warning</b>: fclose(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>244</b><br />
ERROR: creating 'C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdo
cs//cacti///rra/localhost_users_6.rrd': Invalid argument
Can't open perl script "C://Apache2//htdocs//cacti//install//index.phpC://Apache
2//htdocs//cacti///scripts/unix_processes.pl": Invalid argument
command: perl C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdocs/
/cacti///scripts/unix_processes.pl, output:
<br />
<b>Warning</b>: fopen(C://Apache2//htdocs//cacti//install//index.phpC://Apache2
//htdocs//cacti///log/rrd.log) [<a href='http://www.php.net/function.fopen'>func
tion.fopen</a>]: failed to create stream: Invalid argument in <b>c:\apache2\htdo
cs\cacti\include\functions.php</b> on line <b>242</b><br />
<br />
<b>Warning</b>: fwrite(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>243</b><br />
<br />
<b>Warning</b>: fclose(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>244</b><br />
ERROR: creating 'C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdo
cs//cacti///rra/localhost_proc_7.rrd': Invalid argument
update C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdocs//cacti/
//rra/localhost_mem_buffers_3.rrd --template mem_buffers N:U
<br />
<b>Warning</b>: fopen(C://Apache2//htdocs//cacti//install//index.phpC://Apache2
//htdocs//cacti///log/rrd.log) [<a href='http://www.php.net/function.fopen'>func
tion.fopen</a>]: failed to create stream: Invalid argument in <b>c:\apache2\htdo
cs\cacti\include\functions.php</b> on line <b>242</b><br />
<br />
<b>Warning</b>: fwrite(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>243</b><br />
<br />
<b>Warning</b>: fclose(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>244</b><br />
ERROR: opening 'C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdoc
s//cacti///rra/localhost_mem_buffers_3.rrd': Invalid argument
update C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdocs//cacti/
//rra/localhost_mem_swap_4.rrd --template mem_swap N:U
<br />
<b>Warning</b>: fopen(C://Apache2//htdocs//cacti//install//index.phpC://Apache2
//htdocs//cacti///log/rrd.log) [<a href='http://www.php.net/function.fopen'>func
tion.fopen</a>]: failed to create stream: Invalid argument in <b>c:\apache2\htdo
cs\cacti\include\functions.php</b> on line <b>242</b><br />
<br />
<b>Warning</b>: fwrite(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>243</b><br />
<br />
<b>Warning</b>: fclose(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>244</b><br />
ERROR: opening 'C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdoc
s//cacti///rra/localhost_mem_swap_4.rrd': Invalid argument
update C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdocs//cacti/
//rra/localhost_users_6.rrd --template users N:U
<br />
<b>Warning</b>: fopen(C://Apache2//htdocs//cacti//install//index.phpC://Apache2
//htdocs//cacti///log/rrd.log) [<a href='http://www.php.net/function.fopen'>func
tion.fopen</a>]: failed to create stream: Invalid argument in <b>c:\apache2\htdo
cs\cacti\include\functions.php</b> on line <b>242</b><br />
<br />
<b>Warning</b>: fwrite(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>243</b><br />
<br />
<b>Warning</b>: fclose(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>244</b><br />
ERROR: opening 'C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdoc
s//cacti///rra/localhost_users_6.rrd': Invalid argument
update C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdocs//cacti/
//rra/localhost_proc_7.rrd --template proc N:U
<br />
<b>Warning</b>: fopen(C://Apache2//htdocs//cacti//install//index.phpC://Apache2
//htdocs//cacti///log/rrd.log) [<a href='http://www.php.net/function.fopen'>func
tion.fopen</a>]: failed to create stream: Invalid argument in <b>c:\apache2\htdo
cs\cacti\include\functions.php</b> on line <b>242</b><br />
<br />
<b>Warning</b>: fwrite(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>243</b><br />
<br />
<b>Warning</b>: fclose(): supplied argument is not a valid stream resource in <
b>c:\apache2\htdocs\cacti\include\functions.php</b> on line <b>244</b><br />
ERROR: opening 'C://Apache2//htdocs//cacti//install//index.phpC://Apache2//htdoc
s//cacti///rra/localhost_proc_7.rrd': Invalid argument
time: 2
C:\Apache2\htdocs\cacti>^V^V
Getting Graphs on Cacti
Moderators: Developers, Moderators
Who is online
Users browsing this forum: No registered users and 1 guest