Ad Widget

Collapse

1.4.1 Unable to access Maps after Upgrade from 1.1.6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kyi
    Member
    • Jun 2005
    • 64

    #1

    1.4.1 Unable to access Maps after Upgrade from 1.1.6

    hi,

    i perfom an upgrade of zabbix vom 1.1.6 to 1.4.1 on my development system.
    everything looks ok, but i have only 2 maps of 53 accessible.

    if i want to access one of the other 51 maps i get: [ERROR: No permissions !]

    but where i can set permissions for maps?
    Last edited by kyi; 04-07-2007, 17:01.
  • bbrendon
    Senior Member
    • Sep 2005
    • 870

    #2
    This seems to be a common problem. Search the forums. I don't use maps, so I can't help ya.
    Unofficial Zabbix Expert
    Blog, Corporate Site

    Comment

    • kyi
      Member
      • Jun 2005
      • 64

      #3
      *hmpf* does anybody know a procedure too reset any permissions?

      Comment

      • kyi
        Member
        • Jun 2005
        • 64

        #4
        Anything new releated to the permission problem?

        Comment

        • Aly
          ZABBIX developer
          • May 2007
          • 1126

          #5
          Try setting in DB in table users to user Admin to column Type, value 3.
          Zabbix | ex GUI developer

          Comment

          • kyi
            Member
            • Jun 2005
            • 64

            #6
            my admin has type 3.
            i change another user to type 3 but nothing happens ... only 2 of 53 maps are availible.

            Comment

            • startx
              Junior Member
              • Jul 2007
              • 8

              #7
              Exactly the same problem.
              I searched on forum, checked admin permission, tried to change some line in php without success.

              I've only 3 graphs in screens section.
              Any idea ??


              Thanks for your work and Zabbix tool

              Comment

              • Eugene
                Member
                • Feb 2006
                • 57

                #8
                Please check "User type" and read "5.16.2. User types" chapter of ZABBIX 1.4 manual.

                Also you can try patch "no_def.patch" with "itsrv_no_def.patch" for v1.4.
                If message "No permissions" changed to the "No *** defined", please resave elements (maps, screens) in configuration menu.
                Attached Files
                Last edited by Eugene; 03-08-2007, 13:47.

                Comment

                • kyi
                  Member
                  • Jun 2005
                  • 64

                  #9
                  thxs, i try it tomorrow.

                  Comment

                  • robertsonstudios
                    Junior Member
                    • Jul 2007
                    • 10

                    #10
                    My install of 1.4.1 is a new install. I would get this when I try to view a screen that has a graph which I have updated something on the graph.

                    I simply go back to edit the screen, then choose the graph I want again and save it, voila, all is well.

                    Kind of annoying as I have some screens with 60 and 80 graphs...

                    Comment

                    • kyi
                      Member
                      • Jun 2005
                      • 64

                      #11
                      ok, after using the patch 'no_def.patch' i can access all my maps. thxs

                      Comment

                      • startx
                        Junior Member
                        • Jul 2007
                        • 8

                        #12
                        Hello,

                        I tried to patch zabbix without sucess.
                        Maybe I did somenthing wrong.

                        Thanks for your help.

                        patch < itsrv_no_def.patch
                        patching file srv_status.php
                        Hunk #1 FAILED at 40.
                        1 out of 1 hunk FAILED -- saving rejects to file srv_status.php.rej
                        toto:/usr/share/zabbix#

                        toto:/usr/share/zabbix# cat srv_status.php.rej
                        ***************
                        *** 40,46 ****
                        check_fields($fields);
                        ?>
                        <?php
                        - if(! (DBfetch(DBselect('select serviceid from services where serviceid='.$_REQUEST["serviceid"]))) )
                        {
                        unset($_REQUEST["serviceid"]);
                        }
                        --- 40,46 ----
                        check_fields($fields);
                        ?>
                        <?php
                        + if( isset($_REQUEST["serviceid"]) && $_REQUEST["serviceid"] > 0 && ! (DBfetch(DBselect('select serviceid from services where serviceid='.$_REQUEST["serviceid"]))) )
                        {
                        unset($_REQUEST["serviceid"]);
                        }

                        Comment

                        • Alexei
                          Founder, CEO
                          Zabbix Certified Trainer
                          Zabbix Certified SpecialistZabbix Certified Professional
                          • Sep 2004
                          • 5654

                          #13
                          You may download and try pre-1.4.2. Upgrade frontend only if concerned about pre-release software.
                          Alexei Vladishev
                          Creator of Zabbix, Product manager
                          New York | Tokyo | Riga
                          My Twitter

                          Comment

                          • startx
                            Junior Member
                            • Jul 2007
                            • 8

                            #14
                            Thanks it's OK now.

                            Comment

                            Working...