Установил Zabbix 5.0.3 LTS на Centos7 c postgres b nginx. Все по мануалам и как-бы все запустилось и обшибок в самом заббиксе нет.
Но вэб интерфейс не доступен. Куда посмотреть чтоб понять в чем проблема?
[root@localhost ~]# systemctl status zabbix-server zabbix-agent rh-nginx116-nginx rh-php72-php-fpm
● zabbix-server.service - Zabbix Server
Loaded: loaded (/usr/lib/systemd/system/zabbix-server.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2020-08-06 18:18:04 MSK; 15h ago
Process: 1078 ExecStart=/usr/sbin/zabbix_server -c $CONFFILE (code=exited, status=0/SUCCESS)
Main PID: 1120 (zabbix_server)
CGroup: /system.slice/zabbix-server.service
├─1120 /usr/sbin/zabbix_server -c /etc/zabbix/zabbix_server.conf
├─8236 /usr/sbin/zabbix_server: configuration syncer [synced configuration in 0.034085 sec, idle 60 sec]
├─8239 /usr/sbin/zabbix_server: housekeeper [deleted 0 hist/trends, 0 items/triggers, 0 events, 0 sessions, 0 alarms, 0 aud...
├─8240 /usr/sbin/zabbix_server: timer #1 [updated 0 hosts, suppressed 0 events in 0.000962 sec, idle 59 sec]
├─8241 /usr/sbin/zabbix_server: http poller #1 [got 0 values in 0.001348 sec, idle 5 sec]
├─8242 /usr/sbin/zabbix_server: discoverer #1 [processed 0 rules in 0.001223 sec, idle 60 sec]
├─8243 /usr/sbin/zabbix_server: history syncer #1 [processed 0 values, 0 triggers in 0.000051 sec, idle 1 sec]
├─8244 /usr/sbin/zabbix_server: history syncer #2 [processed 0 values, 0 triggers in 0.000053 sec, idle 1 sec]
├─8245 /usr/sbin/zabbix_server: history syncer #3 [processed 1 values, 1 triggers in 0.003004 sec, idle 1 sec]
├─8246 /usr/sbin/zabbix_server: history syncer #4 [processed 0 values, 0 triggers in 0.000062 sec, idle 1 sec]
├─8247 /usr/sbin/zabbix_server: escalator #1 [processed 0 escalations in 0.002107 sec, idle 3 sec]
├─8248 /usr/sbin/zabbix_server: proxy poller #1 [exchanged data with 0 proxies in 0.000044 sec, idle 5 sec]
├─8249 /usr/sbin/zabbix_server: self-monitoring [processed data in 0.000047 sec, idle 1 sec]
├─8250 /usr/sbin/zabbix_server: task manager [processed 0 task(s) in 0.000739 sec, idle 5 sec]
├─8251 /usr/sbin/zabbix_server: poller #1 [got 0 values in 0.000045 sec, idle 1 sec]
├─8252 /usr/sbin/zabbix_server: poller #2 [got 0 values in 0.000041 sec, idle 1 sec]
├─8253 /usr/sbin/zabbix_server: poller #3 [got 0 values in 0.000039 sec, idle 1 sec]
├─8254 /usr/sbin/zabbix_server: poller #4 [got 1 values in 0.001531 sec, idle 1 sec]
├─8255 /usr/sbin/zabbix_server: poller #5 [got 0 values in 0.000038 sec, idle 1 sec]
├─8256 /usr/sbin/zabbix_server: unreachable poller #1 [got 0 values in 0.000045 sec, idle 5 sec]
├─8257 /usr/sbin/zabbix_server: trapper #1 [processed data in 0.004453 sec, waiting for connection]
├─8258 /usr/sbin/zabbix_server: trapper #2 [processed data in 0.003698 sec, waiting for connection]
├─8259 /usr/sbin/zabbix_server: trapper #3 [processed data in 0.003181 sec, waiting for connection]
├─8260 /usr/sbin/zabbix_server: trapper #4 [processed data in 0.003625 sec, waiting for connection]
├─8261 /usr/sbin/zabbix_server: trapper #5 [processed data in 0.003470 sec, waiting for connection]
├─8262 /usr/sbin/zabbix_server: icmp pinger #1 [got 0 values in 0.000040 sec, idle 5 sec]
├─8263 /usr/sbin/zabbix_server: alert manager #1 [sent 0, failed 0 alerts, idle 5.014437 sec during 5.014661 sec]
├─8264 /usr/sbin/zabbix_server: alerter #1 started
├─8265 /usr/sbin/zabbix_server: alerter #2 started
├─8266 /usr/sbin/zabbix_server: alerter #3 started
├─8267 /usr/sbin/zabbix_server: preprocessing manager #1 [queued 0, processed 9 values, idle 5.004368 sec during 5.004880 s...
├─8268 /usr/sbin/zabbix_server: preprocessing worker #1 started
├─8269 /usr/sbin/zabbix_server: preprocessing worker #2 started
├─8270 /usr/sbin/zabbix_server: preprocessing worker #3 started
├─8271 /usr/sbin/zabbix_server: lld manager #1 [processed 0 LLD rules during 5.006382 sec]
├─8272 /usr/sbin/zabbix_server: lld worker #1 [processed 1 LLD rules, idle 1533.123666 sec during 1533.175347 sec]
├─8273 /usr/sbin/zabbix_server: lld worker #2 [processed 1 LLD rules, idle 3597.964591 sec during 3597.977859 sec]
└─8275 /usr/sbin/zabbix_server: alert syncer [queued 0 alerts(s), flushed 0 result(s) in 0.001983 sec, idle 1 sec]
Aug 06 18:18:04 localhost.localdomain systemd[1]: Starting Zabbix Server...
Aug 06 18:18:04 localhost.localdomain systemd[1]: Can't open PID file /run/zabbix/zabbix_server.pid (yet?) after start: No such ...ectory
Aug 06 18:18:04 localhost.localdomain systemd[1]: Started Zabbix Server.
● zabbix-agent.service - Zabbix Agent
Loaded: loaded (/usr/lib/systemd/system/zabbix-agent.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2020-08-06 18:18:04 MSK; 15h ago
Process: 1082 ExecStart=/usr/sbin/zabbix_agentd -c $CONFFILE (code=exited, status=0/SUCCESS)
Main PID: 1100 (zabbix_agentd)
CGroup: /system.slice/zabbix-agent.service
├─1100 /usr/sbin/zabbix_agentd -c /etc/zabbix/zabbix_agentd.conf
├─1103 /usr/sbin/zabbix_agentd: collector [idle 1 sec]
├─1104 /usr/sbin/zabbix_agentd: listener #1 [waiting for connection]
├─1105 /usr/sbin/zabbix_agentd: listener #2 [waiting for connection]
├─1106 /usr/sbin/zabbix_agentd: listener #3 [waiting for connection]
└─1107 /usr/sbin/zabbix_agentd: active checks #1 [idle 1 sec]
Aug 06 18:18:04 localhost.localdomain systemd[1]: Starting Zabbix Agent...
Aug 06 18:18:04 localhost.localdomain systemd[1]: Started Zabbix Agent.
● rh-nginx116-nginx.service - The nginx HTTP and reverse proxy server
Loaded: loaded (/usr/lib/systemd/system/rh-nginx116-nginx.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2020-08-06 18:18:04 MSK; 15h ago
Process: 1159 ExecStart=/opt/rh/rh-nginx116/root/usr/libexec/nginx-scl-helper enable $RH_NGINX116_SCLS_ENABLED -- /opt/rh/rh-nginx116/root/usr/sbin/nginx (code=exited, status=0/SUCCESS)
Process: 1139 ExecStartPre=/opt/rh/rh-nginx116/root/usr/libexec/nginx-scl-helper enable $RH_NGINX116_SCLS_ENABLED -- /opt/rh/rh-nginx116/root/usr/sbin/nginx -t (code=exited, status=0/SUCCESS)
Process: 1113 ExecStartPre=/opt/rh/rh-nginx116/root/usr/libexec/nginx-scl-helper enable $RH_NGINX116_SCLS_ENABLED -- /usr/bin/scl_enabled rh-nginx116 (code=exited, status=0/SUCCESS)
Process: 1090 ExecStartPre=/usr/bin/rm -f /var/opt/rh/rh-nginx116/run/nginx/nginx.pid (code=exited, status=0/SUCCESS)
Main PID: 1188 (nginx)
CGroup: /system.slice/rh-nginx116-nginx.service
├─1188 nginx: master process /opt/rh/rh-nginx116/root/usr/sbin/nginx
├─1191 nginx: worker process
└─1192 nginx: worker process
Aug 06 18:18:04 localhost.localdomain systemd[1]: Starting The nginx HTTP and reverse proxy server...
Aug 06 18:18:04 localhost.localdomain nginx-scl-helper[1139]: nginx: the configuration file /etc/opt/rh/rh-nginx116/nginx/nginx.c...is ok
Aug 06 18:18:04 localhost.localdomain nginx-scl-helper[1139]: nginx: configuration file /etc/opt/rh/rh-nginx116/nginx/nginx.conf ...ssful
Aug 06 18:18:04 localhost.localdomain systemd[1]: Failed to parse PID from file /var/opt/rh/rh-nginx116/run/nginx/nginx.pid: Inv...gument
Aug 06 18:18:04 localhost.localdomain systemd[1]: Started The nginx HTTP and reverse proxy server.
● rh-php72-php-fpm.service - The PHP FastCGI Process Manager
Loaded: loaded (/usr/lib/systemd/system/rh-php72-php-fpm.service; enabled; vendor preset: disabled)
Active: active (running) since Thu 2020-08-06 18:18:04 MSK; 15h ago
Main PID: 1079 (php-fpm)
Status: "Processes active: 0, idle: 10, Requests: 0, slow: 0, Traffic: 0req/sec"
CGroup: /system.slice/rh-php72-php-fpm.service
├─1079 php-fpm: master process (/etc/opt/rh/rh-php72/php-fpm.conf)
├─1184 php-fpm: pool www
├─1185 php-fpm: pool www
├─1186 php-fpm: pool www
├─1187 php-fpm: pool www
├─1195 php-fpm: pool www
├─1196 php-fpm: pool zabbix
├─1197 php-fpm: pool zabbix
├─1198 php-fpm: pool zabbix
├─1199 php-fpm: pool zabbix
└─1201 php-fpm: pool zabbix
Aug 06 18:18:04 localhost.localdomain systemd[1]: Starting The PHP FastCGI Process Manager...
Aug 06 18:18:04 localhost.localdomain systemd[1]: Started The PHP FastCGI Process Manager.
Hint: Some lines were ellipsized, use -l to show in full.
Проделал такую штуку с запуcком nginx
# Fix for Nginx PID problem in Ubuntu 16.04 in an EC2 instance
sudo systemctl stop nginx
sudo mkdir /etc/systemd/system/nginx.service.d
# build the file in root where no sudo is needed
printf “[Service]\nExecStartPost=/bin/sleep 0.1\n” > override.conf
sudo cp override.conf /etc/systemd/system/nginx.service.d/override.conf
sudo systemctl daemon-reload
sudo systemctl start nginx
Ошибок нет, вэб интерфейс заббикса не доступен(