The gunicorn error caused by insufficient session folder permissions in PHP was rolled over before all other websites on the server went down. Several of the websites reported the following errors:
Warning: Unknown: open (/var/lib/php/session/Unknown, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning: Unknown: failed to write session data (files ). please verify that the current setting of session. save_path is correct (/var/lib/php/session) in Unknown on line 0
I did not remember the phpMyAdmin error. I just searched it and translated it as "the session cannot be created when an error occurs. Please check the PHP or website server log and correctly configure PHP installation ."
After carefully reading the report, the first long string of errors is divided into two sections, one for access failure and the other for session writing failure. Phpmyadmin error is also caused by session creation failure. So I found php. ini and wrote it well:
Session. save_path =/var/lib/php/session
This folder does exist, so it should be a permission issue. Therefore
Chmod-R 777/var/lib/php/session
Solve the problem.