openlitespeed icon indicating copy to clipboard operation
openlitespeed copied to clipboard

OpenLiteSpeed 1.8.2 ocspcache permission denied

Open mrwindowsx opened this issue 1 year ago • 4 comments

After reboot, I got this ERROR when successfully updating to OLS 1.8.2 on Almalinux 9 machine: ERROR [2401] HttpFetch[1]::failed to create file /dev/shm/ols//ocspcache/Rf02866171c5d94bb6228d4c865048f2d.tmp: Permission denied. The default permission of ocspcache folder is set to nobody:nobody. What is the correct permission? I also see double // in the errorlog URL ocspcache.

mrwindowsx avatar Sep 14 '24 08:09 mrwindowsx

The permission problem is with /dev/shm/ols/. Please run lsup.sh again, it should have been fixed.

litespeedtech avatar Sep 14 '24 13:09 litespeedtech

The permission problem is with /dev/shm/ols/. Please run lsup.sh again, it should have been fixed.

unfortunately, still unresolved for me

2024-09-18 17:42:02.080106 | ERROR | [1705481] Failed to open the real time report: /dev/shm/ols/status/.rtreport! -- | -- | -- 2024-09-18 17:42:02.024352 | ERROR | [1705484] Failed to open the real time report: /dev/shm/ols/status/.rtreport.4! 2024-09-18 17:42:02.024352 | ERROR | [1705483] Failed to open the real time report: /dev/shm/ols/status/.rtreport.3! 2024-09-18 17:42:02.024477 | ERROR | [1705482] Failed to open the real time report: /dev/shm/ols/status/.rtreport.2! 2024-09-18 17:42:01.088000 | ERROR | [1705481] Failed to open the real time report: /dev/shm/ols/status/.rtreport! 2024-09-18 17:42:01.022090 | ERROR | [1705483] Failed to open the real time report: /dev/shm/ols/status/.rtreport.3! 2024-09-18 17:42:01.022090 | ERROR | [1705484] Failed to open the real time report: /dev/shm/ols/status/.rtreport.4! 2024-09-18 17:42:01.022163 | ERROR | [1705482] Failed to open the real time report: /dev/shm/ols/status/.rtreport.2! 2024-09-18 17:42:00.085757 | ERROR | [1705481] Failed to open the real time report: /dev/shm/ols/status/.rtreport! 2024-09-18 17:42:00.020008 | ERROR | [1705482] Failed to open the real time report: /dev/shm/ols/status/.rtreport.2!

nirkons avatar Sep 18 '24 17:09 nirkons

The permission problem is with /dev/shm/ols/. Please run lsup.sh again, it should have been fixed.

unfortunately, still unresolved for me

2024-09-18 17:42:02.080106 | ERROR | [1705481] Failed to open the real time report: /dev/shm/ols/status/.rtreport! -- | -- | -- 2024-09-18 17:42:02.024352 | ERROR | [1705484] Failed to open the real time report: /dev/shm/ols/status/.rtreport.4! 2024-09-18 17:42:02.024352 | ERROR | [1705483] Failed to open the real time report: /dev/shm/ols/status/.rtreport.3! 2024-09-18 17:42:02.024477 | ERROR | [1705482] Failed to open the real time report: /dev/shm/ols/status/.rtreport.2! 2024-09-18 17:42:01.088000 | ERROR | [1705481] Failed to open the real time report: /dev/shm/ols/status/.rtreport! 2024-09-18 17:42:01.022090 | ERROR | [1705483] Failed to open the real time report: /dev/shm/ols/status/.rtreport.3! 2024-09-18 17:42:01.022090 | ERROR | [1705484] Failed to open the real time report: /dev/shm/ols/status/.rtreport.4! 2024-09-18 17:42:01.022163 | ERROR | [1705482] Failed to open the real time report: /dev/shm/ols/status/.rtreport.2! 2024-09-18 17:42:00.085757 | ERROR | [1705481] Failed to open the real time report: /dev/shm/ols/status/.rtreport! 2024-09-18 17:42:00.020008 | ERROR | [1705482] Failed to open the real time report: /dev/shm/ols/status/.rtreport.2!

I also had this problem before, but it was solved when I rebooted my machine, you can try it.

mrwindowsx avatar Sep 18 '24 17:09 mrwindowsx

The permission problem is with /dev/shm/ols/. Please run lsup.sh again, it should have been fixed.

unfortunately, still unresolved for me 2024-09-18 17:42:02.080106 | ERROR | [1705481] Failed to open the real time report: /dev/shm/ols/status/.rtreport! -- | -- | -- 2024-09-18 17:42:02.024352 | ERROR | [1705484] Failed to open the real time report: /dev/shm/ols/status/.rtreport.4! 2024-09-18 17:42:02.024352 | ERROR | [1705483] Failed to open the real time report: /dev/shm/ols/status/.rtreport.3! 2024-09-18 17:42:02.024477 | ERROR | [1705482] Failed to open the real time report: /dev/shm/ols/status/.rtreport.2! 2024-09-18 17:42:01.088000 | ERROR | [1705481] Failed to open the real time report: /dev/shm/ols/status/.rtreport! 2024-09-18 17:42:01.022090 | ERROR | [1705483] Failed to open the real time report: /dev/shm/ols/status/.rtreport.3! 2024-09-18 17:42:01.022090 | ERROR | [1705484] Failed to open the real time report: /dev/shm/ols/status/.rtreport.4! 2024-09-18 17:42:01.022163 | ERROR | [1705482] Failed to open the real time report: /dev/shm/ols/status/.rtreport.2! 2024-09-18 17:42:00.085757 | ERROR | [1705481] Failed to open the real time report: /dev/shm/ols/status/.rtreport! 2024-09-18 17:42:00.020008 | ERROR | [1705482] Failed to open the real time report: /dev/shm/ols/status/.rtreport.2!

I also had this problem before, but it was solved when I rebooted my machine, you can try it.

I just tried it but same result unfortunately (reverting to 1.8.1 works fine), thanks for the suggestion

nirkons avatar Sep 18 '24 18:09 nirkons