Thanks so much, that stopped all the anoying error messages in the log files.
Given that the module is disabled, I left the module parameters section blank, but the module updated /usr/local/lsws/modules/cache.def with its default parameters anyway.
With regards to the cache module, some further questions and observations.
Is there supposed to be a "X-LiteSpeed-Cache" header in the server response?
My response headers look like this and is missing that header:
accept-ranges: bytes
alt-svc: quic=":443"; ma=2592000; v="43…000...
I'm currently running 1.6.10 and the "checkAssignHandler error 2" thing is still appearing in the error log files.
Maybe no one is checking their log files for errors?
It uses a lot of disk space. My virtual host's "access_log" file for June so far is 1,563,745 lines and "error_log" is at...
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] [167.179.136.91:38358:HTTP2-31#www.XXXX] [Module:Cache]checkAssignHandler error 2.
XXXX = virtual host name.
This also...
Hi,
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" -->...
Hi,
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...
Hi,
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[177]::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
to:
-rwxr-xr-x 1...
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:
add-ons/snmp_monitoring/
admin/conf/ (only...