I got this error this morning while trying to open phpMyAdmin.
Up to now, everything was fine!
Quote:
Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.
session_start(): open(SESSION_FILE, O_RDWR) failed: Read-only file system (30)
session_start(): Failed to read session data: files (path: /var/lib/php/sessions)
|
These are the permissions on the server. Checking on the internet, these permissions seem OK
Quote:
pedro@ebs-105422:/var/lib/php$ ls -al
total 196
drwxr-xr-x 4 root root 4096 Oct 7 2021 .
drwxr-xr-x 50 root root 4096 Mar 21 06:14 ..
drwxr-xr-x 3 root root 4096 Oct 7 2021 modules
drwx-wx-wt 2 root root 184320 Aug 28 19:09 sessions
|
Any tips please?
I get this with stat:
Quote:
pedro@ebs-105422:/var/lib/php/sessions$ sudo stat -c "%a" /var/lib/php/sessions
1733
|
Which is what it should be, I believe.
Tried changing to 1777 but doesn't work.
Quote:
pedro@ebs-105422:/var/lib/php/sessions$ sudo chmod 1777 /var/lib/php/sessions
chmod: changing permissions of '/var/lib/php/sessions': Read-only file system
pedro@ebs-105422:/var/lib/php/sessions$ sudo stat -c "%a" /var/lib/php/sessions
1733
|
Normally, I upload stuff with Filezilla. Now I can't create a directory on the server. Always worked before.
Quote:
Command: mkdir "21BE1cw"
Error: mkdir /var/www/fastmarker.wang/public_html/21BE1cw: received failure with description 'Failure'
Command: mkdir "/var/www/fastmarker.wang/public_html/21BE1cw"
Error: mkdir /var/www/fastmarker.wang/public_html/21BE1cw: received failure with description 'Failure'
|