You have the same problem than me and other friends with some version of php4
Try this to see If you have same thing ##################################################### ### change www-data with you apache user ##################################################### srv-deb:/# su www-data srv-deb:/$ php4 -q /opt/jffnms/engine/poller.php Warning: main(../conf/config.php): failed to open stream: No such file or directory in /opt/jffnms/engine/poller.php on line 22 Warning: main(): Failed opening '../conf/config.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /opt/jffnms/engine/poller.php on line 22 ==> doesn't work srv-deb:/$ cd /opt/jffnms/engine/ srv-deb:/opt/jffnms/engine$ php4 -q /opt/jffnms/engine/poller.php Executing: /usr/bin/php4 -q /opt/jffnms/engine/poller.php 2 0 1 0 0 & : H 2 : Poller Start : 43 Items. : H 2 : I 2 : P 1 : reachability_start:ping(): 40c83c838c456 -> buffer(): 1 (time P:17.44 | 0.72) : H 2 : I 3 : P 10 : verify_interface_number(): 1 -> verify_interface_number(): interfacenumber not changed (time P:6.39 | 2.34) : H 2 : I 4 : P 10 : verify_interface_number(): 4 -> verify_interface_number(): interfacenumber not changed (time P:43.65 ==> wit works so change your crontab and put something like */5 * * * * www-data cd /opt/jffnms/engine/ && php4 -q poller.php >/dev/null 2>&1 if the cront start on /opt/jffnms/engine it will work Hope that's help PS: I see that your mysql module isn't loaded, check your php.ini and install php4-mysql and php4-mysql-dev if you don't have it _________________________________ David LIMA Professional Services www.scc.com -----Message d'origine----- De�: Alejandro Murciano Renedo [mailto:[EMAIL PROTECTED] Envoy�: jeudi 10 juin 2004 12:10 ��: [EMAIL PROTECTED] Objet�: Re: [jffnms-users] Poller Process problem. > Can you please do a php4 -m to see what php modules are loaded? Sure! [PHP Modules] bcmath bz2 calendar ctype dba exif filepro ftp gd gettext iconv mbstring openssl overload pcre posix session shmop snmp sockets standard sysvsem sysvshm tokenizer wddx xml yp zlib > Can you try to run php -q /opt/jffnms/engine/poller.php (try with php4 if > you use debian) from apache user (as apache or wwww-data on debian) and > show me the output of the command This is the output: Warning: main(../conf/config.php): failed to open stream: No such file or directory in /opt/jffnms/engine/poller.php on line 22 Warning: main(): Failed opening '../conf/config.php' for inclusion (include_path='.:/usr/share/pear') in /opt/jffnms/engine/poller.php on line 22 Fatal error: Call to undefined function: satellite_get_id() in /opt/jffnms/engine/poller.php on line 34 > You can continue to debug your install via IRC or icq if you want Thanks to jffnms for this great users help/support. And sorry about my bad English :) ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ jffnms-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jffnms-users ------------------------------------------------------- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org _______________________________________________ jffnms-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jffnms-users
