Ad Widget

Collapse

Zabbix 2.2 -> Queue ->ERROR: Cannot display item queue.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vapochilled
    Junior Member
    • Nov 2013
    • 17

    #1

    Zabbix 2.2 -> Queue ->ERROR: Cannot display item queue.

    Hi Zabbixers!

    I have the a scratch installation of 2.2 in a CentOS 6
    Everything works but I have a weird error when I open queue from administration tab:

    ERROR: Cannot display item queue. Permission denied.

    :\ Any ideas?
  • Vapochilled
    Junior Member
    • Nov 2013
    • 17

    #2
    Searched and searched.. but haven't found the root cause yet :\
    any ideas?

    Comment

    • tchjts1
      Senior Member
      • May 2008
      • 1605

      #3
      I have no issues opening mine with Super Admin rights.

      What group does your account belong to?

      Comment

      • Vapochilled
        Junior Member
        • Nov 2013
        • 17

        #4
        Im using Admin default user.

        after a scratch installation.... I went to queue.... with Admin / zabbix...

        Doesn't work. any log to check? Any ideas of what permissions could be missing?

        Comment

        • Vapochilled
          Junior Member
          • Nov 2013
          • 17

          #5
          I've enabled debug mode... but I still don't get


          Details
          ERROR: Cannot display item queue.

          Permission denied



          ******************** Script profiler ********************
          Total time: 0.015121
          Total SQL time: 0.027975
          SQL count: 20 (selects: 12 | executes: 8)
          Peak memory usage: 10M
          Memory limit: 128M



          1. user->checkAuthentication [class.cwebuser.php:79]

          Parameters:8c15f54c8a4810da94b96f60d4963c36
          Result:Array
          (
          [userid] => 4
          [alias] => vapochilled
          [name] => Vapochilled
          [surname] =>
          [url] =>
          [autologin] => 1
          [autologout] => 0
          [lang] => en_GB
          [refresh] => 90
          [type] => 3
          [theme] => default
          [attempt_failed] => 0
          [attempt_ip] =>
          [attempt_clock] => 0
          [rows_per_page] => 50
          [debug_mode] => 1
          [userip] => 10.152.164.171
          [node] => Array
          (
          [name] => - unknown -
          [nodeid] =>
          )

          [sessionid] => 8c15f54c8a4810da94b96f60d4963c36
          [gui_access] => 0
          )



          SQL (0.000425): SET NAMES utf8
          queue.php:22 → require_once() → ZBase->run() → ZBase->initDB() → DBconnect() → DBexecute() in /usr/share/zabbix/include/db.inc.php:61


          SQL (0.000282): SHOW TABLES LIKE 'dbversion'
          queue.php:22 → require_once() → ZBase->run() → ZBase->initDB() → DBconnect() → DbBackend->checkDbVersion() → MysqlDbBackend->checkDbVersionTable() → DBselect() in /usr/share/zabbix/include/classes/db/MysqlDbBackend.php:32


          SQL (0.000127): SELECT dv.mandatory,dv.optional FROM dbversion dv
          queue.php:22 → require_once() → ZBase->run() → ZBase->initDB() → DBconnect() → DbBackend->checkDbVersion() → DBselect() in /usr/share/zabbix/include/classes/db/DbBackend.php:46


          SQL (0.000115): SELECT n.* FROM nodes n WHERE n.nodetype=1 ORDER BY n.nodeid
          queue.php:22 → require_once() → ZBase->run() → ZBase->initNodes() → DBselect() in /usr/share/zabbix/include/classes/core/ZBase.php:313

          Comment

          • Vapochilled
            Junior Member
            • Nov 2013
            • 17

            #6
            I can also see this code..
            $queueData = $zabbixServer->getQueue($queueRequests[$config], get_cookie('zbx_sessionid')); 57 58 // check for errors error 59 if ($zabbixServer->getError()) { 60 error($zabbixServer->getError()); 61 show_error_message(_('Cannot display item queue.')); 62

            But I don't understand... whats wrong...

            this is a fresh installation

            Comment

            • Vapochilled
              Junior Member
              • Nov 2013
              • 17

              #7
              can anyone advise about this?

              I have no clue what to change... :| And I need to know how is my queue....

              Comment

              • Vapochilled
                Junior Member
                • Nov 2013
                • 17

                #8
                Well....

                I've done everything I can!
                Everything works besides this!
                I don't understand why!!

                I would be really appreciated if someone could help me....

                Comment

                • ctechvt
                  Junior Member
                  • Jan 2014
                  • 1

                  #9
                  I'm encountering the same issue on a fresh install. Everything else appears to work fine. Did you ever get this working properly?

                  Comment

                  • Vapochilled
                    Junior Member
                    • Nov 2013
                    • 17

                    #10
                    yup did it but since no one is helping here I will just send you the solution by PM. I wont past it here after hitting the head so much

                    Comment

                    • Vapochilled
                      Junior Member
                      • Nov 2013
                      • 17

                      #11
                      kidding:

                      just do: /usr/sbin/setsebool httpd_can_network_connect 1

                      Comment

                      • eriedl
                        Junior Member
                        • Jul 2013
                        • 6

                        #12
                        I have the same problem. However, SELinux is disabled on the server.

                        If the value of $ZBX_SERVER in /etc/zabbix/web/zabbix.conf.php is localhost or the localhost IP address, the error message says "Empty response received from Zabbix server "localhost"."

                        If I change the value of $ZBX_SERVER to its FQDN or its IP address, the error message changes to "Incorrect response received from Zabbix server "10.16.72.77"."

                        Any ideas?

                        Comment

                        • thomphi
                          Member
                          • Feb 2014
                          • 74

                          #13
                          Originally posted by eriedl
                          I have the same problem. However, SELinux is disabled on the server.

                          If the value of $ZBX_SERVER in /etc/zabbix/web/zabbix.conf.php is localhost or the localhost IP address, the error message says "Empty response received from Zabbix server "localhost"."

                          If I change the value of $ZBX_SERVER to its FQDN or its IP address, the error message changes to "Incorrect response received from Zabbix server "10.16.72.77"."

                          Any ideas?
                          I have the same problem. Do you have an issue now ?

                          Comment

                          • steveboyson
                            Senior Member
                            • Jul 2013
                            • 582

                            #14
                            Maybe nobody is helping because nobody knows the reason nor the circumstances why it fails on your installation?
                            Nice guy, you are.

                            Hint: if it would be a error or bug in the product itself, don't you think that a lot of people would be responding and offering help and that there would be a fixed version out soon? Which leads to the assumption that the error must lie on you side.

                            People like you which even do not bother to tell the used version of zabbix while asking for help are quite unbelievable.

                            Nota bene: search for "selinux" here and you will find a lot of posts regarding proper selinux configuration. You - being a server admin - should be able to know that selinux might be a permissive tool which interferes in network connections.
                            Last edited by steveboyson; 28-02-2014, 00:03. Reason: selinux

                            Comment

                            • steveboyson
                              Senior Member
                              • Jul 2013
                              • 582

                              #15
                              Originally posted by thomphi
                              I have the same problem. Do you have an issue now ?
                              How and what did you install? Which release? Which distribution?
                              /etc/zabbix/web/zabbix.conf.php does not look like a standard zabbix install.

                              Comment

                              Working...