Ad Widget

Collapse

zabbix_agent [30035]: unknown parameter [PidFile] in config file [/etc/zabbix/zabbix_

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • virussx
    Junior Member
    • Mar 2015
    • 1

    #1

    zabbix_agent [30035]: unknown parameter [PidFile] in config file [/etc/zabbix/zabbix_

    guys if u could plz help me out here, i just installed the zabbix and the server is running but when a execute zabbix_agent -c on my linu box (wheezy), i´m getting a error, unknown parameter [PidFile] in config file. I checked the direction on /var/run/zabbix/zabbix_agentd.pid and everything is good even zabbix gotta the written permissions.

    zabbix_agent [30035]: unknown parameter [PidFile] in config file [/etc/zabbix/zabbix_agentd.conf], line 13

    the config files are in here

    sdi:/etc/zabbix$ ls -l
    total 36
    -rw-r--r-- 1 root root 1152 Feb 25 11:30 apache.conf
    drwxr-xr-x 2 www-data root 4096 Feb 25 11:46 web
    -rw-r--r-- 1 root root 8187 Mar 3 16:28 zabbix_agentd.conf
    drwxr-xr-x 2 root root 4096 Feb 25 10:56 zabbix_agentd.d
    -rw-r----- 1 root root 13588 Feb 27 10:00 zabbix_server.conf


    any ideas???

    thx in advanced...
  • Starko
    Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Aug 2012
    • 93

    #2
    I have the same problem on Debian 7 using the repo from zabbix.com with agent 2.2.9
    Code:
    root@zabprox:/etc/zabbix# zabbix_agent -c /etc/zabbix/zabbix_agentd.conf start
    zabbix_agent [4001]: unknown parameter [PidFile] in config file [/etc/zabbix/zabbix_agentd.conf], line 13
    Config looks like this:
    Code:
    ############ GENERAL PARAMETERS #################
    
    ### Option: PidFile
    #       Name of PID file.
    #
    # Mandatory: no
    # Default:
    # PidFile=/tmp/zabbix_agentd.pid
    
    PidFile=/var/run/zabbix/zabbix_agentd.pid
    EDIT: I could fix my problem by downgrading the Agent to 2.2.8
    Last edited by Starko; 16-03-2015, 16:28.

    Comment

    • cptB
      Junior Member
      • Jun 2015
      • 1

      #3
      I spent couple of hours trying to find the solution. Pay attention that zabbix_agent and zabbix_agentd are not the same.
      Code:
      # zabbix_agent --config /etc/zabbix/zabbix_agentd.conf
      zabbix_agent [17204]: unknown parameter [PidFile] in config file [/etc/zabbix/zabbix_agentd.conf], line 13
      Code:
      # zabbix_agentd --config /etc/zabbix/zabbix_agentd.conf
      zabbix_agentd [17312]: /etc/zabbix/zabbix_agentd.conf.d/: [2] No such file or directory

      Comment

      Working...