HELP!! New Installation on W2K3 Server
Moderators: Developers, Moderators
HELP!! New Installation on W2K3 Server
I followed the install instructions provided for Windows and I'm using IIS 6.0. I point my browser to http://my server/cacti, but nothing is displayed. Where should I go from here? Any troubleshooting tips?
Thank you,
jph
Thank you,
jph
1) did you enable php in the web extentions in IIS?
2) go to your command prompt paste the output of: php -m
3) what version of everything are you using?
4) did you specify a valid default webpage for your ./cacti/ website in IIS?
2) go to your command prompt paste the output of: php -m
3) what version of everything are you using?
4) did you specify a valid default webpage for your ./cacti/ website in IIS?
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
First off, I'm not too familiar with IIS and administering Cacti, but I was given a project so I'm trying to complete it, thanks again...
1) did you enable php in the web extentions in IIS?
I enabled php5isapi.dll.
2) go to your command prompt paste the output of: php -m
C:\Documents and Settings\Administrator>php -m
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
[PHP Modules]
bcmath
calendar
com_dotnet
ctype
dom
ftp
iconv
libxml
mysql
odbc
pcre
session
SimpleXML
snmp
sockets
SPL
SQLite
standard
tokenizer
wddx
xml
zlib
[Zend Modules]
3) what version of everything are you using?
PHP 5.0.4
cacti 0.8.6d
mysql 4.1.12
iis 6
rrdtool 1.2.1
4) did you specify a valid default webpage for your ./cacti/ website in IIS?
My system already has a default webpage so I set up a virtual directory, but I wasn't sure of the directory it should point to, so it's directed to c:\cacti.
1) did you enable php in the web extentions in IIS?
I enabled php5isapi.dll.
2) go to your command prompt paste the output of: php -m
C:\Documents and Settings\Administrator>php -m
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MIB): At line 0 in (none)
Cannot find module (UCD-DEMO-MIB): At line 0 in (none)
Cannot find module (SNMP-TARGET-MIB): At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none)
Cannot find module (UCD-DLMOD-MIB): At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none)
Cannot find module (SNMP-MPD-MIB): At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
[PHP Modules]
bcmath
calendar
com_dotnet
ctype
dom
ftp
iconv
libxml
mysql
odbc
pcre
session
SimpleXML
snmp
sockets
SPL
SQLite
standard
tokenizer
wddx
xml
zlib
[Zend Modules]
3) what version of everything are you using?
PHP 5.0.4
cacti 0.8.6d
mysql 4.1.12
iis 6
rrdtool 1.2.1
4) did you specify a valid default webpage for your ./cacti/ website in IIS?
My system already has a default webpage so I set up a virtual directory, but I wasn't sure of the directory it should point to, so it's directed to c:\cacti.
If you're going to use rrdtool 1.2.x, then you really should be using 1.2.11. TONS of bug fixes.
2) A virtual directory is fine, but you still need to set tell IIS what the default file(s) are for it. Get properties on the virtual directory. Go to the documents tab. Personally, I use graph_view.php as the default document since I don't want people getting a logon prompt when they visit my cacti page. While you're getting things set up, you can use index.php as the default page.
2) A virtual directory is fine, but you still need to set tell IIS what the default file(s) are for it. Get properties on the virtual directory. Go to the documents tab. Personally, I use graph_view.php as the default document since I don't want people getting a logon prompt when they visit my cacti page. While you're getting things set up, you can use index.php as the default page.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
-
- Posts: 5
- Joined: Wed Sep 07, 2005 12:15 pm
Unfortunately it still doesn't work. Also I was unable to load RRDTool 1.2.11 so I'm using 1.2.10. I get the following url error:
The page cannot be displayed
You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.
--------------------------------------------------------------------------------
Please try the following:
Contact the Web site administrator if you believe this directory should allow execute access.
HTTP Error 403.1 - Forbidden: Execute access is denied.
Internet Information Services (IIS)
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Go to Microsoft Product Support Services and perform a title search for the words HTTP and 403.
Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Configuring ISAPI Extensions, Configuring CGI Applications, Securing Your Site with Web Site Permissions, and About Custom Error Messages.
In the IIS Software Development Kit (SDK) or at the MSDN Online Library, search for topics titled Developing ISAPI Extensions, ISAPI and CGI, and Debugging ISAPI Extensions and Filters.
The page cannot be displayed
You have attempted to execute a CGI, ISAPI, or other executable program from a directory that does not allow programs to be executed.
--------------------------------------------------------------------------------
Please try the following:
Contact the Web site administrator if you believe this directory should allow execute access.
HTTP Error 403.1 - Forbidden: Execute access is denied.
Internet Information Services (IIS)
--------------------------------------------------------------------------------
Technical Information (for support personnel)
Go to Microsoft Product Support Services and perform a title search for the words HTTP and 403.
Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Configuring ISAPI Extensions, Configuring CGI Applications, Securing Your Site with Web Site Permissions, and About Custom Error Messages.
In the IIS Software Development Kit (SDK) or at the MSDN Online Library, search for topics titled Developing ISAPI Extensions, ISAPI and CGI, and Debugging ISAPI Extensions and Filters.
Well after changing the execute permissions for the virtual directory from none to scripts only, i get the following:
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'cactiuser'@'localhost' (using password: YES) in E:\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 339
Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
where else do I need to verify the username, password and database name?
thanks
Warning: mysql_connect() [function.mysql-connect]: Access denied for user 'cactiuser'@'localhost' (using password: YES) in E:\cacti\lib\adodb\drivers\adodb-mysql.inc.php on line 339
Cannot connect to MySQL server on 'localhost'. Please make sure you have specified a valid MySQL database name in 'include/config.php'.
where else do I need to verify the username, password and database name?
thanks
This is a mysql issue. You need to modify your cactiuser and allow it to connect from 'localhost' in MySQL. using something like mysql control center or phpmyadmin is a little bit easier than the mysql cli.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Transferring data
Now that Cacti is up and running, I am unable to view any graphs...I just get a red x with the title beside it, I guess my poller isn't working correctly. As the instructions suggested, my scheduled task is php-win.
Also, are there step by step instructions for transferring data between servers, we initially had apache running on an old nt 4.0 server, now we are using iis 6.0 on the w2k3 server, do u have any suggestions on performing this transfer?
Thanks
Also, are there step by step instructions for transferring data between servers, we initially had apache running on an old nt 4.0 server, now we are using iis 6.0 on the w2k3 server, do u have any suggestions on performing this transfer?
Thanks
You had an existing installation of cacti on the NT server? Or you just want to transfer and use the rrd files from it ?
There are guides for using rrd files which cacti does not have data sources for (search the forum). As for moving a mysql database from NT to Win2K3, I *think* all you need to do is back it up on NT and then restore on Win2K3.
There are guides for using rrd files which cacti does not have data sources for (search the forum). As for moving a mysql database from NT to Win2K3, I *think* all you need to do is back it up on NT and then restore on Win2K3.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
This is my Debug output:
Data Source Debug
E:\rrdtool\rrdtool.exe create \
E:\cacti/rra/test_traffic_in_9.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Data Source Debug
E:\rrdtool\rrdtool.exe create \
E:\cacti/rra/test_traffic_in_9.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \
RRA:AVERAGE:0.5:288:797 \
RRA:MAX:0.5:1:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
Who is online
Users browsing this forum: No registered users and 1 guest