I was trying to use the log viewer in OLS webadmin and could not see any log entries.
I looked at /usr/local/lsws/logs/error.log and I am seeing this:
HTTP2-309#_AdminVHost] [STDERR] PHP Warning: fopen(/usr/local/lsws/logs/error.log): failed to open stream: Permission denied in /usr/local/lsws/admin/html.open/lib/LogViewer.php on line 185
The file permissions are as follows:
-rw-r--r-- 1 nobody nogroup 8844765 May 22 10:50 error.log
The directory somehow has the following permissions:
drwxr-x--- 2 root root 16384 May 22 10:54 /usr/local/lsws/logs/
Did something wrong happen when I updated to 1.7.16?
I looked at /usr/local/lsws/logs/error.log and I am seeing this:
HTTP2-309#_AdminVHost] [STDERR] PHP Warning: fopen(/usr/local/lsws/logs/error.log): failed to open stream: Permission denied in /usr/local/lsws/admin/html.open/lib/LogViewer.php on line 185
The file permissions are as follows:
-rw-r--r-- 1 nobody nogroup 8844765 May 22 10:50 error.log
The directory somehow has the following permissions:
drwxr-x--- 2 root root 16384 May 22 10:54 /usr/local/lsws/logs/
Did something wrong happen when I updated to 1.7.16?