Ad Widget

Collapse

after install query error on web ui and cannot login

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • theman
    Junior Member
    • May 2007
    • 1

    #1

    after install query error on web ui and cannot login

    I just installed zabbix on a debian sarge server upgraded to etch, with apache 1.3.34 and mysql 14.12 Distrib 5.0.32. Everything seems to be installed ok. When i browse to the web ui I get two error messages

    Error in query [select u.userid,u.alias,u.name,u.surname,u.url,u.refresh from users u where u.alias='guest' and u.passwd='d41d8cd98f00b204e9800998ecf8427e'] []Error in query [select u.* from users u where u.alias='guest'] []

    and

    Error in query [select * from profiles where userid=0 and idx='web.menu.view.last'] []Error in query [select * from profiles where userid=0 and idx='web.menu.cm.last'] []Error in query [select * from profiles where userid=0 and idx='web.menu.reports.last'] []Error in query [select * from profiles where userid=0 and idx='web.menu.config.last'] []

    and a message that says

    [ERROR:Login name or password is incorrect]

    above the login text boxes

    zabbix is configured to use the zabbix mysql user and the appropriate pw. The user has ALL access to the zabbix database. there is also a zabbix user for the system with the same pw and secondary group of mysql.

    the first time i tried to browse to the page I recieved a message along the lines of

    Access denied for user 'www-data'@'localhost' (using password: NO)

    so i created a www-data user and granted it all access to zabbix db. this user has no pw and makes me nervous. I followed the installation tutorial at



    What am i doing wrong.
Working...