phpmyadmin session erros - but for some users only
Hi folks,
There are several threads discussing this here, but I could not find a suitable solution to my case.
phpmyadmin runs well on my server, but some users can't start it. Phpmyadmin shows the well-known "Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser." message.
I don't think this have something to do with the sessions folder this time, since all other users and root can start it without issues.
I checked permissions and the existence of "/var/cpanel/userhomes/cpanelphpmyadmin/sessions" folder, all are ok. Sessions are created when the sucessfull users run phpmyadmin as expected.
I tried all tricks I could without success, so I opened the ticket #7396427 to track this.
Any ideas?
-
Another detail: new accouts have no issue, so there were some misconfiguration on these users. 0 -
Hi people, The quick response from cPanel support solved it for me. phpmyadmin (and other per-user services) creates your session file on the USER's tmp folder. For instance, for /home/luzemario, session files are created on /home/luzemario/tmp. If for whatever reason the user does not have access permissions to this folder, phpmyadmin cannot create it's sessions file, then it shows the error. Thanks to the cPanel Technical Analyst Chris Icenhour, for explaining it to me. 0 -
The tech analyst found the message below: 28605 open("/home/user/tmp/sess_2lfrj5b0bs6i9igt17ekqv5jddq0t6dp", O_RDWR|O_CREAT|O_NOFOLLOW, 0600) = -1 EACCES (Permission denied) Someone can tell me where this is logged? phpmyadmin has a log? 0 -
ok, this is in the /usr/local/cpanel/logs/access_log file. 0 -
Hello :) I am happy to see the issue was addressed. Thank you for updating us with the outcome. 0
Please sign in to leave a comment.
Comments
5 comments