The main server logs in /usr/local/lsws/logs don't reveal anything at the time all those [Module:Cache]checkAssignHandler errors come up.
The actual web server functions well, despite the cache error message.
Now that OpenLiteSpeed 1.6.9 is marked as "stable", I might upgrade from 1.5.11 to...
There are no errors apart from this in the virtual host error log.
I also have deleted /tmp/lshttpd, where the "swap" directory was, and restarted the server, in case there was some file permission problem, but that hasn't stopped the error messages coming through.
I am running OpenLiteSpeed 1.5.11 under Ubuntu Linux and the error log for each virtual host keeps getting flooded up with errors like so:
2020-02-07 23:19:22.530572 [ERROR] [220.127.116.11:38358:HTTP2-31#www.XXXX] [Module:Cache]checkAssignHandler error 2.
XXXX = virtual host name.
I recently updated from 1.4.x to 1.5.x of OpenLiteSpeed and note that server side includes (SSI) are now functional.
However, it only seems to work properly for static files.
If I create a file with a .shtml extension and include a line like this:
<!--#include virtual="file.txt" -->...
Congratulations to OpenLiteSpeed on the landmark 1.5.0 release.
Does this new release now support server-side includes?
I raised the issue of serve-side includes back in this thread: https://forum.openlitespeed.org/threads/enabling-ssi-server-side-includes.2115/
In the "stderr.log" file, I'm getting a number of errors like this:
Failed to open temp file for swapping: Permission denied
I assume the swap area is /tmp/lshttpd/swap, whose permissions look like so:
drwx------ 21 nobody nogroup 4096 Jun 23 19:24 /tmp/lshttpd/swap
Files and directories are...
Does OpenLiteSpeed want to do some automatic update or something?
My error.log file has a number of these entries:
2017-08-28 02:57:00.103 [ERROR] HttpFetch::failed to create file /usr/local/lsws//autoupdate/release: Permission denied.
I understand why there is a permission denied...
For some reason when I first installed OpenLiteSpeed, it had set the permissions on the "conf" directory to:
drwxr-xr-x 5 lsadm lsadm 4096 Jun 1 08:53 /usr/local/lsws/conf/
However, for each directory under /usr/local/lsws/conf/vhosts, it set it like so:
drwx------ 2 lsadm lsadm 4096 Jun 1...
Sorry, just a follow-up.
Why has "make install" changed these file permissions in /usr/local/lsws/conf/cert from:
-rw------- 1 root root 4795 Feb 9 23:23 ca.crt
-rw------- 1 root root 2122 Feb 11 23:50 server.crt
-rw------- 1 root root 1679 Feb 9 10:23 server.key
Thanks for your help and advice.
I did an experiment in a test area to see what files in /usr/local/lsws were changed between a "make install" when upgrading from version 1.4.23 to 1.4.26.
The files that did change were located in these directories:
I am currently running 1.4.23.
If I'm compiling OpenLiteSpeed from the source package, can I just copy the openlitespeed binary into its required place and re-start the server?
Or do I really need to move /usr/local/lsws aside and let "make install" do its job and then I manually reconfigure...
That's okay, thanks for the update.
We are currently using a workaround - the client-side jQuery load() function. The end user won't notice the difference, however some search engines don't attempt to index the loaded part, so the SSI support will be helpful with that by presenting what...