Ad Widget

Collapse

Errors: [113] no route to host AND [111] connection refused

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • islem karoui
    Junior Member
    • Feb 2015
    • 11

    #1

    Errors: [113] no route to host AND [111] connection refused







    I have these errors with server and agent, I installed them on 2 virtual machines, and I set connection to bridged.

    My server machine ip address: 10.166.88.63
    My agent machine ip address: 10.166.88.89

    Here are my configuration files:

    ---------------------------------------------
    ZABBIX-SERVER CONFIGURATION FILE:

    ListenPort=10051
    LogFile=/var/log/zabbix/zabbix_server.log
    LogFileSize=0
    DebugLevel=4
    PidFile=/var/run/zabbix/zabbix_server.pid
    DBHost=localhost
    DBName=zabbix
    DBUser=zabbix
    DBSocket=/var/lib/mysql/mysql.sock
    StartPollers=5
    StartPollersUnreachable=2
    StartTrappers=5
    StartPingers=5
    StartDiscoverers=1
    StartHTTPPollers=5
    StartTimers=1
    VMwareFrequency=60
    VMwarePerfFrequency=60
    VMwareCacheSize=8M
    VMwareTimeout=10
    SNMPTrapperFile=/var/log/snmptt/snmptt.log
    StartSNMPTrapper=1
    ListenIP=10.166.88.63,127.0.0.1
    HousekeepingFrequency=1
    MaxHousekeeperDelete=500
    SenderFrequency=30
    CacheSize=8M
    CacheUpdateFrequency=60
    StartDBSyncers=4
    HistoryCacheSize=8M
    TrendCacheSize=4M
    HistoryTextCacheSize=16M
    ValueCacheSize=8M
    Timeout=20
    TrapperTimeout=300
    UnreachablePeriod=45
    UnavailableDelay=60
    UnreachableDelay=15
    FpingLocation=/usr/sbin/fping
    Fping6Location=/usr/sbin/fping6
    AllowRoot=1


    --------------------------------------------
    ZABBIX-AGENT CONFIGURATION FILE (the agent on the same machine of the server):

    PidFile=/var/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    LogFileSize=0
    DebugLevel=4
    EnableRemoteCommands=1
    Server=127.0.0.1
    ListenIP=10.166.88.63
    StartAgents=5
    ServerActive=127.0.0.1:10051
    Hostname=Zabbix server
    RefreshActiveChecks=120


    --------------------------------------------
    ZABBIX-AGENT CONFIGURATION FILE:

    PidFile=/var/run/zabbix/zabbix_agentd.pid
    LogFile=/var/log/zabbix/zabbix_agentd.log
    LogFileSize=0
    DebugLevel=4
    SourceIP=10.166.88.63
    EnableRemoteCommands=1
    LogRemoteCommands=1
    Server=127.0.0.1,10.166.88.63
    ListenPort=10050
    ListenIP=10.166.88.89
    StartAgents=5
    ServerActive=127.0.0.1:10051
    Hostname=zabbix-agent
    Timeout=5


    Please help me figure out these problems.
    Thank you.
    Attached Files
  • islem karoui
    Junior Member
    • Feb 2015
    • 11

    #2
    Problems fixed

    The "no route to host" was a firewall problem, I simply executed this command on both server and agent machines:

    #systemctl stop firewalld.service

    and for the other problem, it was just some wrong ip addresses.

    Comment

    Working...