Well,
There you go, the problem is you don't have your PHP binary correctly set in setup.php .
This part proves it: "d:/php -q"
Go to setup and set d:/php/php.exe as your PHP Executable.
Javier
Chris Coates wrote:
Javier,
The output from "d:\jffnms\engine> d:\php\php.exe -q d:\jffnms\engine\autodiscovery_interfaces.php" is:
D:\jffnms\engine>d:\php\php.exe -q d:\jffnms\engine\autodiscovery_interfaces.php
Executing: start /MIN d:/php -q d:\jffnms\engine\autodiscovery_interfaces.php 2 0 0 0 Executing: start /MIN d:/php -q d:\jffnms\engine\autodiscovery_interfaces.php 3 0 0 0 Executing: start /MIN d:/php -q d:\jffnms\engine\autodiscovery_interfaces.php 4 0 0 0 Executing: start /MIN d:/php -q d:\jffnms\engine\autodiscovery_interfaces.php 5 0 0 0 Executing: start /MIN d:/php -q d:\jffnms\engine\autodiscovery_interfaces.php 6 0 0 0 Executing: start /MIN d:/php -q d:\jffnms\engine\autodiscovery_interfaces.php 7 0 0 0 Executing: start /MIN d:/php -q d:\jffnms\engine\autodiscovery_interfaces.php 8 0 0 0 Executing: start /MIN d:/php -q d:\jffnms\engine\autodiscovery_interfaces.php 9 0 0 0
Also the php.ini does have the, register_argc_argv = on, set
Chris
Javier Szyszlican <[EMAIL PROTECTED]> 2/23/2005 10:06:03 >>>
Hi Chris,
Can you try to run:
d:\jffnms\engine> d:\php\php.exe -q d:\jffnms\engine\autodiscovery_interfaces.php
and see what your output looks like?
And also check if you have register_argc_argv = on in your php.ini
Javier
Chris Coates wrote:
Javier,
I have a Win2003 server running JFFNMS and all Windows hosts. I am having problems getting auto discovery to work. All clients are set to Automagic, SNMP is configured correctly If I look at the screen where you add hosts, the poll interval is
set
to every 5 min and the last poll date says not set and the poll
duration
is all 0s.
If I do a manual discovery that works. The scheduled task "seems" to run fine.
I went to a command prompt and ran the autodiscovery_interfaces.bat
directly from there and it still did not work, so the problem is not
how
the task is scheduled. I then ran d:\jffnms\engine> \php\php.exe -f autodiscovery_interfaces.php <host_id>, replacing host_id for the numeric and it worked, the interfaces were all discovered. I looked at the bat file and I had modified it to point to the
correct
drive letter. But other than that it is identical to the original. It now says "@d:\php\php.exe -q d:\jffnms\engine\autodiscovery_interfaces.php > nul:"
Any ideas why it is not running from the batch file?
Thanks for your help
Chris
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real
users.
Discover which products truly live up to the hype. Start reading
now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________
jffnms-users mailing list
[email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
-- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Javier Szyszlican, Project Leader, JFFNMS [EMAIL PROTECTED]
I hope JFFNMS or I were helpful to you, if you can, please donate at http://jffnms.org/donate
------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ jffnms-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jffnms-users
