After fixing mod_security issue as mentioned here with excellent help of @usmannasir, and @shoaibkk, my disk space started to increase and reached 100% from 54% just within 8-9 hours.
After reading few threads, I’ve deleted logs files by running the following command to clear some unwanted space:
rm -rf /usr/local/lsws/logs/*
This helped me to gain some more disk space which is what I wanted, but now, I am unable to start OpenLiteSpeed server nor able to access OpenLiteSpeed WebAdmin at :7080 port.
This is the error that I receive while starting OpenLiteSpeed.
Oct 31 09:02:57 ubuntu20 lswsctrl[31442]: 2021-10-31 09:02:57.418991 [ERROR] [config:server:basics:errorLog] missing <errorLog>
Oct 31 09:02:57 ubuntu20 lswsctrl[31417]: [ERROR] Failed to start litespeed!
I’ve read few threads but didn’t find any solution to this issue. These are the results that I receive when run ls -lah under /usr/local/lsws/logs directory.
drwxr-x--- 2 root nobody 4.0K Oct 31 09:01 .
drwxr-xr-x 26 root root 4.0K Oct 10 11:38 ..
-rw-r--r-- 1 nobody nogroup 0 Oct 31 06:01 access.log
-rw-r--r-- 1 root root 0 Oct 31 09:01 auditmodsec.log
-rw-r--r-- 1 nobody nogroup 1.8K Oct 31 06:11 error.log
-rw-r--r-- 1 root root 71K Oct 31 09:12 lsrestart.log
-rw-r--r-- 1 nobody nogroup 1.2M Oct 31 06:11 stderr.log
Any help will be much appreciated.
Thanks in advance.
_ CyberPanel is one of the best control panels I’ve used so far._*