Had a look on the forum and on the web generally but no joy. I have setup zabbix with postgressql and the initial install went fairly well. I had to manually add /etc/zabbix/zabbiz.conf.php and I did this. I then had to change the permissions to get web install to finish (did a+rw for now but will change later).
I then did 'service zabbix-server start' but when I looked at the web interface I cot the message at the bottom 'Zabbix server is not running' so I looked in the server logfile and found
/etc/zabbix/zabbix.conf.php is:
Ben
I then did 'service zabbix-server start' but when I looked at the web interface I cot the message at the bottom 'Zabbix server is not running' so I looked in the server logfile and found
11963:20171211:214329.452 [Z3001] connection to database 'zabbix' failed: [0] fe_sendauth: no password supplied
/etc/zabbix/zabbix.conf.php is:
<?php
// Zabbix GUI configuration file.
global $DB;
$DB['TYPE'] = 'POSTGRESQL';
$DB['SERVER'] = 'localhost';
$DB['PORT'] = '0';
$DB['DATABASE'] = 'zabbix';
$DB['USER'] = 'zabbix';
$DB['PASSWORD'] = '<pass>';
// Schema name. Used for IBM DB2 and PostgreSQL.
$DB['SCHEMA'] = '';
$ZBX_SERVER = 'localhost';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = '';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
// Zabbix GUI configuration file.
global $DB;
$DB['TYPE'] = 'POSTGRESQL';
$DB['SERVER'] = 'localhost';
$DB['PORT'] = '0';
$DB['DATABASE'] = 'zabbix';
$DB['USER'] = 'zabbix';
$DB['PASSWORD'] = '<pass>';
// Schema name. Used for IBM DB2 and PostgreSQL.
$DB['SCHEMA'] = '';
$ZBX_SERVER = 'localhost';
$ZBX_SERVER_PORT = '10051';
$ZBX_SERVER_NAME = '';
$IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
Ben
Comment