PHP Session cannot write ...

Support/Development for PHP
lvalics
Forum User
Forum User
Posts: 38
Joined: Thu Feb 22, 2007 3:49 pm
Location: Romania
Contact:

PHP Session cannot write ...

Unread post by lvalics »

It was happened yesterday that session cannot be written, so no login on all sites was possible.
After a lot of research was discovered that was mod_security (actually I am not 100% sure) we disabled mod_security work, we enabled it, not work.
LOGS not tell too much, anyone have a hint where to look?
Best regards,
Valics Lehel

Power Toys for PLESK
HOW TO: Setup a new box with PLESK
PLESK Crash Recovery Service
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: PHP Session cannot write ...

Unread post by mikeshinn »

Check your error_log files and also check to see if you have a php log file - these files will normally have the information you need. If you don't know where they are you can usually find them in your vhosts statistics/logs directories. This sounds like a simple permissions problem where you lack the permissions to write to your PHP sessions directories/directory.
lvalics
Forum User
Forum User
Posts: 38
Joined: Thu Feb 22, 2007 3:49 pm
Location: Romania
Contact:

Re: PHP Session cannot write ...

Unread post by lvalics »

Hehe, no is not a simple persmission issue, something was updated (mod_sec or ossec) and after that on an apache restart happened this globally on the whole server, not ONLY for one domain. So in one moment worked and over the night not worked (I suspect again an update of mo_sec or ossec)
I suspect to be some problem in mod_sec, nothing is in error_log or any log (even we activated mod_sec debug level 9)
If you like, we can enable access to server ... is running ASL on it.
You will enable mod_sec and you can see the result.
Best regards,
Valics Lehel

Power Toys for PLESK
HOW TO: Setup a new box with PLESK
PLESK Crash Recovery Service
User avatar
mikeshinn
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 4155
Joined: Thu Feb 07, 2008 7:49 pm
Location: Chantilly, VA

Re: PHP Session cannot write ...

Unread post by mikeshinn »

When you say no sessions can be written, what do you mean? You said there was nothing in your logs, and if thats the case its not modsecurity and I don't understand what the error is.

Can you provide some more information about the error(s) you are experiencing?
Post Reply