Problems installing Cacti [split]
Moderators: Developers, Moderators
-
- Posts: 14
- Joined: Thu Aug 24, 2006 1:41 am
sir, i have a question regarding the Windows Guide:
1) I think it should be clarified that Windows IIS 6 is only on Windows 2003. IIS 4 higher is for Windows XP.]
2) I'm using Windows XP SP1, I tried adding the comment of old-password in the mysql.ini. but when i tried to restart the mysql service, it failed. what gives?
3) when i pointed to the localhost/cacti it also failed (might be caused by the old-passwords)
I've followed the instructions perfectly up until the old-passwords. i also chose the most current versions for each of the required components of cacti. thanks for your time!
1) I think it should be clarified that Windows IIS 6 is only on Windows 2003. IIS 4 higher is for Windows XP.]
2) I'm using Windows XP SP1, I tried adding the comment of old-password in the mysql.ini. but when i tried to restart the mysql service, it failed. what gives?
3) when i pointed to the localhost/cacti it also failed (might be caused by the old-passwords)
I've followed the instructions perfectly up until the old-passwords. i also chose the most current versions for each of the required components of cacti. thanks for your time!
1) In some regards, IMHO the user who plans on installing Cacti, should already know the version of IIS they run on their system. For reference:
NT4 - IIS4
Win2K - IIS5
WinXP - IIS5.1
Win2K3 - IIS6
2) What was the error? Did you have mysql service stopped first?
3) Possibly because you have IIS misconfigured or a firewall is blocking local web traffic. Do other webpages on your host work?
NT4 - IIS4
Win2K - IIS5
WinXP - IIS5.1
Win2K3 - IIS6
2) What was the error? Did you have mysql service stopped first?
3) Possibly because you have IIS misconfigured or a firewall is blocking local web traffic. Do other webpages on your host work?
| 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: 14
- Joined: Thu Aug 24, 2006 1:41 am
thanks for the reply. i think i'm nearing in getting this done. in the section configure the webserver IIS, the default .php setting in there is php.exe, but the guide says that it has to be changed to php4isapi.dll. when i try going to http://localhost/cacti, i get an error 500, but when i try to put it back on php.exe, i now get a cgi error telling me "The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:"
thanks for your time!
thanks for your time!
I split off your problem into a new topic, since it's veering away from the topic of the sticky.
Yes, that is correct you're suppose to assign the .php extension to php4isapi.dl. As for your error, have you read How to troubleshoot an "HTTP 500 - Internal Server Error" error message ?
At the command prompt, type: php -m and paste the output.
Yes, that is correct you're suppose to assign the .php extension to php4isapi.dl. As for your error, have you read How to troubleshoot an "HTTP 500 - Internal Server Error" error message ?
At the command prompt, type: php -m and paste the output.
| 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: 14
- Joined: Thu Aug 24, 2006 1:41 am
Try running a chkdsk c: /f, and see if that fixes the problem.
Look in the Event logs for any errors why iaspi isnt loading.
Look in the Event logs for any errors why iaspi isnt loading.
| 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: 14
- Joined: Thu Aug 24, 2006 1:41 am
sir, i finally did it. i managed to view the page, but i have this error on top of my webpage:
Warning: exec() [function.exec]: Unable to fork [c:/rrdtool/rrdtool.exe] in c:\Inetpub\wwwroot\cacti\install\index.php on line 264
and when i try to create a device (localhost)
Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php localhost 5 1:161:500:public:::MD5::[None] index] in c:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php localhost 5 1:161:500:public:::MD5::[None] query index] in c:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php localhost 5 1:161:500:public:::MD5::[None] query description] in c:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php localhost 5 1:161:500:public:::MD5::[None] query sau] in c:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php localhost 5 1:161:500:public:::MD5::[None] index] in c:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php localhost 5 1:161:500:public:::MD5::[None] 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 151
what does this mean? (i'm sorry, im not really proficient in iis or web, im more of a cisco/winserver) i'm near completion... thanks again!
Warning: exec() [function.exec]: Unable to fork [c:/rrdtool/rrdtool.exe] in c:\Inetpub\wwwroot\cacti\install\index.php on line 264
and when i try to create a device (localhost)
Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php localhost 5 1:161:500:public:::MD5::[None] index] in c:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php localhost 5 1:161:500:public:::MD5::[None] query index] in c:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php localhost 5 1:161:500:public:::MD5::[None] query description] in c:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\Inetpub\wwwroot\cacti\scripts\ss_host_disk.php localhost 5 1:161:500:public:::MD5::[None] query sau] in c:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php localhost 5 1:161:500:public:::MD5::[None] index] in c:\Inetpub\wwwroot\cacti\lib\functions.php on line 1161
Warning: exec() [function.exec]: Unable to fork [c:\php\php.exe -q c:\Inetpub\wwwroot\cacti\scripts\ss_host_cpu.php localhost 5 1:161:500:public:::MD5::[None] 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 151
what does this mean? (i'm sorry, im not really proficient in iis or web, im more of a cisco/winserver) i'm near completion... thanks again!
That means the NTFS security was not applied correctly. Please re-read my windows install guide regarding file security settings. Look at cmd.exe and rrdtool.exe first.
| 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: 14
- Joined: Thu Aug 24, 2006 1:41 am
Operating System: Windows XP sp2
Webserver: IIS 5
Cacti: 0.8.6.h
Cactid: 0.8.6.g
MySQL: 5.0.24
PHP: 5.1.6
RRDTool (CYGWIN version): 1.2.15
Net-SNMP: 5.3.1.1
Cygwin (cygwin1.dll version): didn't use it
Sir, thanks for the help. I've managed to let the webpage appear. my problem now is i can't seem to see any graphs in my cacti. I've followed the instructions from number 5 and 6 of your Read Me Before posting and this is what I got:
5) the log didn't have anything on it! is my cacti running?
6) well here's the error
Webserver: IIS 5
Cacti: 0.8.6.h
Cactid: 0.8.6.g
MySQL: 5.0.24
PHP: 5.1.6
RRDTool (CYGWIN version): 1.2.15
Net-SNMP: 5.3.1.1
Cygwin (cygwin1.dll version): didn't use it
Sir, thanks for the help. I've managed to let the webpage appear. my problem now is i can't seem to see any graphs in my cacti. I've followed the instructions from number 5 and 6 of your Read Me Before posting and this is what I got:
5) the log didn't have anything on it! is my cacti running?
6) well here's the error
thanks for your time!
-
- Posts: 14
- Joined: Thu Aug 24, 2006 1:41 am
Please read the troobleshooting section of my guide.
Looks like you've used a custom OID to poll? Doesn't look like it's valid. Look in the cacti log file with debugging to see why.
Looks like you've used a custom OID to poll? Doesn't look like it's valid. Look in the cacti log file with debugging to see why.
| 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: 14
- Joined: Thu Aug 24, 2006 1:41 am
Sir, first of all thanks for all the help, i've formatted and installed all of the necessary apps and finally got the graph on display. my problem lies in Troubleshooting part 1 of the Windows Install Guide
but in my log file i got this:If you're not getting any graphs or rrd files created, it's possibly because Cacti is not collecting valid data. You must wait at least two polling cycles for data to show up in a graph. To check if Cacti is collecting valid data from your device in question, do the following:
1. Turn the Poller Logging Level in Cacti to debug (Settings | Polling level) for one cycle, wait for Cacti to run
2. This is an example of a successful SNMP query:
CMDPHP: Poller[0] Host[2] DS[18] SNMP: v1: 192.168.100.1, dsname: traffic_out, oid: .1.3.6.1.2.1.2.2.1.16.1, output: 322328722
CMDPHP: Poller[0] Host[2] DS[18] SNMP: v1: 192.168.100.1, dsname: traffic_in, oid: .1.3.6.1.2.1.2.2.1.10.1, output: 426701050
please tell me how to fix this, i know i'm nearing the solution, i'm checking the local interface by the way. thanks for your time!CMDPHP: Poller[0] DEBUG: SQL Cell: "select value from settings where name='logging_header'"
Thats all you see in your cacti log file??
Change the logging level to debug, wait for a polling cycle, and check the log again.
You have fully patched cacti, right?
Change the logging level to debug, wait for a polling cycle, and check the log again.
You have fully patched cacti, right?
| 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: 14
- Joined: Thu Aug 24, 2006 1:41 am
nope, but i'm installing cygwin right now. i didn't install all those labeled optional in the guide (though i did install net-snmp). also all of my graphs are NaN. I tried doing this:
i also installed getif and i don't get whats its use. although i got a snmp oid of my local machine:
.iso.3.6.1.4.1.311.1.1.3.1.1
How do i fix Nan? Thanks for your time!
and i got this:If the output was NaN, then Cacti did not collect any data. This is where either the Net-SNMP tools or GetIF comes in handy for testing SNMP.
1. Test if you're able to retrieve SNMP data manually using the OID Cacti failed on. You might need to remove the last number from the OID when doing this. For example, in the case of retrieving interface data, instead of using .1.3.6.1.2.1.2.2.1.10.1 in the example above, you should snmpwalk .1.3.6.1.2.1.2.2.1. Using Net-SNMP snmpwalk, you would do:
C:\net-snmp\bin>snmpwalk -v 1 -c public 192.168.2.1 .1.3.6.1.2.1.2.2.1
i also installed getif and i don't get whats its use. although i got a snmp oid of my local machine:
.iso.3.6.1.4.1.311.1.1.3.1.1
How do i fix Nan? Thanks for your time!
-
- Posts: 14
- Joined: Thu Aug 24, 2006 1:41 am
Who is online
Users browsing this forum: No registered users and 0 guests