Ad Widget

Collapse

Orange Pi + Ubuntu Mate + Zabbix-proxy

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • eFuse
    Junior Member
    • Jun 2020
    • 5

    #1

    Orange Pi + Ubuntu Mate + Zabbix-proxy

    Hello there!
    I have Zabbix-server (5.0.1) on phisical machine.
    Zabbix-proxy (5.0.1) installed on Orange Pi + Ubuntu Mate.
    Trouble - when i started proxy (systemctl restart zabbix-proxy and systemctl enable zabbix-proxy) in the console appears next:
    Code:
    [B]Job for zabbix-proxy.service failed. See "systemctl status zabbix-proxy.service" and "journalctl -xe" for details.[/B]
    Code:
    OrangePI:/etc# [B]systemctl status zabbix-proxy.service[/B]
    ● zabbix-proxy.service - Zabbix Proxy
    Loaded: loaded (/lib/systemd/system/zabbix-proxy.service; enabled; vendor preset: enabled)
    Active: activating (auto-restart) (Result: timeout) since Tue 2020-06-09 16:11:51; 1s ago
    Process: 2181 ExecStart=/usr/sbin/zabbix_proxy -c $CONFFILE (code=killed, signal=TERM)
    
    Jun 09 16:11:51 OrangePI systemd[1]: Failed to start Zabbix Proxy.
    Jun 09 16:11:51 OrangePI systemd[1]: Unit zabbix-proxy.service entered failed state.
    Jun 09 16:11:51 OrangePI systemd[1]: zabbix-proxy.service failed.
    Code:
    OrangePI:/etc#[B] journalctl -xe[/B]
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit zabbix-proxy.service has failed.
    --
    -- The result is failed.
    Jun 09 16:12:53 OrangePI systemd[1]: Unit zabbix-proxy.service entered failed state.
    Jun 09 16:12:53 OrangePI systemd[1]: zabbix-proxy.service failed.
    Jun 09 16:13:03 OrangePI systemd[1]: zabbix-proxy.service holdoff time over, scheduling restart.
    Jun 09 16:13:03 OrangePI systemd[1]: Starting Zabbix Proxy...
    -- Subject: Unit zabbix-proxy.service has begun start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit zabbix-proxy.service has begun starting up.
    Jun 09 16:13:03 OrangePI systemd[1]: zabbix-proxy.service start operation timed out. Terminating.
    Jun 09 16:13:03 OrangePI systemd[1]: zabbix-proxy.service stop-final-sigterm timed out. Killing.
    Jun 09 16:13:03 OrangePI systemd[1]: zabbix-proxy.service still around after final SIGKILL. Entering failed mode.
    Jun 09 16:13:03 OrangePI systemd[1]: Failed to start Zabbix Proxy.
    -- Subject: Unit zabbix-proxy.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit zabbix-proxy.service has failed.
    --
    -- The result is failed.
    Jun 09 16:13:03 OrangePI systemd[1]: Unit zabbix-proxy.service entered failed state.
    Jun 09 16:13:03 OrangePI systemd[1]: zabbix-proxy.service failed.
    Jun 09 16:13:13 OrangePI systemd[1]: zabbix-proxy.service holdoff time over, scheduling restart.
    Jun 09 16:13:14 OrangePI systemd[1]: Starting Zabbix Proxy...
    -- Subject: Unit zabbix-proxy.service has begun start-up
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit zabbix-proxy.service has begun starting up.
    Jun 09 16:13:14 OrangePI systemd[1]: zabbix-proxy.service start operation timed out. Terminating.
    Jun 09 16:13:14 OrangePI systemd[1]: zabbix-proxy.service stop-final-sigterm timed out. Killing.
    Jun 09 16:13:14 OrangePI systemd[1]: Failed to start Zabbix Proxy.
    -- Subject: Unit zabbix-proxy.service has failed
    -- Defined-By: systemd
    -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
    --
    -- Unit zabbix-proxy.service has failed.
    --
    -- The result is failed.
    Jun 09 16:13:14 OrangePI systemd[1]: Unit zabbix-proxy.service entered failed state.
    Jun 09 16:13:14 OrangePI systemd[1]: zabbix-proxy.service failed.
    Jun 09 16:13:24 OrangePI systemd[1]: zabbix-proxy.service holdoff time over, scheduling restart.


    I don't understand why this happens
    Please help me
  • aib
    Senior Member
    • Jan 2014
    • 1615

    #2
    Could you please check /var/log/zabbix/zabbix_proxy.log file?
    It can explain more why zabbix_proxy failing to start.
    Maybe it has some issue with DB connectivity, or file permissions.
    Sincerely yours,
    Aleksey

    Comment

    • eFuse
      Junior Member
      • Jun 2020
      • 5

      #3
      There was no proxy log file, i created it manually and restart daemon - file is empty:
      Code:
      OrangePI:/var/log/zabbix# ls -al
      total 80
      drwxr-xr-x 2 zabbix zabbix 4096 Jun 10 08:08 .
      drwxr-xr-x 9 root root 4096 Jan 5 1970 ..
      -rw-rw-r-- 1 zabbix zabbix 65819 Jun 10 08:08 zabbix_agentd.log
      -rw-rw-r-- 1 zabbix zabbix 0 Jun 10 08:08 zabbix_proxy.log
      When i try run proxy manually, i get this:
      Code:
      OrangePI:/etc# /usr/sbin/zabbix_proxy -c /etc/zabbix/zabbix_proxy.conf
      Segmentation fault
      I can connect to DB:
      Code:
      OrangePI:/var/log/zabbix# mysql -u ******* -p *******
      Enter password:
      Reading table information for completion of table and column names
      You can turn off this feature to get a quicker startup with -A
      
      Welcome to the MariaDB monitor. Commands end with ; or \g.
      Your MariaDB connection id is 9
      Server version: 10.3.22-MariaDB-0+deb10u1 Debian 10
      
      Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
      
      Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
      
      MariaDB [zabbix_proxy]>

      Comment

      • eFuse
        Junior Member
        • Jun 2020
        • 5

        #4
        A have new symptoms:
        Code:
        OrangePI:~# /usr/sbin/zabbix_proxy
        Segmentation fault
        Code:
        OrangePI:~# systemctl list-unit-files | grep zabbix
        zabbix-agent.service disabled
        zabbix-proxy.service enabled
        Code:
        OrangePI:~# [B]zabbix_agentd -V[/B]
        zabbix_agentd (daemon) (Zabbix) 5.0.1
        Revision c2a0b03480 25 May 2020, compilation time: May 28 2020 07:00:00
        
        Copyright (C) 2020 Zabbix SIA
        License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>.
        This is free software: you are free to change and redistribute it according to
        the license. There is NO WARRANTY, to the extent permitted by law.
        
        This product includes software developed by the OpenSSL Project
        for use in the OpenSSL Toolkit (http://www.openssl.org/).
        
        Compiled with OpenSSL 1.1.1c 28 May 2019
        Running with OpenSSL 1.1.1d 10 Sep 2019
        
        OrangePI:~[B]# zabbix_proxy -V[/B]
        Segmentation fault
        Even from zabbix user
        Code:
        OrangePI:~# [B]sudo su -s /bin/sh zabbix[/B]
        $ zabbix_proxy -f -c /usr/local/etc/zabbix_proxy.conf
        Segmentation fault
        I'm find similar theme without answering: https://www.zabbix.com/forum/zabbix-...entation-fault

        i'm realy upset
        Last edited by eFuse; 10-06-2020, 14:21.

        Comment

        • gofree
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2017
          • 400

          #5
          what repository was used to install zabbix ? orange pi is arm architecture - just a guess if you isntall it from x86 repo it will not work

          Comment

          • eFuse
            Junior Member
            • Jun 2020
            • 5

            #6
            I installed this deb: https://repo.zabbix.com/zabbix/5.0/r...buster_all.deb
            I've tried these too:



            Here is OS on OrangePI:
            Code:
            OrangePI:~# [B]cat /etc/*-release[/B]
            DISTRIB_ID=Ubuntu
            DISTRIB_RELEASE=15.04
            DISTRIB_CODENAME=vivid
            DISTRIB_DESCRIPTION="Ubuntu 15.04"
            NAME="Ubuntu"
            VERSION="15.04 (Vivid Vervet)"
            ID=ubuntu
            ID_LIKE=debian
            PRETTY_NAME="Ubuntu 15.04"
            VERSION_ID="15.04"
            HOME_URL="http://www.ubuntu.com/"
            SUPPORT_URL="http://help.ubuntu.com/"
            BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
            Last edited by eFuse; 11-06-2020, 07:25.

            Comment

            • eFuse
              Junior Member
              • Jun 2020
              • 5

              #7
              All thanks.
              The topic is closed.
              No more nerves - purchased a raspberry.

              Comment

              Working...