[Решено] Zabbix-server не стартует
13
Посты
3
Пользователи
1
Likes
5,610
Просмотры
![]()
(@guardian)
Active Member
Присоединился: 2 года назад
Коллеги, всем добрый день.
Такой вопрос, вдруг кто сталкивался.
Имеется 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
Кто-то сталкивался с подобным? Есть какие-либо мысли?

(@zerox)
Prominent Member
Присоединился: 9 лет назад
Попробуй сделать reinstall пакета zabbix-server-mysql. Такое ощущение, что я уже видел что-то подобное и помогла перестановка. Именно после клона не стартовал сервер.
![]()
(@stalker_slx)
Estimable Member
Присоединился: 4 года назад
@guardian , если проблема таки решена — отмечайте данную тему «решенной», чтобы другим пользователям гугла было легче и быстрее найти свое решение!
I just installed Zabbix 5.0 LTS (The Latest verion of Zabbix) on RHEL-8 OS. On logging in the Zabbix front end, I gett a message saying «Zabbix server is not working». & bar below says:»Zabbix server not working.Information delayed may not be current».Kindly provide help?
Edit:My server port is 10051.
On entering «service zabbix start», I get output:
Redirecting to /bin/systemctl start zabbix.service
Failed to start zabbix.service:Unit zabbix.service not found.
& on entering «systemctl restart zabbix-server zabbix-agent httpd php-fpm», I get:
Job for zabbix-server.service failed because the control process exited with error code.
See "systemctl status zabbix-server.service" and "journalctl -xe" for details.
Output of «journalctl -xe»:
RHEL8 platform-python[5746]: SELinux is preventing zabbix_server from using the dac_override capability.
*** Plugin dac_overrride (91.4 confidence) suggests ************************
If you want to help identify if domain needs this access or you have a file with the wrong permissions on your system
Then turn on full auditing to get path information about the offending file and generate the error again.
Do
Turn on full auditing
#auditctl -w /etc/shadow -p w
Try to recreate AVC.Then execute
#ausearch -m avc -ts recent
If you see PATH record check ownership/permissions on file, and fix it,
otherwise report as a bugzilla
*** Plugin catchall (9.59 confidence) suggests *************************
If you believe that zabbix_server should have the dac_override capability by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
#ausearch -c 'zabbix_server' --raw | audit2allow -M my-zabbixserver
#semodule -X 300 -i my-zabbixserver.pp
RHEL8 dbus-daemon[779]: [system] Activating service name='org.fedoraproject.Setroubleshootd' requested by ':1.40' (uid=0 pid=748 comm="/usr/sbin/sedispatch " label="sytem_u:system_r:auditd_t:s0") (using servicehelper)
On entering «systemctl status zabbix-server.service», I get output:
zabbix-server.service-Zabbix server: Loaded:....
Active:....
Process: 4959 ExecStart=/usr/sbin/zabbix_server -c $CONFILE (code=exited,status=1/FAILURE)
RHEL8 systemd[1]:zabbix-server.service:Control process exited,code=exited status=1
RHEL8 systemd[1]:zabbix-server.service:Failed with result 'exit-code'.
RHEL8 systemd[1]:Failed to start Zabbix Server. What do I do now?
I just installed Zabbix-5.0 LTS on RHEL-8 OS. After logging in on the Zabbix fronend, I get message that «Zabbix server is not running:the information displayed may not be correct». Kindly help me with server installation.
My Zabbix server port is 10051.
On entering service zabbix start, I get output:
Redirecting to /bin/systemctl start zabbix.service
Failed to start zabbix.service:Unit zabbix.service not found.
and on entering systemctl restart zabbix-server zabbix-agent httpd php-fpm I get:
Job for zabbix-server.service failed because the control process exited with error code.
See "systemctl status zabbix-server.service" and "journalctl -xe" for details.
Output of «journalctl -xe»:
RHEL8 platform-python[5746]: SELinux is preventing zabbix_server from using the dac_override capability.
*** Plugin dac_overrride (91.4 confidence) suggests ************************
If you want to help identify if domain needs this access or you have a file with the wrong permissions on your system
Then turn on full auditing to get path information about the offending file and generate the error again.
Do
Turn on full auditing
#auditctl -w /etc/shadow -p w
Try to recreate AVC.Then execute
#ausearch -m avc -ts recent
If you see PATH record check ownership/permissions on file, and fix it,
otherwise report as a bugzilla
*** Plugin catchall (9.59 confidence) suggests *************************
If you believe that zabbix_server should have the dac_override capability by default.
Then you should report this as a bug.
You can generate a local policy module to allow this access.
Do
allow this access for now by executing:
#ausearch -c 'zabbix_server' --raw | audit2allow -M my-zabbixserver
#semodule -X 300 -i my-zabbixserver.pp
RHEL8 dbus-daemon[779]: [system] Activating service name='org.fedoraproject.Setroubleshootd' requested by ':1.40' (uid=0 pid=748 comm="/usr/sbin/sedispatch " label="sytem_u:system_r:auditd_t:s0") (using servicehelper)
On entering «systemctl status zabbix-server.service», I get output:
zabbix-server.service-Zabbix server: Loaded:....
Active:....
Process: 4959
ExecStart=/usr/sbin/zabbix_server -c $CONFILE (code=exited,status=1/FAILURE)
RHEL8 systemd[1]:zabbix-server.service:Control process exited,code=exited status=1
RHEL8 systemd[1]:zabbix-server.service:Failed with result 'exit-code'.
RHEL8 systemd[1]:Failed to start Zabbix Server. What do I do now?