Ad Widget

Collapse

Can't connect to database (zabbix 1.4)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tronite
    Senior Member
    • Jun 2007
    • 147

    #16
    Originally posted by selectron
    If I simply browse 127.0.0.1 then I get follow:
    "Index of /
    [ICO] Name Last modified Size Description
    [DIR] apache2-default/ 20-Nov-2004 23:16 -
    Apache/2.2.3 (Ubuntu) PHP/5.2.1 Server at 127.0.0.1 Port 80"

    After I open apache2-default directory and see words "It works!"
    -... so do you mean it works now?

    Comment

    • selectron
      Junior Member
      • May 2007
      • 17

      #17
      Originally posted by tronite
      -... so do you mean it works now?
      I think that it's apache2. It works.

      Comment

      • selectron
        Junior Member
        • May 2007
        • 17

        #18
        It is ridiculous, but I have trouble with DB connection again.
        At fourth stage installation in browser window I try to test DB connection. But I see error:
        " * pg_pconnect() [function.pg-pconnect]: Unable to connect to PostgreSQL server: fe_sendauth: no password supplied[/var/www/zabbix/include/db.inc.php:60]
        * Error connecting to database
        "

        In file /var/www/zabbix/include/db.inc.php:60 there are lines:
        " global $DB, $DB_TYPE, $DB_SERVER, $DB_DATABASE, $DB_USER, $DB_PASSWORD;

        $DB_TYPE ="PostgreSQL";
        $DB_SERVER ="127.0.0.1";
        $DB_DATABASE ="zabbix";
        $DB_USER ="zabbix";
        $DB_PASSWORD ="";
        "
        In installation process in browser window I write:
        Type: PostgreSQL
        Host: 127.0.0.1
        Name: zabbix
        User: zabbix
        No password.

        What can I do for decision?

        Sorry for my English.

        Comment

        Working...