Can't Install Zabbix Agent Package on 2.5.2
-
We just upgraded from 2.5.0 to 2.5.2, and the Zabbix agent package stopped working.
The first thing I tried was a re-install of the the pfSense-pkg-zabbix-agent4/zabbix4-agent package, but I ran into the same issue.
I also tried installing the older zabbix3-agent but got the exact same error.
Other packages are installing fine, so I don't know what is wrong.
Does anybody have any suggestions? I need to make sure this VM is monitored.Here is the install log:
>>> Installing pfSense-pkg-zabbix-agent4... Updating pfSense-core repository catalogue... pfSense-core repository is up to date. Updating pfSense repository catalogue... pfSense repository is up to date. All repositories are up to date. The following 2 package(s) will be affected (of 0 checked): New packages to be INSTALLED: pfSense-pkg-zabbix-agent4: 1.0.4_8 [pfSense] zabbix4-agent: 4.0.30 [pfSense] Number of packages to be installed: 2 246 KiB to be downloaded. [1/2] Fetching pfSense-pkg-zabbix-agent4-1.0.4_8.txz: .. done [2/2] Fetching zabbix4-agent-4.0.30.txz: .......... done Checking integrity... done (0 conflicting) [1/2] Installing zabbix4-agent-4.0.30... ===> Creating groups. Using existing group 'zabbix'. ===> Creating users Using existing user 'zabbix'. [1/2] Extracting zabbix4-agent-4.0.30: ......... done [2/2] Installing pfSense-pkg-zabbix-agent4-1.0.4_8... [2/2] Extracting pfSense-pkg-zabbix-agent4-1.0.4_8: ........ done Saving updated package information... done. Loading package configuration... done. Configuring package components... Loading package instructions... Parse error: syntax error, unexpected ';' in /usr/local/pkg/zabbix-agent.inc on line 379 pkg-static: POST-INSTALL script failed >>> Cleaning up cache... done. Success
The home page shows a crash report after the failed install:
Crash report begins. Anonymous machine information: amd64 12.2-STABLE FreeBSD 12.2-STABLE fd0f54f44b5c(RELENG_2_5_0) pfSense Crash report details: PHP Errors: [14-Jul-2021 20:39:48 Etc/UCT] PHP Parse error: syntax error, unexpected ';' in /usr/local/pkg/zabbix-agent.inc on line 379
-
Same here.
-
https://redmine.pfsense.org/issues/12128
There's already a bugtracker of this issue.
-
@rafaelvolpeti Looks like they merged a fix. Trying again and will report back.