[solved] first install help

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

Moderators: Developers, Moderators

chimpooooo
Cacti User
Posts: 50
Joined: Sun Mar 09, 2008 3:57 pm

[solved] first install help

Post by chimpooooo »

i've read through the various documentations and i am sure i am doing everything right.

while going through my sql instance config wizard , i get the error that installer must be run with admin previlages? how do i get around it? the user i am logged in as is already part of the admin group

also when i try to browse to index.php through IIS i get the following. can someone help me with this?

also my IT policy has only allowed me to put the directory in "E:\inetpub\cacti" .. and not in the wwwroot. how can i access the index.php from IE? what path should i enter?

thanks in advance for ur help!!
Attachments
when browsing index.php
when browsing index.php
MWSnap050.jpg (47.74 KiB) Viewed 5765 times
mysql
mysql
MWSnap051.jpg (10.54 KiB) Viewed 5765 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

umm wow. ok, read http://forums.cacti.net/viewtopic.php?t=11747 and see if that helps. Make sure to carefully follow the installation guide.

I'm guessing you don't know much about SQL, IIS, or IT stuff in general?
chimpooooo
Cacti User
Posts: 50
Joined: Sun Mar 09, 2008 3:57 pm

Post by chimpooooo »

i am comfortable with IIS, SQL etc. Infact i did install cacti some time back.

i have already gone through your docs.. and all the account settings seem fine..

ok its confirmed.. there is no windows firewall on that server so we dont need to add an exception for port 3306. Thats why its giving an error because its trying to add an exception to somethin that doesnt exist :D

i ran the wizard by unchecking the add to firewall stuff and it went fine. also the netstat -a command shows me that its listening on that port

any suggestions how to proceed
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Well all of those php include errors are most likely the cause of incorrect NTFS permissions. re-read the guide to make sure the various accounts are set correctly. alternatively, read my guide on how to diagnose NTFS permission issues with sysinternals process monitor.
chimpooooo
Cacti User
Posts: 50
Joined: Sun Mar 09, 2008 3:57 pm

Post by chimpooooo »

ok i so reinstalled everything and i think i am making progress but still no luck with getting into cacti

if i try to browse to cacti through http://localhost/cacti/index.php i get the followin page :(
Attachments
MWSnap050.jpg
MWSnap050.jpg (24.57 KiB) Viewed 5564 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) Don't use the iis manager to browse the webpage.

2) With a regular browser, are you still missing the side menu? If so, then you should double-check your NTFS permissions for all the cacti files, making sure the IUSR_ and IIS_WPG accounts have read/execute rights.

3) Also make sure the PHP session and cookie data is configured properly.
chimpooooo
Cacti User
Posts: 50
Joined: Sun Mar 09, 2008 3:57 pm

Post by chimpooooo »

Thanks for your help.

1) I tried from IE and i get the same page i posted earlier. It does not prompt for a user/pass and is missing the graphics and the side menu

2) I have confirmed the permissions over and over.

3) how do i confirm the "php session" and "cookie data" configuration?

4) the php - m does not report any errors. A test page located at localhost/cacti/test.php opens fine
chimpooooo
Cacti User
Posts: 50
Joined: Sun Mar 09, 2008 3:57 pm

Post by chimpooooo »

removed everything and went through your installer this time.

it finished without any errors. BUT i am still getting the same darn page when i try to log in :o
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

chimpooooo wrote:removed everything and went through your installer this time.
You rebooted after everything was installed?

Did you follow my installation guide or use the Windows installer?
chimpooooo wrote:BUT i am still getting the same darn page when i try to log in :o
Have you verified the php sessiondata / cookie directories have the correct NTFS permissions on IUSR and IIS_WPG?

Have you followed HOWTO: Debug Windows NTFS permission problems.?
chimpooooo
Cacti User
Posts: 50
Joined: Sun Mar 09, 2008 3:57 pm

Post by chimpooooo »

1) yes rebooted server after everything was installed

2) I went through your guide first when i posted this problem. I then proceeded with your beta installer

3) IUSR and IIS_WPG accounts have been confirmed on the directories and cmd.exe

4) I cannot run the process monitor since i do not have SP1 on my win 2003 box
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

chimpooooo wrote:4) I cannot run the process monitor since i do not have SP1 on my win 2003 box
Why not? SP2 has been released by now. Anyways, try running it regardless and see what happens.
chimpooooo
Cacti User
Posts: 50
Joined: Sun Mar 09, 2008 3:57 pm

Post by chimpooooo »

it wont capture events and complains about SP1 ....

sigh.. i cant install SP1 because it breaks certain applications running on the server...

are there any logs i can look at to see where i am going wrong....
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Alright, try the older FileMon which should run on it.

You could possibly look in the event logs or IIS logs for any errors related to cacti/website stuff, but I doubt you will.
chimpooooo
Cacti User
Posts: 50
Joined: Sun Mar 09, 2008 3:57 pm

Post by chimpooooo »

reinstalled the whole thing on another new machine but getting the "webpage not found" ..

why does the cact/test.php work and not index.php :cry:

i believe there are some certain "corporate" iis settings perhaps which i am missing out? how can i check that?

please give me ideas cuz this is extremely annoying!!
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

chimpooooo wrote:reinstalled the whole thing on another new machine but getting the "webpage not found" ..
You mean a 404?
chimpooooo wrote:why does the cact/test.php work and not index.php :cry:
Possibly once again NTFS permission issues, since if test.php works that means php is configured correctly.
chimpooooo wrote:i believe there are some certain "corporate" iis settings perhaps which i am missing out? how can i check that?
You mean something pushed out via a GPO or settings built into the Windows image you're using? In either case, you're going to have to do your own research, since every company does stuff vastly differently.

Have you considered trying my installer instead of doing stuff manually?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests