Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenLiteSpeed 1.8.2 ocspcache permission denied #421

Open
mrwindowsx opened this issue Sep 14, 2024 · 4 comments
Open

OpenLiteSpeed 1.8.2 ocspcache permission denied #421

mrwindowsx opened this issue Sep 14, 2024 · 4 comments

Comments

@mrwindowsx
Copy link

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.

@litespeedtech
Copy link
Owner

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

@nirkons
Copy link

nirkons commented Sep 18, 2024

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!

@mrwindowsx
Copy link
Author

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.

@nirkons
Copy link

nirkons commented Sep 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants