Article ID: 118704, created on Nov 18, 2013, last review on May 7, 2014

  • Applies to:
  • Operations Automation 5.5

Symptoms

A customer cannot login to phpMyAdmin from the POA Customer Control Panel. The login page, the one with user name and password, keeps reloading after entering proper credentials.

Cause

The possible reason is incorrect permissions for the PHP sessions folder defined in the /etc/php.ini configuration file, the parameter is session.save_path.

Resolution

Check the Apache log file /var/log/httpd_error_log.ssl on the server where the phpMyAdmin application is running, it should contain permissions error like below:

[Wed Oct 30 09:39:13 2013] [error] [client 89.253.252.8] PHP Warning:  session_start(): open(/var/lib/php/session/sess_0p50pbnvoo8ebp11iqjuihjg4g16uhu7, O_RDWR) failed: Permission denied (13) in /usr/local/pem/sysvhosts/phpMyAdmin/libraries/session.inc.php on line 87
[Wed Oct 30 09:39:13 2013] [error] [client 89.253.252.8] PHP Warning:  Unknown: open(/var/lib/php/session/sess_0p50pbnvoo8ebp11iqjuihjg4g16uhu7, O_RDWR) failed: Permission denied (13) in Unknown on line 0
[Wed Oct 30 09:39:13 2013] [error] [client 89.253.252.8] PHP Warning:  Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session)

Check the permissions set on the folder defined in the <session.save_path> parameter in the php.ini file, it is the /var/lib/php/session in the example above:

# stat /var/lib/php/session/ | grep Access
Access: (0770/drwxrwx---)  Uid: (    0/    root)   Gid: (10002/  pemsrv)

Make sure that the PHP sessions folder is accessible by the apache user, set the necessary permissions on the folder.

Search Words

Failed to write session data

Permission denied (13)

cannot login

phpmyadmin

5b048d9bddf8048a00aba7e0bdadef37 caea8340e2d186a540518d08602aa065 5356b422f65bdad1c3e9edca5d74a1ae 2554725ed606193dd9bbce21365bed4e e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF