[SOLVED] login after install failure

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

Moderators: Developers, Moderators

Post Reply
astralusche
Posts: 8
Joined: Fri Jun 06, 2008 3:02 am
Location: Rostock / Germany

[SOLVED] login after install failure

Post by astralusche »

hi friends

at first sorry for my bad english ;)

i have install cacti under windows 2003 in the last days. many problems later i become the login screen. but when i type the basic username and password the screen prints:

Code: Select all

Notice: Undefined index: enabled in *******\wwwroot\cacti\auth_login.php on line 171

Warning: Cannot modify header information - headers already sent by (output started at *********\wwwroot\cacti\auth_login.php:171) in *********\wwwroot\cacti\auth_login.php on line 229

Error: Access Denied, user account disabled.
what is my problem?

win2003 sp2
iis
php5 already works
mysql 5,0
cacti installer cacti-0.8.7b.1.8

can my help one?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) did you install in C:\inetpub\wwwroot, or some other path? If the latter, then its likely the installer didn't properly update the path in the MySQL database for cacti. Look in the settings table and validate the paths are correct.

2) Those warnings/errors are signs of incorrect NTFS permissions. re-read my windows install guide, paying attention to file system permissions which need to be set.
astralusche
Posts: 8
Joined: Fri Jun 06, 2008 3:02 am
Location: Rostock / Germany

Post by astralusche »

yep i use the standart parth: C:\inetpub\wwwroot

i have rechecked all permissions what show under "Configure the Webserver (IIS)". but it dont works on my server ...

now i have checked the document "Debug Windows NTFS permission problems"

i have no processes found with "denied"


damn ... what the matter?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Double check that the \cacti\auth_login.php file has the IUSR and IIS_WPG accounts with read/execute access.
astralusche
Posts: 8
Joined: Fri Jun 06, 2008 3:02 am
Location: Rostock / Germany

Post by astralusche »

is correct ... that is not the problem ....

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

Post by BSOD2600 »

Hmm ok, well typically its a permission problem for Undefined index / Cannot modify header information errors. Search the forum and you'll see what I mean.

Are you attempting to log in with the Admin account? If so, odd it's disabled. What procedures did you use to install cacti?

Try running the following SQL command to re-set the default accounts:

Code: Select all

INSERT INTO `user_auth` VALUES (1,'admin','21232f297a57a5a743894a0e4a801fc3',0,'Administrator','on','on','on','on','on',1,1,1,1,1,'on'),(3,'guest','43e9a4ab75570f5b',0,'Guest Account','on','on','on','on','on',3,1,1,1,1,'');
astralusche
Posts: 8
Joined: Fri Jun 06, 2008 3:02 am
Location: Rostock / Germany

Post by astralusche »

fine it works !!!

ich have delete the sql database and reinstall the cacti.sql. now the install without errors and the login ist ok!

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

Post by BSOD2600 »

Glad to hear it.

When you first imported cacti.sql, did you get errors?
astralusche
Posts: 8
Joined: Fri Jun 06, 2008 3:02 am
Location: Rostock / Germany

Post by astralusche »

no the first import was with non errors. but in the installphase after the file checking was very short a error message see.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests