there is also another problem:
note that the this procedure also generates an invalid config file for
zabbix, here you have the generated by package installation (commented
section) and bellow the expected and functional part.
<?php
/*
$DB_TYPE='mysql';
$DB_SERVER='localhost';
$DB_DATABASE='zabbix';
$DB_USER='zabbix-frontend';
$DB_PASSWORD='xxxx';
## 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";
##
*/
?>
<?php
/*
** ZABBIX
** Copyright (C) 2000-2005 SIA Zabbix
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
**/
global $DB_TYPE, $DB_SERVER, $DB_PORT, $DB_DATABASE, $DB_USER,
$DB_PASSWORD, $IMAGE_FORMAT_DEFAULT;
$DB_TYPE = "MYSQL";
$DB_SERVER = "localhost";
$DB_PORT = "0";
$DB_DATABASE = "zabbix";
$DB_USER = "zabbix-frontend";
$DB_PASSWORD = "xxxx";
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
?>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]