combination "admin/admin" don't work as login...

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

Moderators: Developers, Moderators

mrene
Posts: 16
Joined: Fri Jan 28, 2005 8:52 am

combination "admin/admin" don't work as login...

Post by mrene »

Hi! I've installed Cacti 0.8.6c on a Windows Server 2003 Standard. But the combination username/password "admin/admin" don't work. Well, maybe it works because I don't have any error messages. I just have the login page and nothing else. I did a research on the forum and many people have the same problem but I didn't find any solution. I downloaded and installed phpMyAdmin to edit the user_auth table like some of you said, but I don't really how to edit it...

Can someone help me with this? Thanks!
mrene
Posts: 16
Joined: Fri Jan 28, 2005 8:52 am

Post by mrene »

Anybody? :-?
mrlong
Posts: 2
Joined: Wed Mar 30, 2005 11:15 am
Location: Jackson, MS

Initial login to Cacti

Post by mrlong »

Were you able to successfully import the cacti.sql file to create the database. The MySQL rights do not control access to the Cacti web interface - the database contains the users and rights. The only thing that MySQL user controls is the access of the PHP scripts to the backend database.

Try to reimport the cacti.sql
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

If that doesn't work, there are a few posts on changing passwords.

Search is your friend.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mrene
Posts: 16
Joined: Fri Jan 28, 2005 8:52 am

Post by mrene »

Well, I tried many times to delete the cacti database, to reimporte it, etc. I did all the things that could be done with the password thing. There's nothing I can do... I searched for all the posts on the subject. I tried to change the password for the admin in the user_auth table with phpMyAdmin. It just doesn't work... :/ *sigh*

After login, when I look it the user_log table, I see entries so the authentication works fine. It just doesn't redirect...

By the way, I'm working with PHP 4.3.10 and MySQL 4.1.9.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

What version of cacti?

What version of apache?

Do you have sessions enabled for php? If no, you need them to make cacti work. Also, do you have cookies enabled in your browser?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mrene
Posts: 16
Joined: Fri Jan 28, 2005 8:52 am

Post by mrene »

Cacti: 0.8.6c

I'm not using Apache but IIS: 6.0

I enabled cookies in PHP and I'm my browser too.

Can you tell me exactly what I have to do to enable cookies in PHP, just to make sure that I followed all the steps correctly? Thanks.

I forgot to say: We were running cacti 0.8.5a on Windows 2000. We upgraded it to 0.8.6c along with our version of PHP and MySQL (PHP: 4.3.10, MySQL: 4.1.9). And Cacti is still working fine on our 2000 server.

We did exactly the same thing on our 2003 server, except the fact that it was a new installation and not an upgrade.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

It's got to be something with IIS/PHP caching... How are you running PHP? CGI or DLL mode?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mrene
Posts: 16
Joined: Fri Jan 28, 2005 8:52 am

Post by mrene »

DLL mode (ISAPI).
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

Strangeness in IIS land.... To be honest, last version of IIS I extensively worked with was 4. So, that tells you how long it has been. I'm pretty much a unix person at this point, but I try to help with Windows questions. Former MCSE, let it expire... :( But I have enough general computing knowledge to run circles around most people.. :)

At this point, I would have to guess that there is some sorts of session or caching issue with IIS 6 on XP/2003, but I'm not sure. I would point you to the PHP site and ask you to search for other people with simular issues. Maybe there is a quick and common fix? I don't know.

Please let us all know what you find.
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mrene
Posts: 16
Joined: Fri Jan 28, 2005 8:52 am

Post by mrene »

*AHEM* It starts working all well all alone... :o There's nothing to understand... lol Thanks anyway for your help.
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

???

It just started working?

Reload the database?

What actions did you take?
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mrene
Posts: 16
Joined: Fri Jan 28, 2005 8:52 am

Post by mrene »

Well, I was getting a problem with de php_ldap.dll that was not loading. I just removed that line from the php.ini file. I don't know if this is the solution however... It just started to work right after... Anyway everything is working fine now.

I have another problem to solve with Cacti on our win2k server... :/
User avatar
rony
Developer/Forum Admin
Posts: 6022
Joined: Mon Nov 17, 2003 6:35 pm
Location: Michigan, USA
Contact:

Post by rony »

One word....

Strange!

And that doesn't make me happy.... :(
[size=117][i][b]Tony Roman[/b][/i][/size]
[size=84][i]Experience is what causes a person to make new mistakes instead of old ones.[/i][/size]
[size=84][i]There are only 3 way to complete a project: Good, Fast or Cheap, pick two.[/i][/size]
[size=84][i]With age comes wisdom, what you choose to do with it determines whether or not you are wise.[/i][/size]
mrene
Posts: 16
Joined: Fri Jan 28, 2005 8:52 am

Post by mrene »

Okay, it was a problem with save session path in php.ini. I uncomment this line and create a /tmp foler. Cacti was unable to create a session.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest