I'm using :
cacti 0.8.6-f fresh install
Windows 2000 server
IIS 5.0
NO Net-SNMP
PHP5
All the configuration is OK :
php.ini --> c:\winnt,
snmp php module, socket php module are loaded,
MIBSDIR and PHPRC paths are properly configured,
PHP is also working (i make the test with php_info();), and return the correct parameters.
BUT
I have this message when i added a new host : [zubenelgenubi is the community string].
Code: Select all
Warning: exec() [function.exec]: Unable to fork [c:\php\php-win.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php force.orc.fr zubenelgenubi 1 4 161 500 index] in C:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php-win.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php force.orc.fr zubenelgenubi 1 4 161 500 query index] in C:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php-win.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php force.orc.fr zubenelgenubi 1 4 161 500 query description] in C:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php-win.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php force.orc.fr zubenelgenubi 1 4 161 500 query sau] in C:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php-win.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php force.orc.fr zubenelgenubi 1 161 500 index] in C:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php-win.exe -q C:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php force.orc.fr zubenelgenubi 1 161 500 query index] in C:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\wwwroot\cacti\lib\functions.php:1161) in C:\Inetpub\wwwroot\cacti\host.php on line 132
It seem to be a problem with the data queries (SNMP - Get Mounted Partitions and SNMP - Get Processor Information), except with the SNMP - Interface Statistics one who works fine.
When i tried to "reload" the query by clicking the small green circle that's don't work anymore, and when i want to "verbose query", that is the same type of error.
I'm very disapointed by the parameter -q of php-win.exe [c:\php\php-win.exe -q].
What's the signification of this?
If someone had the same error and found the solution it would be very usefull to me !!
Thanks in advance,
Best regards,
Julien Prénat
P.S Excuse for my French !