![]() |
|
Thread Tools |
#1
|
|||
|
|||
Error 500 could not obtain file lock in class_datastore.php - File cache is active
Hello,
please what would You try if you see random 500 Internal Server Error
admincp/index.php?do=home admincp/index.php?do=nav admincp/index.php?do=head and the error log showing: could not obtain file lock in class_datastore.php at line highlighted below
includes/config.php has commented out all lines in sections:
includes/datastore/datastore_cache.php is 644 (tried to chmod it 777 without luck) and parent folder 755. i have not checked immutable bit yet. On other site admincp shows: Fatal error: Could not obtain file lock in [path]/includes/class_datastore.php , but this error seems to be random! appears, then ok a few refreshes. when i comment out that line "$config['Datastore']['class']" by prefixing it //, then the admincp start loading faster and without error 500. So how to still cache? http://dev.vbulletin.com/docs/html/main/datastore datastore folder, file permissions are 755, 644 Thank You in advance for help
__________________
Hosting for vBulletin Forum from $0.5 monthly No members have liked this post.
Last edited by postcd; 12 Feb 2022 at 11:19. |
#2
|
|||
|
|||
If you do not have sufficient permission to chmod files in your account, then i would speak to the host.
Ive never used file cache myself, simply comment it out file cache & use another method thats installed like memcached or dont use one.
__________________
1. Adjust File Upload Limits 2. Implementing CSRF Protection in modifications 3. Adjust PhP Variables for Memory Allocated Errors 4. open_basedir issues, try this. No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 13:55.