Ad Widget

Collapse

Webadmin login errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Zaphod_Zabbix
    Junior Member
    • Jan 2007
    • 5

    #1

    Webadmin login errors

    I attempted to use the weblogin http://ip/zabbix and these are the messages I receive. I do not see anywhere to login just a white background with the following messages. All file permissions necessary to zabbix have been set to 640.

    Warning: include_once(include/db.inc.php) [function.include-once]: failed to open stream: No such file or directory in /usr/share/zabbix/include/config.inc.php on line 44

    Warning: include_once() [function.include]: Failed opening 'include/db.inc.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /usr/share/zabbix/include/config.inc.php on line 44


    Lines 40-45

    40 if($DB_TYPE == "POSTGRESQL")
    41 {
    42 $DB=pg_pconnect("host='$DB_SERVER' dbname='$DB_DATABASE' user='$DB_USER' password='$DB_PASSWORD'");
    43 if(!$DB)
    44 {
    45 echo "Error connecting to database";

    Warning: include_once(include/db.inc.php) [function.include-once]: failed to open stream: No such file or directory in /usr/share/zabbix/include/forms.inc.php on line 25

    Lines 22-25:

    // TODO !!! Correcr the help links !!! TODO
    23
    24 include_once "include/defines.inc.php";
    25 include_once "include/db.inc.php";

    Fatal error: Call to undefined function DBfetch() in /usr/share/zabbix/include/perm.inc.php on line 60

    Lines 59-61

    59 } else {
    60 $USER_DETAILS = DBfetch(DBselect("select u.* from users u where u.alias='guest'"));
    61 }
Working...