View Full Version : admin account not working
darktaco
14-01-2005, 17:05
Not able to login to do the initial config. I read the post from highvoltz but re-importing the data.sql didn't help. I've lookat the users table and the Admin account is in there. The hash in the password field is the same as the guest account, but can't login with guest either. Any suggestions?
Regards,
Does your browser accept cookies? It is required!
darktaco
14-01-2005, 17:10
Yes. Firefox set to accept until I close. The message at the top says "Login or Password Incorrect" I'm using "Admin" with blank password.
darktaco
17-01-2005, 17:58
Still cannot login after install to do the config. We've tried inserting other passwords, checked our mysql installation, re-run through all the installation steps, still no go. Anything you can help us with?
Regards,
May I ask you to try login from other computer and other browser. Fixefox is ok, I'm using it as a primary browser, I just want to make sure that it's not related to some issues on client (browser) side.
darktaco
17-01-2005, 20:04
Yep, tried from another machine, IE. No joy. When you access the page, it immediately shows [ERROR:Login name or password is incorrect] a the top in read. Even before you enter in the username. Here's a dump of the users table
mysql> select * from users
-> ;
+--------+-------+---------+---------------+----------------------------------+
| userid | alias | name | surname | passwd |
+--------+-------+---------+---------------+----------------------------------+
| 1 | Admin | Zabbix | Administrator | d41d8cd98f00b204e9800998ecf8427e |
| 2 | guest | Default | User | d41d8cd98f00b204e9800998ecf8427e |
+--------+-------+---------+---------------+----------------------------------+
Machine:
Fedore Core 1 (all update)
Packages:
php-4.3.8-1.1
php-mbstring-4.3.8-1.1
php-mysql-4.3.8-1.1
httpd-2.0.51-1.6.legacy
mysql-3.23.58-4
mysql-server-3.23.58-4
mod_perl-1.99_12-2
httpd-manual-2.0.51-1.6.legacy
perl-DBD-MySQL-2.9002-1
php-ldap-4.3.8-1.1
mod_ssl-2.0.51-1.6.legacy
mysql-devel-3.23.58-4
I've config'd:
/etc/zabbix/zabbix_suckerd.conf
/etc/zabbix/zabbix_trapperd.conf
webroot/include/db.inc.php
Any clues?
darktaco
17-01-2005, 20:47
include/db.inc.php
Instead of this ->
<?php
// $DB_TYPE ="POSTGRESQL";
$DB_TYPE ="MYSQL";
I had this ->
<?php
// $DB_TYPE ="MYSQL";
Result was no db access. Sorry, but thanks for all the help. Shame on me. :D