Ad Widget

Collapse

Raspberry Pi 2 Raspbian Stretch: Segmentation fault

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Starko
    Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Aug 2012
    • 93

    #1

    Raspberry Pi 2 Raspbian Stretch: Segmentation fault

    Hello,
    for testing purposes I wanted to reactivate my old Pi 2 at home. It should act as an active Zabbix Proxy SQLite mit TLS, so I could experiment with Templates at home. I already installed a Pi Proxy a few times and never had issues. But this time I fail and I don't get why. What I did:
    1. Copied the Raspbian with DD (Rufus) onto the 4GB SD card
    2. Activated SSH
    3. SSHed onto the PI
    4. apt update
    5. apt upgrade
    6. wget http://repo.zabbix.com/zabbix/3.4/de...tretch_all.deb
    7. dpkg -i zabbix-release_3.4-1+stretch_all.deb
    8. apt update
    9. apt install zabbix-agent zabbix-get zabbix-proxy-sqlite3 zabbix-sender

    And that's all. I couldn't even start agent or proxy. No log is generated at all. And when I try to get the version for example:
    Code:
    root@ZabbixPi:~# zabbix_agentd -V
    Segmentation fault
    Code:
    root@ZabbixPi:~# journalctl -xe
    -- Unit zabbix-agent.service has begun starting up.
    Feb 09 22:30:19 ZabbixPi systemd[1]: zabbix-agent.service: Control process exited, code=killed status=11
    Feb 09 22:30:19 ZabbixPi systemd[1]: Failed to start Zabbix Agent.
    -- Subject: Unit zabbix-agent.service has failed
    -- Defined-By: systemd
    -- Support: https://www.debian.org/support
    --
    -- Unit zabbix-agent.service has failed.
    --
    -- The result is failed.
    Feb 09 22:30:19 ZabbixPi systemd[1]: zabbix-agent.service: Unit entered failed state.
    Feb 09 22:30:19 ZabbixPi systemd[1]: zabbix-agent.service: Failed with result 'signal'.
    Any idea what I did wrong? Maybe a hardware issue?
    Last edited by Starko; 10-02-2018, 00:38.
  • volter
    Member
    Zabbix Certified Specialist
    • Dec 2011
    • 85

    #2
    I don't know what "rufus" is, but is that version of Raspbian binary-compatible with Stretch?

    Try this:

    su -s /bin/sh zabbix
    zabbix_agentd -f -c <path_to_agent_configuration>

    Comment

    • Starko
      Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Aug 2012
      • 93

      #3
      Rufus is just a win32 imaging tool, you can write ISOs to an USB stick etc

      I tried it, but I get the same error:
      Code:
      pi@ZabbixPi:~ $ sudo su -s /bin/sh zabbix
      $ zabbix_agentd -f -c /etc/zabbix/zabbix_agentd.conf
      Segmentation fault
      I already have several Pi3 at work with Debian Stretch an Zabbix 3.4, which uses this deb package afaik:

      Comment

      Working...