Details

    • Type: Incident report Incident report
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Won't Fix
    • Affects Version/s: 2.4.2
    • Fix Version/s: None
    • Component/s: Frontend (F)
    • Labels:
    • Environment:
      Zabbix installed from packages.

      Description

      When Next is clicked on the pre-requisites page, it returns back to the initial greeting page and does not go on to "Configure DB connection" page. Prereqs are all green. How to reproduce:
      1) set "Group zabbix" instead "Group apache" in httpd.conf
      2) restart apache
      3) open frontend configuration wizard
      4) try to finish frontend configuration by clicking next -> next -> next.

        Activity

        Oleg Ivanivskyi created issue -
        Oleg Ivanivskyi made changes -
        Field Original Value New Value
        Link This issue is duplicated by TCO-28 [ TCO-28 ]
        Alexander Vladishev made changes -
        Zabbix ID NA
        Hide
        Alexander Vladishev added a comment -

        Not reproducible on latest 2.2.

        Show
        Alexander Vladishev added a comment - Not reproducible on latest 2.2.
        Alexander Vladishev made changes -
        Fix Version/s 2.4.3rc1 [ 12701 ]
        Fix Version/s 2.5.0 (trunk) [ 12500 ]
        Alexander Vladishev made changes -
        Status Open [ 1 ] READY TO DEVELOP [ 10006 ]
        Alexander Vladishev made changes -
        Priority Minor [ 4 ] Blocker [ 1 ]
        Krists Krigers (Inactive) made changes -
        Assignee Krists Krigers [ kristsk ]
        Krists Krigers (Inactive) made changes -
        Status READY TO DEVELOP [ 10006 ] In Progress [ 3 ]
        Hide
        Oleg Ivanivskyi added a comment -

        The permissions were the reason (example for CentOS):

        ls -l /var/lib/php
        drwxrwx--- 2 root apache 4096 Nov 24 15:20 session

        If I need to change the user group, I must correct permissions to the session folder also.
        I believe, it's a good idea to add this note to the documentation.

        Show
        Oleg Ivanivskyi added a comment - The permissions were the reason (example for CentOS): ls -l /var/lib/php drwxrwx--- 2 root apache 4096 Nov 24 15:20 session If I need to change the user group, I must correct permissions to the session folder also. I believe, it's a good idea to add this note to the documentation.
        Hide
        Krists Krigers (Inactive) added a comment -

        The issue was caused by Apache not being able to read session file due to change of user group it is running under while setup.php was being used.

        Problem did not exist in 2.2 as then intermediate data was stored in a cookie (yes, indeed), and not in session storage (which is files by default).

        It might be a a good idea to add some message explaining this behavior in documentation - e.g. if user or group used by Apache web-server is changed, permissions to session files should be verified to be accessible.

        Show
        Krists Krigers (Inactive) added a comment - The issue was caused by Apache not being able to read session file due to change of user group it is running under while setup.php was being used. Problem did not exist in 2.2 as then intermediate data was stored in a cookie (yes, indeed), and not in session storage (which is files by default). It might be a a good idea to add some message explaining this behavior in documentation - e.g. if user or group used by Apache web-server is changed, permissions to session files should be verified to be accessible.
        Krists Krigers (Inactive) made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Krists Krigers (Inactive) made changes -
        Assignee Krists Krigers [ kristsk ] Martins Valkovskis [ martins-v ]
        Krists Krigers (Inactive) made changes -
        Status Resolved [ 5 ] IN TESTING [ 10007 ]
        Assignee Martins Valkovskis [ martins-v ] Krists Krigers [ kristsk ]
        Krists Krigers (Inactive) made changes -
        Status IN TESTING [ 10007 ] Tested [ 10002 ]
        Krists Krigers (Inactive) made changes -
        Status Tested [ 10002 ] READY TO DEVELOP [ 10006 ]
        Krists Krigers (Inactive) made changes -
        Status READY TO DEVELOP [ 10006 ] Needs documenting [ 10004 ]
        Assignee Krists Krigers [ kristsk ] Martins Valkovskis [ martins-v ]
        Martins Valkovskis made changes -
        Status Needs documenting [ 10004 ] IN DOCUMENTING [ 10008 ]
        Show
        Martins Valkovskis added a comment - - edited (1) Documented in a note: https://www.zabbix.com/documentation/2.4/manual/installation/install#step_2 https://www.zabbix.com/documentation/3.0/manual/installation/install#step_2 RESOLVED. Please review. Krists Krigers Loooks good. CLOSED.
        Martins Valkovskis made changes -
        Status IN DOCUMENTING [ 10008 ] Documented [ 10005 ]
        Martins Valkovskis made changes -
        Assignee Martins Valkovskis [ martins-v ] Krists Krigers [ kristsk ]
        Krists Krigers (Inactive) made changes -
        Assignee Krists Krigers [ kristsk ]
        Status Documented [ 10005 ] Done [ 10003 ]
        Alexander Vladishev made changes -
        Status Done [ 10003 ] Closed [ 6 ]
        Fix Version/s 2.5.0 (trunk) [ 12500 ]
        Fix Version/s 2.4.3rc1 [ 12701 ]
        Resolution Won't Fix [ 2 ]
        Hide
        Nuno Rodrigues added a comment -

        Apparently this same issue can have a different cause. I'm using Ubuntu 14.04.01 LTS (server). After trying every "tricks" I could remember, without success, I decided to start tweaking php.ini session parameters one by one.

        I found that when you have changed "session.name = PHPSESSID" to "session.name = SOMETHINGELSE" you will have this same problem.

        Show
        Nuno Rodrigues added a comment - Apparently this same issue can have a different cause. I'm using Ubuntu 14.04.01 LTS (server). After trying every "tricks" I could remember, without success, I decided to start tweaking php.ini session parameters one by one. I found that when you have changed "session.name = PHPSESSID" to "session.name = SOMETHINGELSE" you will have this same problem.
        Hide
        richlv added a comment -

        for the record, i could not reproduce the problem with session.name in php 5.5.8

        Show
        richlv added a comment - for the record, i could not reproduce the problem with session.name in php 5.5.8
        Alexander Vladishev made changes -
        Workflow Zabbix workflow - new [ 49242 ] Copy of Zabbix workflow - new [ 69235 ]
        Alexander Vladishev made changes -
        Workflow Copy of Zabbix workflow - new [ 69235 ] Zabbix workflow - new [ 84457 ]
        Gatis Rumbens made changes -
        Issue Type Bug [ 1 ] Incident report [ 10110 ]
        Hide
        richlv added a comment -

        for the record, ZBX-7422 asks to check/warn about session issues

        Show
        richlv added a comment - for the record, ZBX-7422 asks to check/warn about session issues
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open READY TO DEVELOP READY TO DEVELOP
        7h 33m 1 Alexander Vladishev 2014 Nov 21 03:07
        READY TO DEVELOP READY TO DEVELOP In Progress In Progress
        1d 12h 27m 1 Krists Krigers (Inactive) 2014 Nov 22 15:34
        In Progress In Progress Resolved Resolved
        2d 2h 18m 1 Krists Krigers (Inactive) 2014 Nov 24 17:53
        Resolved Resolved IN (AUTO) TESTING IN (AUTO) TESTING
        15s 1 Krists Krigers (Inactive) 2014 Nov 24 17:53
        IN (AUTO) TESTING IN (AUTO) TESTING Merging Merging
        4s 1 Krists Krigers (Inactive) 2014 Nov 24 17:53
        Merging Merging READY TO DEVELOP READY TO DEVELOP
        1m 16s 1 Krists Krigers (Inactive) 2014 Nov 24 17:55
        READY TO DEVELOP READY TO DEVELOP Needs documenting Needs documenting
        10s 1 Krists Krigers (Inactive) 2014 Nov 24 17:55
        Needs documenting Needs documenting IN DOCUMENTING IN DOCUMENTING
        3d 16h 55m 1 Martins Valkovskis 2014 Nov 28 10:51
        IN DOCUMENTING IN DOCUMENTING Doc. sign-off Doc. sign-off
        1m 40s 1 Martins Valkovskis 2014 Nov 28 10:52
        Doc. sign-off Doc. sign-off Done Done
        3d 1h 47m 1 Krists Krigers (Inactive) 2014 Dec 01 12:40
        Done Done Closed Closed
        4h 36m 1 Alexander Vladishev 2014 Dec 01 17:16

          People

          • Assignee:
            Unassigned
            Reporter:
            Oleg Ivanivskyi
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: