[ZBX-9063] setup.php is looping Created: 2014 Nov 20  Updated: 2017 Jul 01  Resolved: 2014 Dec 01

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.4.2
Fix Version/s: None

Type: Incident report Priority: Blocker
Reporter: Oleg Ivanivskyi Assignee: Unassigned
Resolution: Won't fix Votes: 0
Labels: setup
Environment:

Zabbix installed from packages.


Attachments: PNG File zabbix update prereq.PNG    
Issue Links:
Duplicate

 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.



 Comments   
Comment by Alexander Vladishev [ 2014 Nov 21 ]

Not reproducible on latest 2.2.

Comment by Oleg Ivanivskyi [ 2014 Nov 24 ]

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.

Comment by Krists Krigers (Inactive) [ 2014 Nov 24 ]

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.

Comment by Martins Valkovskis [ 2014 Nov 28 ]

(1) Documented in a note:

RESOLVED. Please review.

Krists Krigers Loooks good. CLOSED.

Comment by Nuno Rodrigues [ 2015 Feb 22 ]

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.

Comment by richlv [ 2015 Mar 24 ]

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

Comment by richlv [ 2017 Jul 01 ]

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

Generated at Tue Oct 16 14:57:36 EEST 2018 using JIRA 7.3.9#73021-sha1:26adfd3d76803e1a04219c5cd05b58dbafff0dbf.