Blank index page after install

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

Moderators: Developers, Moderators

User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Alright, thats a start. What about running: php -m from the command prompt. Any errors? do you see mysql, snmp and sockets extensions?

Did you make sure the IIS_WPG and IUSR_ accounts have read/execute rights on all the cacti files in your webroot directory?

Sysinternals.com FileMon would reveal if there are any NTFS permission errors, when you tried to bring up the /cacti/index.php webpage.
mslivkoff
Posts: 18
Joined: Thu Jul 19, 2007 9:53 am

Post by mslivkoff »

Thanks a heap. That got me on the right track. Didn't thnk to select the modules when installing PHP. I was following the directions pretty closely and that part is missing from the online manual as far as I can tell. I know it says to remove the comments from those lines in the .ini file, but that's after you do the install.

Where do you get the MIB files?

When I try to log in it just keeps refreshing the login page. It doesn't show an error, just keeps asking for a login.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

mslivkoff wrote:Where do you get the MIB files?
PHP installs a standard set, as does net-snmp. The MIBDIRS system variable you were suppose to set, should be pointing to a path with them. If you're missing some, then just google for it. Cacti doesnt actually use MIB files (except to display the friendly names for things), so they're not needed.
mslivkoff wrote:When I try to log in it just keeps refreshing the login page. It doesn't show an error, just keeps asking for a login.
This is a PHP session / cookie problem.
mslivkoff
Posts: 18
Joined: Thu Jul 19, 2007 9:53 am

Post by mslivkoff »

Thanks for all the help. I'm up and running now.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Great!

So what were the stumbling blocks you ran into? Looking for things to improve the installation document.
mslivkoff
Posts: 18
Joined: Thu Jul 19, 2007 9:53 am

Post by mslivkoff »

In PHP config: Make sure it has you verify the correct modules using "php.exe -m" and use info.php to verify that there is a working session directory in php.ini. Perhaps a note to recycle IIS if you make any changes to php.ini.

The PHP install instructions on "http://bsod2600.home.comcast.net/install_windows.html" don't match the PHP 5.2.3 msi installer which caused some of my confusion. The MySQL installer is different too.

If you're using the msi installer you don't have to pick an .ini file to use.

Under "Install MySQL" Step 8 - the section starting "shell> UPDATE" is confusing. Since this is run inside MySQL, the prompt should be "mysql>" not "shell>".

Other than that, there was just the rust issues with how long it's been since I configured PHP and MySQL. Thanks again for the help.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Alright, I've done some revising of the guide. Whatcha think? Still not done, but its better. I even went through it and installed Cacti using it too going by exactly what I wrote. Found/fixed some new problems.
mslivkoff
Posts: 18
Joined: Thu Jul 19, 2007 9:53 am

Post by mslivkoff »

Looks great to me. Very clear and concise. Thanks for the update!
nurbo
Posts: 17
Joined: Fri Aug 10, 2007 11:55 am
Location: PT

Post by nurbo »

Good afternoon!

For two days now i have been trying to put cacti to work, at work and at home, but i have been passing through all the problems listed in this thread. At home i am trying with IIS and at work with Apache.

I would like to know where to find the most accurate instalation manual for cacti and the other components, every time i read something about the installation process it seems to me that i am reading something new!

I will appreciate very much all the help you can give me.

Best regards to all

PS- Just found the manual, i will try to follow it step by step and will say something next week.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

The installation manual in my signature is the most up to date one, everyone should use.
aarcila
Posts: 6
Joined: Mon Aug 20, 2007 11:44 am

The problems continues

Post by aarcila »

Hi, I'm getting the same problems posted here, I've tried all the possibles soluctiones listed here but none of them had been usefull, I've installed from cacti-0.8.6j.1.5.exe, made the necessary cahnges to ISUR_XXX account, mysql username and password on config.inc.php, but the problem continues, I've made a test.php page that runs phpinfo() and works fine, I've change the include sentence to aviod relative paths but still It does not work.

Fatal error: Call to undefined function read_config_option() in C:\Inetpub\wwwroot\cacti\auth_login.php on line 139


Please help me...
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Redo the post installation instructions, specifically IIS sections. If those are all set properly, then take a brief read through the installation guide in my signature -- my guess is you left the antivirus on, which stopped the scripts the installer runs.
aarcila
Posts: 6
Joined: Mon Aug 20, 2007 11:44 am

Post by aarcila »

BSOD2600 wrote:Redo the post installation instructions, specifically IIS sections. If those are all set properly, then take a brief read through the installation guide in my signature -- my guess is you left the antivirus on, which stopped the scripts the installer runs.
I did it again but It doesn't work.....Because this is a fresh installation I've reinstalled the application with the AV stopped...
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Fire up Sysinternals FileMon and log everything when you try to login to the cacti website. Save the filemon log and attach to the post.
aarcila
Posts: 6
Joined: Mon Aug 20, 2007 11:44 am

Post by aarcila »

BSOD2600 wrote:Fire up Sysinternals FileMon and log everything when you try to login to the cacti website. Save the filemon log and attach to the post.
It's working now.....My mistake I didn't reboot the system after reinstalled with the AV stoped...Sorry, and Thanks a lot...

Now cacti didn't show the graphs I'm gonna look around to see a possible cause posted in the list....
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests