Ad Widget

Collapse

zabbix fails when clicking next

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • fazabb
    Junior Member
    • Jul 2022
    • 6

    #1

    zabbix fails when clicking next

    Hi there,
    sorry for this newbie question, I have been trying to fix this and am aware that a similar quesiton has been asked before, but I couldn't yet fix it after many hours.

    web gui is starting, but apache logs are already showing some errors when I load it (3 lines) and when I click "next step" more appear.
    As for the browser, all I know is that the window returns a status 500 with
    This page isn’t working
    <ip> is currently unable to handle this request.

    ...can anyone point me in the right direction?

    thank you all in advance for your patience

  • fazabb
    Junior Member
    • Jul 2022
    • 6

    #2
    Here is the part 1of 4 of the log .
    Uploading it bit by bit as it's raising errors trying to post it.

    [Mon Jul 11 00:31:52.919395 2022] [php:warn] [pid 8186] [client 192.168.1.152:50387] PHP Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/zabbix/include/classes/setup/CSetupWizard.php on line 413
    [Mon Jul 11 00:31:52.919699 2022] [php:warn] [pid 8186] [client 192.168.1.152:50387] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/setup/CSetupWizard.php on line 414
    [Mon Jul 11 00:31:52.946154 2022] [php:warn] [pid 8186] [client 192.168.1.152:50387] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/core/CCookieSession.php on line 194
    [Mon Jul 11 00:32:01.905143 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/zabbix/include/validate.inc.php(107) : eval()'d code on line 1, referer: http://192.168.1.167/zabbix/setup.php
    [Mon Jul 11 00:32:01.905299 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/zabbix/include/validate.inc.php on line 334, referer: http://192.168.1.167/zabbix/setup.php
    [Mon Jul 11 00:32:01.907658 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 586, referer: http://192.168.1.167/zabbix/setup.php
    [Mon Jul 11 00:32:01.907784 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 587, referer: http://192.168.1.167/zabbix/setup.php
    [Mon Jul 11 00:32:01.907922 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 588, referer: http://192.168.1.167/zabbix/setup.php
    [Mon Jul 11 00:32:01.908070 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 586, referer: http://192.168.1.167/zabbix/setup.php
    [Mon Jul 11 00:32:01.908151 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 587, referer: http://192.168.1.167/zabbix/setup.php
    [Mon Jul 11 00:32:01.908319 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 588, referer: http://192.168.1.167/zabbix/setup.php
    [Mon Jul 11 00:32:01.908460 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 586, referer: http://192.168.1.167/zabbix/setup.php
    [Mon Jul 11 00:32:01.908540 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 587, referer: http://192.168.1.167/zabbix/setup.php
    [Mon Jul 11 00:32:01.908669 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 588, referer: http://192.168.1.167/zabbix/setup.php
    [Mon Jul 11 00:32:01.908809 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 586, referer: http://192.168.1.167/zabbix/setup.php
    [Mon Jul 11 00:32:01.908890 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 587, referer: http://192.168.1.167/zabbix/setup.php
    [Mon Jul 11 00:32:01.909019 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 588, referer: http://192.168.1.167/zabbix/setup.php

    Last edited by fazabb; 11-07-2022, 23:29.

    Comment

    • fazabb
      Junior Member
      • Jul 2022
      • 6

      #3
      log part 2of4

      [Mon Jul 11 00:32:01.909158 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 586, referer: http://192.168.1.167/zabbix/setup.php
      [Mon Jul 11 00:32:01.909239 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 587, referer: http://192.168.1.167/zabbix/setup.php
      [Mon Jul 11 00:32:01.909368 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 588, referer: http://192.168.1.167/zabbix/setup.php
      [Mon Jul 11 00:32:01.909508 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 586, referer: http://192.168.1.167/zabbix/setup.php
      [Mon Jul 11 00:32:01.909588 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 587, referer: http://192.168.1.167/zabbix/setup.php
      [Mon Jul 11 00:32:01.909718 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 588, referer: http://192.168.1.167/zabbix/setup.php
      [Mon Jul 11 00:32:01.909857 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: preg_match(): Compilation failed: unrecognised compile-time option bit(s) at offset 0 in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 586, referer: http://192.168.1.167/zabbix/setup.php
      [Mon Jul 11 00:32:01.909963 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 587, referer: http://192.168.1.167/zabbix/setup.php
      [Mon Jul 11 00:32:01.910093 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/validators/CApiInputValidator.php on line 588, referer: http://192.168.1.167/zabbix/setup.php
      Last edited by fazabb; 11-07-2022, 23:30.

      Comment

      • fazabb
        Junior Member
        • Jul 2022
        • 6

        #4
        log part 3of4 (the one Fatal Error amongst many many Warnings)

        [Mon Jul 11 00:32:01.910386 2022] [php:error] [pid 8185] [client 192.168.1.152:50386] PHP
        Fatal error: Uncaught APIException: Invalid parameter "/output":
        value must be empty or one of "", "", "", "", "", "". in /usr/share/zabbix/include/classes/api/CApiService.php : 887\nStack
        trace:\n#0 /usr/share/zabbix/include/classes/api/services/CSettings.php(108):
        CApiService::exception()\n # 1
        /usr/share/zabbix/include/classes/helpers/CSettingsHelper.php (105):
        CSettings->getGlobal()\n # 2
        /usr/share/zabbix/include/classes/helpers/CSettingsHelper.php(128):
        CSettingsHelper: :loadParams()\n # 3
        /usr/share/zabbix/include/page_header.php(86):
        CSettingsHelper: :getGlobal()\n # 4
        /usr/share/zabbix/include/validate.inc.php(371):
        require_once('...')\n # 5
        /usr/share/zabbix/include/validate.inc.php(431):
        invalid_url() \n # 6
        /usr/share/zabbix/setup.php(76):
        check_fields()\n # 7
        { main } \n thrown in /usr/share/zabbix/include/classes/api/CApiService.php on line 887,
        referer: http://192.168.1.167/zabbix/setup.php
        Last edited by fazabb; 11-07-2022, 23:31.

        Comment

        • fazabb
          Junior Member
          • Jul 2022
          • 6

          #5
          log part 4of4

          [Mon Jul 11 00:32:01.910935 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Undefined array key "file" in /usr/share/zabbix/include/classes/debug/CProfiler.php on line 381, referer: http://192.168.1.167/zabbix/setup.php
          [Mon Jul 11 00:32:01.910991 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Undefined array key "line" in /usr/share/zabbix/include/classes/debug/CProfiler.php on line 381, referer: http://192.168.1.167/zabbix/setup.php
          [Mon Jul 11 00:32:01.911041 2022] [php:warn] [pid 8185] [client 192.168.1.152:50386] PHP Warning: Trying to access array offset on value of type null in /usr/share/zabbix/include/classes/core/CCookieSession.php on line 194, referer: http://192.168.1.167/zabbix/setup.php
          Last edited by fazabb; 11-07-2022, 23:31.

          Comment

          • fazabb
            Junior Member
            • Jul 2022
            • 6

            #6
            Gotcha, I better use something else...

            Comment

            • DimmKo
              Member
              • Jul 2014
              • 31

              #7
              Hello.
              Sorry for my bad English!

              I installed php8.1-cgi and this help for me.

              My commands:
              sudo aptitude install php8.1-cgi
              sudo systemctl restart apache2

              and I was clean all cache from browser.
              Last edited by DimmKo; 20-09-2022, 11:21.

              Comment

              Working...