Ad Widget

Collapse

Zabbix Web showing error in Administration=>Queue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jfha73
    Member
    • Aug 2018
    • 33

    #1

    Zabbix Web showing error in Administration=>Queue

    Hello,

    I was just checking Zabbix Web and noticed this in Administration=>Queue:

    Cannot display item queue.
    Details
    • Connection to Zabbix server "localhost" refused. Possible reasons:
    • 1. Incorrect server IP/DNS in the "zabbix.conf.php";
    • 2. Security environment (for example, SELinux) is blocking the connection;
    • 3. Zabbix server daemon not running;
    • 4. Firewall is blocking TCP connection.
    • Connection refused
    Firewall is disabled, so is SELinux, zabixx.conf.php has the right information on it, systemctl shows Zabbix server as running, but the web interface is not getting to it, I also tried to run the queue.php manually and it gave me this:

    PHP Fatal error: Uncaught exception 'Exception' with message 'File provided to a view does not exist. Tried to find "include/views/general.warning.php".' in /usr/share/zabbix/include/classes/mvc/CView.php:93

    Stack trace:
    #0 /usr/share/zabbix/include/classes/mvc/CView.php(74): CView->assign('general.warning')
    #1 /usr/share/zabbix/include/func.inc.php(1762): CView->__construct('general.warning', Array)
    #2 /usr/share/zabbix/include/page_header.php(162): access_deny(1)
    #3 /usr/share/zabbix/queue.php(30): require_once('/usr/share/zabb...')
    #4 {main}
    thrown in /usr/share/zabbix/include/classes/mvc/CView.php on line 93

    The file include/views/general.warning.php does exist.

    Any ideas why this is happening?

    Also, even though the zabbix server shows as running, when I run a port scan, nothing shows for port 10051 (the port in /etc/zabbix/zabbix_server.conf)

    Thanks a lot.
  • jfha73
    Member
    • Aug 2018
    • 33

    #2
    Once I corrected my "server" settings, this started to work, so I'm guessing it didn't have anything to show before.

    Comment

    • niros
      Junior Member
      • Jun 2021
      • 1

      #3
      salut... je rencontre probleme sur l'ajout d'item zabbix 5.0 via snmp agent...quelqu'un pourrais m'aider

      Comment

      • otheus
        Member
        • Mar 2009
        • 53

        #4
        Running Zabbix on certain versions of PHP8 with certain versions of PCRE2 libraries will trigger this error as a consequence of a "warning" on the previous line. In my case, it was line 79. Upgrade your PCE2 libraries, restart php-fpm if you're using it, and it may solve your problem. References: https://www.iwader.co.uk/posts/2021/...-bits-warning/ and https://github.com/php/php-src/pull/7573

        Comment

        Working...