i am recieving the following error:
Warning: exec(): Unable to fork [<DEFAULT> -v2c -t 1 hostname:161 "Community" .1.3.6.1.2.1.2.2.1.1] in C:\Inetpub\wwwroot\cacti\lib\functions.php on line 991
Warning: Variable passed to each() is not an array or object in C:\Inetpub\wwwroot\cacti\lib\functions.php on line 995
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\cacti\lib\functions.php:991) in C:\Inetpub\wwwroot\cacti\host.php on line 52
windows XP iis 5.1
this is also happening on
windows 2003 enterprise iis 6
can anyone help?
also cmd.php :
C:\Documents and Settings\Administrator>c:\php\php.exe c:\inetpub\wwwroot\cacti\
cmd.php
'cat' is not recognized as an internal or external command,
operable program or batch file.
Content-type: text/html
X-Powered-By: PHP/4.3.4
command: perl c:\inetpub\wwwroot\cacti\scripts\linux_memory.pl MemFree:, output:
'cat' is not recognized as an internal or external command,
operable program or batch file.
command: perl c:\inetpub\wwwroot\cacti\scripts\linux_memory.pl SwapFree:, output
:
'uptime' is not recognized as an internal or external command,
operable program or batch file.
MULTI command: perl c:\inetpub\wwwroot\cacti\scripts\loadavg_multi.pl, output: 1
min: 5min: 10min:
MULTI expansion: found fieldid: 17, found rrdname: load_1min, value:
MULTI expansion: found fieldid: 18, found rrdname: load_5min, value:
MULTI expansion: found fieldid: 19, found rrdname: load_15min, value:
'who' is not recognized as an internal or external command,
operable program or batch file.
command: perl c:\inetpub\wwwroot\cacti\scripts\unix_users.pl, output:
'ps' is not recognized as an internal or external command,
operable program or batch file.
command: perl c:\inetpub\wwwroot\cacti\scripts\unix_processes.pl, output:
update c:\inetpub\wwwroot\cacti/rra/localhost_mem_buffers_3.rrd --template mem_b
uffers N:U
update c:\inetpub\wwwroot\cacti/rra/localhost_mem_swap_4.rrd --template mem_swap
N:U
update c:\inetpub\wwwroot\cacti/rra/localhost_load_1min_5.rrd --template load_1m
in:load_5min:load_15min N:::
update c:\inetpub\wwwroot\cacti/rra/localhost_users_6.rrd --template users N:U
update c:\inetpub\wwwroot\cacti/rra/localhost_proc_7.rrd --template proc N:U
time: 0
C:\Documents and Settings\Administrator>
Please help!!!
Windows XP Issue
Moderators: Developers, Moderators
error:
Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:\Inetpub\wwwroot\cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
Data Query Debug Information
+ Running data query [1].
+ Found type = '3' [snmp query].
+ Found data query XML file at 'C:\Inetpub\wwwroot\cacti/resource/snmp_queries/interface.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.2.1.2.2.1.1'
+ No SNMP data returned
new error on windows 2003 server, this box is contacting the snmp enabled devices, however are unable to graph...graphin debug mode supplies the following error(s)
Warning: popen(c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --title="Router - Traffic - Et1" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" DEF:a="c\:\inetpub\wwwroot\cacti/rra/router_traffic_in_14.rrd":traffic_in:AVERAGE DEF:b="c\:\inetpub\wwwroot\cacti/rra/router_traffic_in_14.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" 2>&1,rb): No error in c:\inetpub\wwwroot\cacti\lib\rrd.php on line 58
Warning: fgets(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\cacti\lib\rrd.php on line 72
Warning: popen(c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --title="Router - Traffic - Et1" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" DEF:a="c\:\inetpub\wwwroot\cacti/rra/router_traffic_in_14.rrd":traffic_in:AVERAGE DEF:b="c\:\inetpub\wwwroot\cacti/rra/router_traffic_in_14.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" 2>&1,rb): No error in c:\inetpub\wwwroot\cacti\lib\rrd.php on line 58
Warning: fgets(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\cacti\lib\rrd.php on line 72
did you make sure that the iwam_[machinename] user has execute permissions to cmd.exe in windows\system32 ? That is usually the cause of this error.telec wrote:new error on windows 2003 server, this box is contacting the snmp enabled devices, however are unable to graph...graphin debug mode supplies the following error(s)
Warning: popen(c:/rrdtool/rrdtool.exe graph - --imgformat=PNG --start=-86400 --title="Router - Traffic - Et1" --rigid --base=1000 --height=120 --width=500 --alt-autoscale-max --lower-limit=0 --vertical-label="bits per second" DEF:a="c\:\inetpub\wwwroot\cacti/rra/router_traffic_in_14.rrd":traffic_in:AVERAGE DEF:b="c\:\inetpub\wwwroot\cacti/rra/router_traffic_in_14.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" 2>&1,rb): No error in c:\inetpub\wwwroot\cacti\lib\rrd.php on line 58
Warning: fgets(): supplied argument is not a valid stream resource in c:\inetpub\wwwroot\cacti\lib\rrd.php on line 72
My test environment is on the same system as my production environment. The production environment is Cacti 0.8.4 and it works perfectly. Unfortunatly, my test environment doesn't. The host that I am attempting to poll is one of my backbone switches which is being polled by the production environment as well, so yes, I have the correct permissions to run CMD.exe, my switch is up, I have the correct community string/IP address.....
Mike
Mike
Who is online
Users browsing this forum: No registered users and 0 guests