Ad Widget

Collapse

SQL conf problem

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • street_style
    Junior Member
    • Feb 2007
    • 3

    #1

    SQL conf problem

    Hi! I've installed Zabbix following manual. Server and agent works without any errors. Mysql-admin shows that server is connected to Mysql but when connect to web interface error apears. It is
    Warning: include_once(/etc/zabbix/dbconfig.php) [function.include-once]: failed to open stream: Permission denied in /usr/share/zabbix/include/db.inc.php on line 24 Warning: include_once() [function.include]: Failed opening '/etc/zabbix/dbconfig.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/zabbix/include/db.inc.php on line 24
    I've comment it but stil receive ERROR:Login name or password is incorrect. I've copy data.sql and schema.sql but it takes another error. ERROR 1062 (23000) at line 30: Duplicate entry '1' for key 1

    Solved: Forgot to insert two sql files schema.sql and data.sql. Now It's ok!

    If moderators think that this msg is junk please delete it.
    Last edited by street_style; 27-02-2007, 02:56.
  • rjani5
    Junior Member
    • Mar 2007
    • 9

    #2
    ERROR:Login name or password is incorrect

    Hey StreetStyle,

    I have similar problem like the above, I have posted this on another thread but instead the error you mentioned I just get this error. Any tips will be great.

    Rajen

    Comment

    • jangliss
      Junior Member
      • Nov 2005
      • 9

      #3
      Check the permissions on /etc/zabbix/dbconfig.php. The error suggets that /usr/share/zabbix/include/db.inc.php is attempting to open it, but doesn't have permission. Make sure both /etc/zabbix and /etc/zabbix/dbconfig.php are readable by your web server.

      Comment

      Working...