Ad Widget

Collapse

zabbix agent wont start on SUSE 10

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • adil
    Junior Member
    • Oct 2010
    • 3

    #1

    zabbix agent wont start on SUSE 10

    I am unable to get the zabbix agent service started on SUSe 10.2.

    I am getting the following error:
    /etc/init.d/zabbixagent: line 11: /etc/init.d/functions: No such file or directory

    I am following the usual procedure to setup the agent on Linux.

    Any ideas.
  • badener
    Member
    • Sep 2009
    • 42

    #2
    Hi,

    did you install from rpm or compiled it yourself from source ?
    If you do have the sources look at misc/init.d/suse/9.3/zabbix_agentd
    that's a sample start script.
    Else try exchanging /etc/init.d/functions with /etc/rc.status as that is the one used in the sample file.

    Comment

    • adil
      Junior Member
      • Oct 2010
      • 3

      #3
      I am using precompiled agent binaries from RH server. I am copying/configuring the agent binaries on client machines. No problem on RH clients.
      I changed the /etc/init.d/function to /etc/rc.status. I'm getting the following error:

      Starting zabbix_agentd: /etc/init.d/zabbixagent: line 21: daemon: command not found

      I also tried starting the zabbix daemon from the /opt/zabbix/bin
      ./zabbix_agentd gives me 'Floating point exception'

      Do I need to compile agent from source on Suse. If so where can I find the agent source for Suse.

      Comment

      • badener
        Member
        • Sep 2009
        • 42

        #4
        I never found rpms for suse

        it looks like your binaries won't work on suse - I usually compile the agent from source, just so I can always use the latest version without having to wait for somebody to create the rpm

        Getting the source is no problem and compiling is just
        Code:
        ./configure --prefix=<where you want zabbix> --enable-agent
        make install
        that's worked well for me on any platform so far (redhat, suse,bsd)
        of course there are things you have to take care of yourself
        1. create a zabbix user
        2. give appropriate authority on all files/directories to the zabbix user
        3. copy the init.d startscript to /etc/init.d
        just check http://www.zabbix.com/documentation/...e#zabbix_agent

        that might look like a lot to do, but once you've succeeded on one system and know what to do you can just script it and install agents (or do mass updates) over ssh

        Comment

        Working...