Ad Widget

Collapse

zabbix agent service 3.0 is not restarting

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Balaraju
    Member
    • Jun 2016
    • 40

    #1

    zabbix agent service 3.0 is not restarting

    Dear team,

    Can anybody help with the zabbix agent restarting. I am not able to restarting the zabbix-agent . I have done right configuration and also disabled the selinux and also firewall too. I have getting below log error.

    29085:20160730:062959.263 Starting Zabbix Agent [Test host] (revision 61185).
    29085:20160730:062959.263 **** Enabled features ****
    29085:20160730:062959.263 IPv6 support: YES
    29085:20160730:062959.263 TLS support: YES
    29085:20160730:062959.263 **************************
    29085:20160730:062959.263 using configuration file: /etc/zabbix/zabbix_agentd.conf
    29085:20160730:062959.263 cannot set resource limit: [13] Permission denied
    29085:20160730:062959.263 cannot disable core dump, exiting...

    Please help on this.
  • Linwood
    Senior Member
    • Dec 2013
    • 398

    #2
    I haven't a clue but had the source handy so here's where it is failing in case it helps someone else to answer. It's setting the limits to zero which should disable coredump:

    Code:
            struct rlimit   limit;
    
            limit.rlim_cur = 0;
            limit.rlim_max = 0;
    
            if (0 != setrlimit(RLIMIT_CORE, &limit))
            {
                    zabbix_log(LOG_LEVEL_WARNING, "cannot set resource limit: %s", zbx_strerror(errno));
                    return FAIL;
            }

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      Please show me the results of executing the following command.

      Code:
      # getenforce

      Comment

      Working...