Stick with this installation documentation, you will not get any problems with w2k/w2k3
Open INSTALL.win32.txt with Windows Wordpad
----- Original Message ----
From: luke teng <[EMAIL PROTECTED]>
To: jffnms-users@lists.sourceforge.net
Sent: Monday, April 3, 2006 7:38:29 AM
Subject: [jffnms-users] RE: jffnms-users digest, Vol 1 #1317 - 2 msgs
----- Original Message ----
From: luke teng <[EMAIL PROTECTED]>
To: jffnms-users@lists.sourceforge.net
Sent: Monday, April 3, 2006 7:38:29 AM
Subject: [jffnms-users] RE: jffnms-users digest, Vol 1 #1317 - 2 msgs
I experience the same problem when installing jffnms0.8.2 on a Windows 2000 server. After running the command in the batch file without a silent output, like,
c:\ php\ php.exe -f c:\ jffnms\ engine\ poller.php
I find the key problem is the following included file can't be found.
include_once("../conf/config.php")
This problem happens on all batch files in Windows platform.
In my test, this file is stored in c:\ jffnms\ conf\ . Howerver, it seems the Windows php engine can't understand such a unix/linux file path naming ("../conf/config.php").
Has anyone resolve this problem in a more elegant way (not modify every .php file in Windows platform for this)?
Regards,
Luke
From: [EMAIL PROTECTED]
Reply-To: jffnms-users@lists.sourceforge.net
To: jffnms-users@lists.sourceforge.net
Subject: jffnms-users digest, Vol 1 #1317 - 2 msgs
Date: Fri, 31 Mar 2006 20:26:21 -0800
>Send jffnms-users mailing list submissions to
> jffnms-users@lists.sourceforge.net
>
>To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/jffnms-users
>or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
>You can reach the person managing the list at
> [EMAIL PROTECTED]
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of jffnms-users digest..."
>
>
>Today's Topics:
>
> 1. JFFNMS keeps stopping (Chris Coates)
> 2. Confitguration help (wireless)
>
>--__--__--
>
>Message: 1
>Date: Fri, 31 Mar 2006 07:54:11 -0500
>From: "Chris Coates" <[EMAIL PROTECTED]>
>To: <jffnms-users@lists.sourceforge.net>
>Subject: [jffnms-users] JFFNMS keeps stopping
>
>I have just set up JFFNMS on a Win 2K3 server. Everything seemed to be
>running fine at first, but then JFFNMS stopped collecting data. All
>graphing stopped, and all icons went green.
>It seems like it will run for about 15 min and then quit. If I reboot
>the server it starts up again.
>I have checked and all the scheduled tasks are running. I also
>confirmed that they are all set to "Start in" C:\ jffnms\ engine.
>I went and stopped all tasks and kicked them off manually in the
>scheduler and directly form the .bat in the C:\ JFFNMS\ engine\ windows,
>I also tried running them from the command prompt they always seem to
>run fine but there is no graphing or apparent data collection, until I
>reboot.
>
>What am I missing?
>
>Thanks
>
>Chris
>
>
>--__--__--
>
>Message: 2
>Date: Fri, 31 Mar 2006 14:58:08 +0000
>From: wireless <[EMAIL PROTECTED]>
>Reply-To: [EMAIL PROTECTED]
>To: jffnms <jffnms-users@lists.sourceforge.net>
>Subject: [jffnms-users] Confitguration help
>
>Hello,
>
>I just got JFFNMS installed on Gentoo using this guide:
>http://www.gentoo.org/doc/en/jffnms.xml
>
>Only 2 minor problems,which I have filed with bugs.gentoo.org
>
>
>I get to the setup.php page via a browser.
>
>Here are the errors in red:
> Is The Database Working? no
> Absolute Path ok
>WebServer Relative Path error
> WebServer Temp Images Relative Path error
> NTPQ Executable error
>
>PHP
>
> Register Globals set to On no
>Allow URL fopen set to On no
>SNMP Module Loaded? ok
>Sockets Module Loaded? error
>
>
>My problem is I cannot get past the first one,
>Is the database working.....
>
>I've restarted postgresql to no avail.
>
>Ideas?
>
>
>James
>
>
>
>
>--__--__--
>
>_______________________________________________
>jffnms-users mailing list
>jffnms-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/jffnms-users
>
>
>End of jffnms-users Digest
------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ jffnms-users mailing list jffnms-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jffnms-users
Windows 2000/XP Install Procedure =================================
Note: This will not work for Windows 95/98/Me, it's only for Windows 2000/XP and maybe NT 4.0 The installation should be done as and Administrator User. This guide is for Apache2 with PHP5. If you want to use older versions, read the JFFNMS 0.7.9 INSTALL.win32.txt file. Installation: ------------- Install Apache: Download Apache2 from: http://www.apache.org/dist/httpd/binaries/win32/ Get the latest release "no_ssl.msi" package, like "apache_2.0.52-win32-x86-no_ssl.msi". Complete Install, Click on Next until Finish. You should see Apache running in your taskbar. Test it going browsing to http://localhost/ or http://IP.OF.YOUR.BOX/ Install MySQL: Download from: http://www.mysql.com/downloads/mysql/4.1.html Scroll down until you find MySQL Essentials for Windows. Select the "Complete Install", Click on Next until Finish. When you go into the configuration phase, select "Server Machine", and then "Non-Transacctional Database Only". Then set a new root password. All other configuration leave as default. Install PHP: Download PHP 5 from: http://www.php.net/downloads.php Get the "Windows Binaries ZIP package" with all the modules (First One). Extract the archive to c:\php Execute the following: c:\> copy c:\php\php.ini-dist c:\windows\php.ini c:\> copy c:\php\libmysql.dll c:\windows\ Create Folder c:\usr Copy c:\php\extra\mibs to c:\usr\mibs Install JFFNMS: Download the .zip file (I'm sure you already have done this) and extract it to c:\jffnms Create the User 'jffnms' in the Windows User Manager with any password you choose. Remember to CHECK 'Password Never Expires' and UNCHECK 'Must Change password at next logon' for this user. Give the 'jffnms' user FULL CONTROL over the c:\jffnms folder (and its sub-folders) Install RRDTOOL: Download from: http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/pub/?M=D Get the rrdtool-1.0.49-win32-bin.zip (or newer) file. Extract the archive to a temporary location. Copy the rrdtool.exe file from inside the archive to c:\jffnms Install NMAP: (If you are running Windows XP please read the NMAP page carefully, it may not work) Download it from: http://www.insecure.org/nmap/nmap_download.html Get the nmap-3.81-win32.zip file (or newer) Extract the nmap.exe file from the archive to c:\jffnms\ Install WinPCAP for NMAP: Download it from: http://winpcap.polito.it/ Choose the Auto-Installer. Complete Install, Click on Next until Finish. Configuration: -------------- Configure Apache for PHP5: Add this to the bottom of your c:\program files\apache group\Apache2\conf\httpd.conf file: LoadModule php5_module c:/php/php5apache2.dll AddType application/x-httpd-php .php NameVirtualHost * <VirtualHost *> ServerAdmin [EMAIL PROTECTED] DocumentRoot c:\jffnms\htdocs ServerName nms.yourdomain.com DirectoryIndex index.php LimitRequestLine 20000 </VirtualHost> * Make sure you modify the above information to match your needed settings Configure PHP: Make sure you have this on your php.ini file: register_globals = On register_argc_argv = On allow_url_fopen = On extension_dir = c:\php\ext (Uncomment the following): extension=php_gd2.dll extension=php_snmp.dll extension=php_mysql.dll extension=php_sockets.dll SMTP = your.mail.server.com (set it to your mail server IP or DNS name) Now Restart the Apache Service. if you don't change these, JFFNMS will not work. Configure MySQL: To create the JFFNMS DB run the following: Check the path to mysql.exe c:\> c:\Program Files\MySQL\MySQL Server 4.1\bin\mysql.exe -u root -p<Root MySQL Password> mysql>CREATE DATABASE jffnms; mysql>GRANT ALL PRIVILEGES ON jffnms.* TO [EMAIL PROTECTED] IDENTIFIED BY 'jffnms'; mysql>FLUSH PRIVILEGES; mysql>quit; And: c:\> c:\Program Files\MySQL\MySQL Server 4.1\bin\mysql.exe -ujffnms -pjffnms jffnms < c:\jffnms\docs\jffnms-0.8.x.mysql Replace x with the version you are installing. Configure JFFNMS: ----------------- I M P O R T A N T ----------------- Go to: http://yourserver/ Verify and change (if needed) the options. Don't mind the errors on diff, neato, smsclient, fping, ntpq, PgSQL and SOAP. Save the configuration and change the values until everything needed is Green. Everything else SHOULD be OK. Scheduled Tasks: ---------------- If you did not install jffnms in c:\jffnms you will have to change the contents of the .bat files (path). Start/Settings/Control Panel/Scheduled Tasks/Add Scheduled Task. 1) Next 2) Click Browse 3) Browse to c:\jffnms\engine\windows and select the first .bat file. 4) Select Daily, then Next. 5) Change the Start time to 12:00 AM 6) Select Every 1 Days then Next. 7) Enter Username: jffnms and Password: (the one you choosed before), then Next. 8) Click the 'Open Avanced...' checkbox, then click Finish 9) Change "Start In" to c:\jffnms\engine 10) Click the Schedule tab 11) For autodiscovery_interfaces, consolidate, poller & rrd_analizer: Click on the Advanced Button. Check Repeat Task. In the Every Field enter the respective times: autodiscovery_interfaces every 30 minutes. consolidate Every 1 Minute. poller Every 4 minutes. rrd_analizer every 30 minutes. Duration: 24 Hours. 12) Click on OK. 13) Click on OK. ** REPEAT THESE STEPS FOR EACH .BATCH FILE IN THE C:\JFFNMS\ENGINE\WINDOWS PATH! Now... try to access http://yourserver/ or http://yourserver/jffnms/ (if you took this way) Remember to add the last slash / to the URL. The Default Username and password is "admin". If you want to read more, please read the INSTALL file and skip the Unix Parts. ========================================================================= If you need anything, contact us at: jffnms-users@lists.sourceforge.net Thank You for trying 'Just For Fun' Network Management System Don't forget to Donate to the project if you find it useful for your work. ========================================================================= Javier Szyszlican aka SzYsZ Buenos Aires, Argentina [EMAIL PROTECTED] (please try the mailing list first) ICQ #397319