Installation Problems with Cacti
Moderators: Developers, Moderators
-
- Posts: 6
- Joined: Thu Jan 15, 2009 5:46 am
- Location: London
Installation Problems with Cacti
Hi All, New to this Cacti stuff..
I've followed the instructions on this site and seem to have come a cropper..
Running on a windows xp machine with IIS 5.1 installed. I've followed the doc and installed and configured the following.
Cacti.
PHP 5.2.7-dev
MySql
RRDTool
When I go to http://localhost/cacti the page is blank no logon page. Has anyone seen this before. Am I missing something.. Help appreicated.. From what I can see, I don't need to install, Spine, NET-SNMP or CYGWIN.. as these are optional..
I've followed the instructions on this site and seem to have come a cropper..
Running on a windows xp machine with IIS 5.1 installed. I've followed the doc and installed and configured the following.
Cacti.
PHP 5.2.7-dev
MySql
RRDTool
When I go to http://localhost/cacti the page is blank no logon page. Has anyone seen this before. Am I missing something.. Help appreicated.. From what I can see, I don't need to install, Spine, NET-SNMP or CYGWIN.. as these are optional..
Please read http://forums.cacti.net/viewtopic.php?t=11747 and repost.
Does the default IIS webpage work? http://localhost/
Does php -m at the command prompt show any errors?
Does the default IIS webpage work? http://localhost/
Does php -m at the command prompt show any errors?
| 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: 6
- Joined: Thu Jan 15, 2009 5:46 am
- Location: London
I've followed all the instructions on installing Cacti, PHP, MySQL and RRDTool..
I can load the default page in IIS http://localhost which displays the localstart.asp page..
I've also run php-m and I recieve no errors.
Any other ideas, why the page is blank.. I've also tried loading
http://localhost/cacti/index.php which is also blank..
I can load the default page in IIS http://localhost which displays the localstart.asp page..
I've also run php-m and I recieve no errors.
Any other ideas, why the page is blank.. I've also tried loading
http://localhost/cacti/index.php which is also blank..
Sounds like php isn't properly configured. Create a phpinfo page and see if that renders.
| 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: 6
- Joined: Thu Jan 15, 2009 5:46 am
- Location: London
no, your version is fine.
Have you double-checked the NTFS permissions are correct? The IUSR_ account needs read/execute rights on your \inetpub\wwwroot\cacti folder/files. All the ntfs settings are documented in my installation guide.
Any errors in your windows event logs?
Have you double-checked the NTFS permissions are correct? The IUSR_ account needs read/execute rights on your \inetpub\wwwroot\cacti folder/files. All the ntfs settings are documented in my installation guide.
Any errors in your windows event logs?
| 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: 6
- Joined: Thu Jan 15, 2009 5:46 am
- Location: London
I've attached a copy of my phpinfo.php just for your review and a screen shot of the permission I've set on the cacti folder..
Just to elminate any permission issues, I've given the IUSR account Full Control for the time being.
I don't have any errors in the event log..I have also turned on show errors in my php.ini file.. But this does not seem to be display anything. This is very strange as I've followed your install document to the letter.
Just to elminate any permission issues, I've given the IUSR account Full Control for the time being.
I don't have any errors in the event log..I have also turned on show errors in my php.ini file.. But this does not seem to be display anything. This is very strange as I've followed your install document to the letter.
- Attachments
-
- Phpinfo.JPG (86.84 KiB) Viewed 3556 times
-
- Permissions of IUSR
- permissions.JPG (105.19 KiB) Viewed 3556 times
-
- Posts: 6
- Joined: Thu Jan 15, 2009 5:46 am
- Location: London
I have just used FileMon to see what's happening when trying to load the site.. Everything looks successful, with no errors.. Just wondering if the below is correct, when trying to load.
09:42:48 dllhost.exe:176 READ C:\inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php SUCCESS Offset: 0 Length: 8192
09:42:48 dllhost.exe:176 READ C:\inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php SUCCESS Offset: 8192 Length: 8192
09:42:48 dllhost.exe:176 READ C:\inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php SUCCESS Offset: 16384 Length: 8192
09:42:48 dllhost.exe:176 READ C:\inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php END OF FILE Offset: 17685 Length: 8192
09:42:48 dllhost.exe:176 READ C:\inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php END OF FILE Offset: 17685 Length: 8192
09:42:48 dllhost.exe:176 CLOSE C:\inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php SUCCESS
09:42:48 dllhost.exe:176 READ C:\inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php SUCCESS Offset: 0 Length: 8192
09:42:48 dllhost.exe:176 READ C:\inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php SUCCESS Offset: 8192 Length: 8192
09:42:48 dllhost.exe:176 READ C:\inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php SUCCESS Offset: 16384 Length: 8192
09:42:48 dllhost.exe:176 READ C:\inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php END OF FILE Offset: 17685 Length: 8192
09:42:48 dllhost.exe:176 READ C:\inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php END OF FILE Offset: 17685 Length: 8192
09:42:48 dllhost.exe:176 CLOSE C:\inetpub\wwwroot\cacti\lib\adodb\drivers\adodb-mysql.inc.php SUCCESS
Did you also push down the permissions, i.e. "replace permissions entries on all child objects..." from the advanced screen in the Security tab?shaun_wells wrote:Just to elminate any permission issues, I've given the IUSR account Full Control for the time being.
Thats fine. It's just reading in the database code files. You'd be more worried about ACCESS DENIED errors.shaun_wells wrote:I have just used FileMon to see what's happening when trying to load the site..
Does that phpinfo page work when you place it inside your cacti directory or just outside?
| 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: 6
- Joined: Thu Jan 15, 2009 5:46 am
- Location: London
-
- Posts: 2
- Joined: Wed Jan 21, 2009 5:46 am
Hi,
I am getting a similar problem. I can display a phpinfo no problem, but when I try the index.php I just get a blank page.
I have noticed that if I comment out the call to auth.php -
then I do get a banner showing Console and Graphs tabs - but nothing else. So it looks to me to be an auth issue.
Any help/advice would be great.
Thanks.
I am getting a similar problem. I can display a phpinfo no problem, but when I try the index.php I just get a blank page.
I have noticed that if I comment out the call to auth.php -
Code: Select all
//include("./include/auth.php");
Any help/advice would be great.
Thanks.
shaun_wells: hmm alright, I suppose php is functional then. Did you edit cacti\include\config.php and change the MySQL fields?
You might consider trying my installer instead.
the_prickly_one: Editing the code is not required to make cacti function. All the questions/steps which I asked shaun_wells apply to you too.
You might consider trying my installer instead.
the_prickly_one: Editing the code is not required to make cacti function. All the questions/steps which I asked shaun_wells apply to you too.
| 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: 2
- Joined: Wed Jan 21, 2009 5:46 am
Hi BSOD2600,
I appreciate that editing the code is not required - I was just doing a bit of diagnostic work trying to figure out at which point it failed - and then drilling down.
However, I had to reboot my box and now Cacti is working (don't you just hate it when that happens!).
Time now for me to learn how to use it.
Thanks.
I appreciate that editing the code is not required - I was just doing a bit of diagnostic work trying to figure out at which point it failed - and then drilling down.
However, I had to reboot my box and now Cacti is working (don't you just hate it when that happens!).
Time now for me to learn how to use it.
Thanks.
-
- Posts: 15
- Joined: Wed Aug 13, 2008 4:07 pm
Who is online
Users browsing this forum: No registered users and 0 guests