Hi all, I am in a strange predicament where I tried to upgrade Zabbix from version 5.0 to 6.0 and my Ubuntu server from 18.04 to 20.04. I have worked through a myriad of log errors and have finally got to a point where my apache2 logs and zabbix_server.log file are showing nominal operations and my email alerts are coming through as expected.
When I try to access the frontend UI (http://IP/zabbix) I get the dreaded Not Found The requested URL was not found on this server. Apache Server at IP Port 80. I have searched through other posts with that error and it appears that zabbix can't make a connection with Apache.
FWIW here are my zabbix_server.log file and my apache2 error file.
1138:20220509:124841.677 server Zabbix Server Port to Windows started [history poller #5]
1130:20220509:124841.677 server check_port in Win32 started [icmp pinger #1]
1136:20220509:124841.692 server In search of a Processer Load Explanation started [history poller #3]
1134:20220509:124841.693 server "Time now" in forum started [history poller #1]
1142:20220509:124841.695 server Zabbix Agent is not accessible started [trigger housekeeper #1]
1143:20220509:124841.696 server Create an item using existing items started [odbc poller #1]
1074:20220509:124841.737 server #10 started [preprocessing worker #3]
/var/log/apache2/error.log
[Mon May 09 12:06:37.148886 2022] [mpm_event:notice] [pid 12718:tid 139823401196864] AH00489: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
[Mon May 09 12:06:37.148980 2022] [core:notice] [pid 12718:tid 139823401196864] AH00094: Command line: '/usr/sbin/apache2'
[Mon May 09 12:47:40.532240 2022] [mpm_event:notice] [pid 12718:tid 139823401196864] AH00491: caught SIGTERM, shutting down
[Mon May 09 12:48:43.678541 2022] [mpm_event:notice] [pid 1361:tid 140429661154624] AH00489: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
[Mon May 09 12:48:43.678742 2022] [core:notice] [pid 1361:tid 140429661154624] AH00094: Command line: '/usr/sbin/apache2'
Here is a part of my apache2.conf file
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride all
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
</Directory>
When I try to access the frontend UI (http://IP/zabbix) I get the dreaded Not Found The requested URL was not found on this server. Apache Server at IP Port 80. I have searched through other posts with that error and it appears that zabbix can't make a connection with Apache.
FWIW here are my zabbix_server.log file and my apache2 error file.
1138:20220509:124841.677 server Zabbix Server Port to Windows started [history poller #5]
1130:20220509:124841.677 server check_port in Win32 started [icmp pinger #1]
1136:20220509:124841.692 server In search of a Processer Load Explanation started [history poller #3]
1134:20220509:124841.693 server &quot;Time now&quot; in forum started [history poller #1]
1142:20220509:124841.695 server Zabbix Agent is not accessible started [trigger housekeeper #1]
1143:20220509:124841.696 server Create an item using existing items started [odbc poller #1]
1074:20220509:124841.737 server #10 started [preprocessing worker #3]
/var/log/apache2/error.log
[Mon May 09 12:06:37.148886 2022] [mpm_event:notice] [pid 12718:tid 139823401196864] AH00489: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
[Mon May 09 12:06:37.148980 2022] [core:notice] [pid 12718:tid 139823401196864] AH00094: Command line: '/usr/sbin/apache2'
[Mon May 09 12:47:40.532240 2022] [mpm_event:notice] [pid 12718:tid 139823401196864] AH00491: caught SIGTERM, shutting down
[Mon May 09 12:48:43.678541 2022] [mpm_event:notice] [pid 1361:tid 140429661154624] AH00489: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
[Mon May 09 12:48:43.678742 2022] [core:notice] [pid 1361:tid 140429661154624] AH00094: Command line: '/usr/sbin/apache2'
Here is a part of my apache2.conf file
<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>
<Directory /usr/share>
AllowOverride all
Require all granted
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
</Directory>