Ad Widget

Collapse

Zabbix Agent Crashes Instantly with no error message

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ModularConfusion
    Junior Member
    • Apr 2024
    • 23

    #1

    Zabbix Agent Crashes Instantly with no error message

    I installed zabbix-proxy-sqlite3 and set the server and the hostname of the device in the config. When I run it, it exits with no error message:

    Code:
    tryhard@DESKTOP-OHAJ3GN:~$ sudo /usr/sbin/zabbix_proxy --foreground
    Starting Zabbix Proxy (active) [ProxyName]. Zabbix 5.0.17 (revision 0a4ac3dabc).
    Press Ctrl+C to exit.
    
    tryhard@DESKTOP-OHAJ3GN:~$
  • ModularConfusion
    Junior Member
    • Apr 2024
    • 23

    #2
    I believe that for sqlite3 it doesnt need me to run anything to prep a database, does it? If so I assume it would have some sort of error message. The documetnation is ouitdated for the proxy, referencing setup files that arent there, just like most of the zabbix documentation.

    But according to the developer on this post https://www.zabbix.com/forum/zabbix-...-schema-sql-gz - sqlite doesnt require any prep and should just work once the config is set up up

    Comment

    • Markku
      Senior Member
      Zabbix Certified SpecialistZabbix Certified ProfessionalZabbix Certified Expert
      • Sep 2018
      • 1781

      #3
      What does zabbix_proxy.log say?

      Markku

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        Running it as root and without config file? One has to be specially allowed in config (https://www.zabbix.com/documentation...roxy#allowroot)
        So, shooting yourself in a leg here?

        Comment

        • ModularConfusion
          Junior Member
          • Apr 2024
          • 23

          #5
          I ended up uninstalling and using docker, and it's running stably, so unfortunately I do not have the log anymore. To recreate my issue you can follow the zabbix instructions on setting up a proxy, found here https://www.zabbix.com/documentation.../debian_ubuntu

          cyber, actually by default it uses /etc/zabbix/zabbix_proxy.conf unless you specify a config file other than the default one. I can confirm this is the case as it was complaining the host was invalid before I put it in

          Comment

          Working...