Kiran
Kiran

Reputation: 305

Zabbix server installation error

I am getting the following error trying to install zabbix-server.

Failed to start zabbix-server.service: Unit zabbix-server.service failed to load: No such file or directory.

I ama ble to run zabbix-agent, but when I am adding another server as host, I am getting following errors:

Connection to Zabbix server "localhost" refused. Possible reasons: 1. Incorrect server IP/DNS in the "zabbix.conf.php"; 2. Security environment (for example, SELinux) is blocking the connection; 3. Zabbix server daemon not running; 4. Firewall is blocking TCP connection. Connection refused

Any idea on how to resolve these errors?

Can we check server status only with zabbix-agent instead of zabbix-server?

Upvotes: 0

Views: 8714

Answers (2)

Javeed Shakeel
Javeed Shakeel

Reputation: 3417

Get into the zabbix.conf.php

 #vim /etc/zabbix/web/zabbix.conf.php
      ZBX_SERVER      = '**your zabbix ip address or DNS name**';
      ZBX_SERVER_PORT = '10051';
      ZBX_SERVER_NAME = '**your zabbix hostname**';

Change the ip address or DNS name you can resolve the error

After that restart the zabbix server

# sudo service zabbix-server restart

To verify go to Dashboard Administration -> queue there you see data

Upvotes: 1

Vikash Singh
Vikash Singh

Reputation: 910

Hi, I have also faced lots of problem while installing zabbix-server. Hence i have compiled proper installation steps here from scratch. setup_zabbix_server_on_centos_redhat_7

Upvotes: 0

Related Questions