Open olevole opened 7 years ago
Hmm, some with bcmath and xmlwriter/xmlreader
[Sun Apr 02 15:50:51.875938 2017] [:error] [pid 25904] [client 192.168.0.2:27895] PHP Fatal error: Uncaught Error: Call to undefined function bcadd() in /usr/share/zabbix/include/classes/db/DB.php:170\nStack trace:\n#0 /usr/share/zabbix/include/classes/db/DB.php(136): DB::refreshIds('auditlog', 1)\n#1 /usr/share/zabbix/include/classes/db/DB.php(421): DB::reserveIds('auditlog', 1)\n#2 /usr/share/zabbix/include/audit.inc.php(166): DB::insert('auditlog', Array)\n#3 /usr/share/zabbix/include/classes/api/services/CUser.php(1148): add_audit_details(3, 0, '1', '', 'Login failed "A...', '1')\n#4 /usr/share/zabbix/include/classes/api/clients/CLocalApiClient.php(123): CUser->login(Array)\n#5 /usr/share/zabbix/include/classes/api/wrappers/CFrontendApiWrapper.php(97): CLocalApiClient->callMethod('user', 'login', Array, NULL)\n#6 /usr/share/zabbix/include/classes/api/wrappers/CApiWrapper.php(94): CFrontendApiWrapper->callClientMethod('login', Array)\n#7 /usr/share/zabbix/include/classes/api/wrappers/CFrontendApiWrapper.php(63): CApiWrapper->callMethod('login', Array)\n#8 /usr/share/zabbix/include/classes/api/wrappers/CApiWrapper in /usr/share/zabbix/include/classes/db/DB.php on line 170, referer: http://192.168.0.193/index.php
Also need php*-bcmath and php*-xml{writer,reader} module. I believe these dependencies should be in zabbix-web class
Affected Puppet, Ruby, OS and module versions/distributions
How to reproduce (e.g Puppet code you use)
What are you seeing
Blank screen on http://, see Output log
What behaviour did you expect instead
Default Zabbix UI login form
Output log
Any additional information you'd like to impart
Not the best solution, but I add additional " package { $php_extra_package: } " https://github.com/olevole/puppet-zabbix/commit/3b2fc077f10f97c461c1017c97c741052cde559f