Ad Widget

Collapse

Trouble zabbix web installation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lavic_lavic
    Junior Member
    • Sep 2010
    • 1

    #1

    Trouble zabbix web installation

    Hi,

    I think that is a old trouble but after some days looking for a solution ... i need you!!

    I have installated zabbix 1.4.6 in debian from repositories, I used postgresql and had configurated this files correctly (I think):
    /usr/share/zabbix/conf/zabbix.conf.php
    /etc/zabbix/zabbix_server.conf
    /etc/zabbix/zabbix_agent.conf

    When I run de web installation in http://localhost/zabbix in the step 6. Install, I have this error:

    * Incorrect configuration file[/usr/share/zabbix/conf/zabbix.conf.php]

    In the steps 4 and 5, the conection with database is ok, then I know the configuration is correct. isn't it?

    <?php
    global $DB_TYPE, $DB_SERVER, $DB_PORT, $DB_DATABASE, $DB_USER, $DB_PASSWORD, $IMAGE_FORMAT_DEFAULT;


    $DB_TYPE='pgsql';
    $DB_SERVER='localhost';
    $DB_PORT = '0';
    $DB_DATABASE='zabbix';
    $DB_USER='zabbix';
    $DB_PASSWORD='password';


    What's the problem? Thank you!!!


    ## dont remove this!
    ## This is a work-around for dbconfig-common
    #if($DB_TYPE == "mysql")
    # $DB_TYPE = "MYSQL";

    if($DB_TYPE == "pgsql")
    $DB_TYPE = "POSTGRESQL";
    ##
    ?>
Working...