Answer the question
In order to leave comments, you need to log in
Why won't zabbix start?
Zabbix worked, it was necessary to log in under the user zabbix in Linux.
the user had the following settings
zabbix:x:108:113::/var/lib/zabbix/:/bin/false
I started typing passwd -u commands then set a password but changed the shell to /bin/bash but everything was even, not enough permits. Further, the need for this abruptly disappeared, but zabbix stopped working. Returned the settings back, deleted the password, blocked the account. and All the same.
Here are the logs
AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2400.0 Iron/45.0.2400.0 Safari/537.36"
10.180.2.74 - - [03/Oct/2016:10:43:36 +0300] "POST /zabbix/jsrpc. php?output=json-rpc HTTP/1.1" 403 511 " zbx/zabbix/hosts.php?ddreset=1 " "Mozilla/5.0 (Windows NT 6.1; WOW64)
[Mon Oct 03 10:44:06.630108 2016] [core:error] [pid 26893] (13)Permission denied: [client 10.180.2.74:32335] AH00035: access to /zabbix/jsrpc.php denied (filesystem path '/ usr') because search permissions are missing on a component of the path, referer: zbx/zabbix/hosts.php?ddreset=1
systemctl status zabbix-server.service
● zabbix-server.service - Zabbix Server
Loaded: loaded (/lib/systemd/system/zabbix-server.service; disabled)
Active: activating (auto-restart) (Result: resources) since Mon 2016-10-03 10:29:59 MSK; 6s ago
Process: 27098 ExecStop=/bin/kill -SIGTERM $MAINPID (code=exited, status=0/SUCCESS)
Process: 28234 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=0/ SUCCESS)
Main PID: 911 (code=exited, status=1/FAILURE)
Oct 03 10:29:59 zbx systemd[1]: PID file /run/zabbix/zabbix_server.pid not readable (yet?) after start.
Oct 03 10:29:59 zbx systemd[1]: zabbix-server.service never wrote its PID file. Failing.
Oct 03 10:29:59 zbx systemd[1]: Failed to start Zabbix Server.
Oct 03 10:29:59 zbx systemd[1]: Unit zabbix-server.service entered failed state.
journalctl -xn
-- Logs begin at Sat 2016-08-06 18:32:40 MSK, end at Mon 2016-10-03 10:45:41 MSK. --
Oct 03 10:45:32 zbx systemd[1]: Starting Zabbix Server...
-- Subject: Starting unit zabbix-server.service
-- Defined-By: systemd
-- Support: lists.freedesktop.org/ mailman/listinfo/systemd-devel
--
-- Started the process of starting the zabbix-server.service unit.
Oct 03 10:45:32 zbx zabbix_server[28727]: zabbix_server: daemon.c:372: daemon_start: Assertion `0' failed.
Oct 03 10:45:32 zbx systemd[1]: PID file /run/zabbix/zabbix_server.pid not readable (yet?) after start.
Oct 03 10:45:32 zbx systemd[1]: zabbix-server.service never wrote its PID file. Failing.
Oct 03 10:45:32 zbx systemd[1]: Failed to start Zabbix Server.
-- Subject: zabbix-server.service unit failed
-- Defined-By: systemd
-- Support: lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- zabbix-server.service unit failed.
--
-- Result: failed.
Oct 03 10:45:32 zbx systemd[1]: Unit zabbix-server.service entered failed state.
Oct 03 10:45:36 zbx snmpd[669]: /proc/partitions: Permission denied
Oct 03 10:45:36 zbx snmpd[669]: /proc/stat: Permission denied
Oct 03 10:45:41 zbx snmpd[ 669]: /proc/partitions: Permission denied
Oct 03 10:45:41 zbx snmpd[669]: /proc/stat: Permission denied
Answer the question
In order to leave comments, you need to log in
create a zabbix user account again with parameters and no password
and add it to the zabbix groupusermod -G zabbix zabbix
/etc/init.d/zabbix-server restart
[....] Restarting zabbix-server (via systemctl): zabbix-server.serviceJob for zabbix-server.service failed. See 'systemctl status zabbix-server.service' and 'journalctl -xn' for details.
failed!
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question