Internal error - failed to open session lockfile

sOliver

Active Member
Oct 25, 2010
33
0
56
Receing this error when trying to log into WHM:

<p class="errormessage">500<pre>failed to open session lockfile: FILE=/var/cpanel/sessions/raw/:47PKJBjdvC_jYHqYV0dz6NHQ_86BVovqh7Axqu8fsdSsasDuG6WBkbO_UXRUjggH.lock, No such file or directory at /usr/local/cpanel/Cpanel/Session.pm line 238.
</pre></p>
Also, it appears the entire system lost some permissions, as mod_security fails to write log files and I can no longer upload files.

Very strange issue

Any ideas where to start?


EDIT: Definitely looks like a permission issue. The entire server seems to have lost permission to write file - how can this happen? Failing disk?
 
Last edited:

sOliver

Active Member
Oct 25, 2010
33
0
56
Ok just to debug this I checked /cat/passwd

apache user is missing - how criticial is it? Apache still runs as nobody so it seems to be working, but the apache user is missing

On another WHM server I found apache:
apache:x:48:48:Apache:/var/www:/sbin/nologin
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,215
363
Hello :)

Could you elaborate more on what you mean by the server has lost permissions? For instance, can you create new files/directories or is the system in read-only mode?

Thank you.