Ad Widget

Collapse

zabbix_agent [29656]: Cannot open config file [/etc/zabbix/zabbix_agent.conf] [No suc

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • infante797
    Junior Member
    • Sep 2010
    • 7

    #1

    zabbix_agent [29656]: Cannot open config file [/etc/zabbix/zabbix_agent.conf] [No suc

    I am installing the zabbix_agent in one of my servers but when I execute the command:

    serv20:/etc/init.d/# zabbix_agent start

    I see the next result Error message:

    zabbix_agent [29656]: Cannot open config file [/etc/zabbix/zabbix_agent.conf] [No such file or directory]

    And the file is and is in the next path:

    serv20:/etc/init.d# ls -l /etc/zabbix/zabbix_agentd.conf
    -rw-r--r-- 1 root zabbix 5131 2010-09-08 13:43 /etc/zabbix/zabbix_agentd.conf

    can any body help me?


    Thanks a lot in advance.
  • James Wells
    Senior Member
    • Jun 2005
    • 664

    #2
    Greetings,
    Originally posted by infante797
    -rw-r--r-- 1 root zabbix 5131 2010-09-08 13:43 /etc/zabbix/zabbix_agentd.conf
    Right off the bat, I would suggest checking to ensure that the Zabbix user has directory access permission to /etc/zabbix. The easiest way to do this is to su to zabbix, using zabbix's profile and doing an ls -la /etc/zabbix/zabbix_agentd.conf
    Unofficial Zabbix Developer

    Comment

    • fjrial
      Senior Member
      • Feb 2010
      • 140

      #3
      Take a much closer look at the error and notice about the zabbix_agentd.conf and zabbix_agent.conf

      Those are different files.. for the daemon and for "manual" launch..

      Originally posted by infante797
      zabbix_agent [29656]: Cannot open config file [/etc/zabbix/zabbix_agent.conf] [No such file or directory]

      And the file is and is in the next path:

      serv20:/etc/init.d# ls -l /etc/zabbix/zabbix_agentd.conf
      -rw-r--r-- 1 root zabbix 5131 2010-09-08 13:43 /etc/zabbix/zabbix_agentd.conf

      Comment

      • infante797
        Junior Member
        • Sep 2010
        • 7

        #4
        solved thaks a lot

        I've create frist the user zabbix, and then the group zabbix
        second apply the permission to the directories of zabbix and now
        my client was created.

        Comment

        Working...