Installation Problems with Cacti

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
shaun_wells
Posts: 6
Joined: Thu Jan 15, 2009 5:46 am
Location: London

Installation Problems with Cacti

Post by shaun_wells »

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..
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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?
shaun_wells
Posts: 6
Joined: Thu Jan 15, 2009 5:46 am
Location: London

Post by shaun_wells »

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..
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Sounds like php isn't properly configured. Create a phpinfo page and see if that renders.
shaun_wells
Posts: 6
Joined: Thu Jan 15, 2009 5:46 am
Location: London

Post by shaun_wells »

Yeap done that the phpinfo page loads fine...

It's just when visiting the cacti page that it's blank..

Could it be the version of Cacti I'm running..I'm running cacti 0.8.7b
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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?
shaun_wells
Posts: 6
Joined: Thu Jan 15, 2009 5:46 am
Location: London

Post by shaun_wells »

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.
Attachments
Phpinfo.JPG
Phpinfo.JPG (86.84 KiB) Viewed 3568 times
Permissions of IUSR
Permissions of IUSR
permissions.JPG (105.19 KiB) Viewed 3568 times
shaun_wells
Posts: 6
Joined: Thu Jan 15, 2009 5:46 am
Location: London

Post by shaun_wells »

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
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

shaun_wells wrote:Just to elminate any permission issues, I've given the IUSR account Full Control for the time being.
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:I have just used FileMon to see what's happening when trying to load the site..
Thats fine. It's just reading in the database code files. You'd be more worried about ACCESS DENIED errors.

Does that phpinfo page work when you place it inside your cacti directory or just outside?
shaun_wells
Posts: 6
Joined: Thu Jan 15, 2009 5:46 am
Location: London

Post by shaun_wells »

Yes, the phpinfo.php page loads fine when in the Cacti folder..
the_prickly_one
Posts: 2
Joined: Wed Jan 21, 2009 5:46 am

Post by the_prickly_one »

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 -

Code: Select all

//include("./include/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.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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.
the_prickly_one
Posts: 2
Joined: Wed Jan 21, 2009 5:46 am

Post by the_prickly_one »

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.
rogermurao
Posts: 15
Joined: Wed Aug 13, 2008 4:07 pm

Post by rogermurao »

Hi,

I did the installation using the apache. I use the WAMP (Apache, Mysql and PHP)

It should be solve your problem.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest