Ad Widget

Collapse

Permission Denied error - Zabbix agent new install

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bbperer
    Junior Member
    • Mar 2017
    • 13

    #1

    Permission Denied error - Zabbix agent new install

    Hi,

    I have installed Zabbix agent 2.0 and am getting permission denied (see attached). I even tried to run a manual start : zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf and got the same permission denied error.

    uname -a
    Linux rsasec02 2.6.16.60-0.21-smp #1 SMP Tue May 6 12:41:02 UTC 2008 x86_64 GNU/Linux

    cat /etc/issue
    SUSE Linux Enterprise Server 10 SP2 (x86_64) - Kernel \r (\1)

    I tried to run ls -la /var/run and the zabbix.pid is not there.

    There is nothing /var/log/messages and /var/log/zabbix/zabbix_agentd.log.

    Please help. Thanks in advance.
    Attached Files
  • Akansha123
    Member
    • Jun 2016
    • 54

    #2
    Please check zabbix_agentd permission with below command


    root@kanika-VirtualBox:~# ls -lrt /usr/local/sbin/zabbix_agentd
    -rwxr-xr-x 1 root root 1458331 Jun 7 04:40 /usr/local/sbin/zabbix_agentd

    if permissions are not like above please change the permission accordinglywith chmod command

    Comment

    • bbperer
      Junior Member
      • Mar 2017
      • 13

      #3
      I already checked that.

      zabbix:zabbix etc/zabbix/zabbix_agentd.pid
      zabbix:zabbix etc/zabbix/zabbix_agentd.conf

      Comment

      • Akansha123
        Member
        • Jun 2016
        • 54

        #4
        yes you have checked permission of pid file and configuration file

        But please check permission of binary file "zabbix_agentd" with below command

        1) locate zabbix_agentd
        Generally the binaries are at "/usr/local/sbin/zabbix_agentd" path

        2) Then check permission of above file with full path
        Please provide its complete o/p

        Comment

        • bbperer
          Junior Member
          • Mar 2017
          • 13

          #5
          Here you go. See attached. thanks
          Attached Files

          Comment

          • Atsushi
            Senior Member
            • Aug 2013
            • 2028

            #6
            The file zabbix_agentd does not seem to have execute privilege.
            Please try changing the file permissions.

            Code:
            # chmod +x /usr/local/sbin/zabbix_agentd

            Comment

            • bbperer
              Junior Member
              • Mar 2017
              • 13

              #7
              That worked for me. Thanks for your help!

              It's weird that this issue is on SLES 10 SP2. I installed the same agent on SLES 10 PS4 and SLES 11 and SLES 12 and it works fine.

              Comment

              Working...