Ad Widget

Collapse

Zabbix-server не стартует (Zabbix-server does not start)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GuardianRF
    Junior Member
    • Jun 2020
    • 10

    #1

    Zabbix-server не стартует (Zabbix-server does not start)

    Коллеги, всем добрый день.
    Такой вопрос, вдруг кто сталкивался.
    Имеется Zabbix на ESXI, который успешно работает, с него делается снапшот.
    Снапшот разворачивается на другом ESXI с другим именем виртуальной машины и на другом IP.
    Соответственно, ничего не меняется, кроме самого IP виртуальной машины и имени (по сути).
    Все настройки .conf, база данных, все остальное - неизменно.
    Zabbix-agent успешно стартует

    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 - нет.

    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.


    В лог файл информация не пишется, PID не создаётся.
    Zabbix 4.0.6

    Кто-то сталкивался с подобным? Есть какие-либо мысли?

    Colleagues, good afternoon everyone.
    Such a question, who suddenly came across.
    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

    Has anyone come across a similar one? Any thoughts?
  • GuardianRF
    Junior Member
    • Jun 2020
    • 10

    #2
    Originally posted by cyber
    Just in case, check the permissions of the directory, where it wants to write a pid file... But I think even that was written in logfile, if it had issues with that... It was looooong time ago, when I had such case.
    All rights to directories remained unchanged, zabbix-agent.pid file is being created successfully.
    That is, this is a copy of a combat virtual machine that does not start.
    Any other permissions have not changed.

    Comment

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

      #3
      Just in case, check the permissions of the directory, where it wants to write a pid file... But I think even that was written in logfile, if it had issues with that... It was looooong time ago, when I had such case.

      Comment

      Working...