Ad Widget

Collapse

Zabbix server is not running

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nvrohanraj
    Junior Member
    • Mar 2019
    • 4

    #1

    Zabbix server is not running

    Hi All,

    I have Installed Zabbix on Raspberry Pi and I have noticed that the Service is not running. i am unable to find any log file.

    root@raspberry:/etc/zabbix# uname -a
    Linux raspberry 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux
    root@raspberry:/etc/zabbix#


    root@raspberry:/etc/zabbix# systemctl status zabbix-server.service
    ● zabbix-server.service - LSB: Start zabbix-server daemon
    Loaded: loaded (/etc/init.d/zabbix-server; generated; vendor preset: enabled)
    Active: active (exited) since Sat 2019-03-23 19:47:54 GMT; 22min ago
    Docs: man:systemd-sysv-generator(8)
    Process: 2022 ExecStop=/etc/init.d/zabbix-server stop (code=exited, status=0/SUCCESS)
    Process: 2025 ExecStart=/etc/init.d/zabbix-server start (code=exited, status=0/SUCCESS)
    Tasks: 0 (limit: 4915)
    CGroup: /system.slice/zabbix-server.service

    Mar 23 19:47:54 raspberry systemd[1]: Starting LSB: Start zabbix-server daemon...
    Mar 23 19:47:54 raspberry systemd[1]: Started LSB: Start zabbix-server daemon.
    root@raspberry:/etc/zabbix#



    root@raspberry:/etc/zabbix# cat /var/www/html/zabbix/php/conf/zabbix.conf.php
    <?php
    // Zabbix GUI configuration file.
    global $DB;

    $DB['TYPE'] = 'MYSQL';
    $DB['SERVER'] = 'localhost';
    $DB['PORT'] = '0';
    $DB['DATABASE'] = 'zabbix';
    $DB['USER'] = 'zabbix';
    $DB['PASSWORD'] = 'password';

    // Schema name. Used for IBM DB2 and PostgreSQL.
    $DB['SCHEMA'] = '';

    $ZBX_SERVER = '192.168.1.102';
    $ZBX_SERVER_PORT = '10051';
    $ZBX_SERVER_NAME = 'localhost';

    $IMAGE_FORMAT_DEFAULT = IMAGE_FORMAT_PNG;
    root@raspberry:/etc/zabbix#


    I can see the web page and i see this error in the dashboard.
  • nvrohanraj
    Junior Member
    • Mar 2019
    • 4

    #2
    Guys any help??

    Comment

    • solomonaom
      Member
      • Feb 2019
      • 58

      #3
      check /var/log/zabbix/zabbix_server.log

      Comment


      • nvrohanraj
        nvrohanraj commented
        Editing a comment
        This file is not existing
    • rvanderkooi
      Member
      • May 2019
      • 33

      #4
      Hi, how do you resolved this? i have the same issue.

      Many thnaks.

      Comment


      • Atsushi
        Atsushi commented
        Editing a comment
        What version of Zabbix you are going to use? And what OS are you using?
        The package currently published in Zabbix official is for Raspbian Stretch.
    • rvanderkooi
      Member
      • May 2019
      • 33

      #5
      Hi Atsushi,

      I have Ubuntu 16.04 with Zabbix 4.2.1 but same problem.. with actvie (excited) and without any log in \var\log\zabbix\zabbix_server.log

      Comment


      • Atsushi
        Atsushi commented
        Editing a comment
        Packages for Ubuntu 16.04 Xenial on Raspberry Pi are not available on the Zabbix official site. Only the amd64 architecture is available on the official site.
        You can not run the program if the architecture is different.
    • rvanderkooi
      Member
      • May 2019
      • 33

      #6
      Oke many thanks, its resolve now.

      Comment

      • GuardianRF
        Junior Member
        • Jun 2020
        • 10

        #7
        Originally posted by rvanderkooi
        Oke many thanks, its resolve now.
        Hello! Tell me how you solved this problem.
        I have a similar situation in this topic.
        https://www.zabbix.com/forum/zabbix-...0%B0%D1%80%D1% 82% D1% 83% D0% B5% D1% 82-zabbix-server-does-not-start

        Comment


        • rvanderkooi
          rvanderkooi commented
          Editing a comment
          Hi,

          Please look if you have installed the right packeges for you distri.. i had installed the wrong..
      • GuardianRF
        Junior Member
        • Jun 2020
        • 10

        #8
        Originally posted by rvanderkooi
        Oke many thanks, its resolve now.
        There is Zabbix on ESXI, which works successfully, a snapshot is taken from it.
        The snapshot is deployed on a different ESXI with a different virtual machine name and on a different IP.
        Accordingly, nothing changes, except for the IP of the virtual machine itself and the name (in fact).
        All .conf settings, database, everything else is unchanged.
        Zabbix-agent starts successfully

        zabbix-agent.service - Zabbix Agent
        Loaded: loaded (/lib/systemd/system/zabbix-agent.service; enabled; vendor preset: enabled)
        Active: active (running) since Mon 2020-11-30 17:19:54 MSK; 17h ago
        Docs: man: zabbix_agentd
        Main PID: 430 (zabbix_agentd)
        Tasks: 6 (limit: 4915)
        CGroup: /system.slice/zabbix-agent.service
        ├─430 / usr / sbin / zabbix_agentd --foreground
        ├─449 / usr / sbin / zabbix_agentd: collector [idle 1 sec]
        ├─450 / usr / sbin / zabbix_agentd: listener # 1 [waiting for connection]
        ├─451 / usr / sbin / zabbix_agentd: listener # 2 [waiting for connection]
        ├─452 / usr / sbin / zabbix_agentd: listener # 3 [waiting for connection]
        └─453 / usr / sbin / zabbix_agentd: active checks # 1 [idle 1 sec]

        Nov 30 17:19:54 LDP-ZABBIXT-AP01 systemd [1]: Started Zabbix Agent.
        Nov 30 17:19:57 LDP-ZABBIXT-AP01 zabbix_agentd [430]: Starting Zabbix Agent [Zabbix server]. Zabbix 4.0.19 (revision a566532084).

        Zabbix-server - no.

        zabbix-server.service - LSB: Start zabbix-server daemon
        Loaded: loaded (/etc/init.d/zabbix-server; generated; vendor preset: enabled)
        Active: active (exited) since Mon 2020-11-30 17:45:32 MSK; 16h ago
        Docs: man: systemd-sysv-generator (8)
        Process: 842 ExecStop = / etc / init.d / zabbix-server stop (code = exited, status = 0 / SUCCESS)
        Process: 880 ExecStart = / etc / init.d / zabbix-server start (code = exited, status = 0 / SUCCESS)
        Tasks: 0 (limit: 4915)
        CGroup: /system.slice/zabbix-server.service

        Nov 30 17:45:32 LDP-ZABBIXT-AP01 systemd [1]: Starting LSB: Start zabbix-server daemon ...
        Nov 30 17:45:32 LDP-ZABBIXT-AP01 systemd [1]: Started LSB: Start zabbix-server daemon.


        Information is not written to the log file, PID is not generated.
        Zabbix 4.0.6

        Comment

        Working...