LSWS is not starting

Server version: Ubuntu 20.04

CyberPanel
Current Version:  2.3
Build:  4Current Commit:  8e97f4f61d350c39818e55de0c6330edb68328f5
Latest Version:  2.3
Latest Build:  4Latest Commit:  8e97f4f61d350c39818e55de0c6330edb68328f5

I just installed the Imap extension for PHP 8.2 and changed some php.ini entries in advance settings and got 500 errors on all websites after this. So I rebooted the server but after this, the LiteSpeed server stopped.

I undone all changes in PHP settings, and tried to run this command

sudo systemctl start lsws

result is this

Failed to start lsws.service: Unit lsws.service not found.

I also noticed that in /serverstatus/litespeedStatus UI is like this but it is different from previously.

I tried every thing but was unable to resolve this, I need urgent help because all the websites are down.

Also server logs here.

[01.17.2024_23-04-52] SSL exists for mail.wpgpl.shop and is not ready to renew, skipping..
[01.17.2024_23-04-52] Restarting mail services for them to see new SSL.
[01.17.2024_23-04-52] [Errno 2] No such file or directory: 'postmap'. [ProcessUtilities.normalExecutioner.Base]
[01.18.2024_23-00-04] [Errno 2] No such file or directory: '/home/cyberpanel/git'. [IncScheduler.git:90]
[01.19.2024_23-00-04] [Errno 2] No such file or directory: '/home/cyberpanel/git'. [IncScheduler.git:90]
[01.20.2024_13-16-14] Config path: /etc/apache2/sites-enabled/aibeacon.co.conf
[01.20.2024_23-00-03] [Errno 2] No such file or directory: '/home/cyberpanel/git'. [IncScheduler.git:90]
[01.21.2024_23-00-04] [Errno 2] No such file or directory: '/home/cyberpanel/git'. [IncScheduler.git:90]
[01.22.2024_23-00-04] [Errno 2] No such file or directory: '/home/cyberpanel/git'. [IncScheduler.git:90]
[01.23.2024_23-00-04] [Errno 2] No such file or directory: '/home/cyberpanel/git'. [IncScheduler.git:90]
[01.24.2024_12-48-34] Command '['/root/.acme.sh/acme.sh', '--register-account', '-m', '[email protected]']' returned non-zero exit status 1. [Failed to obtain SSL. [obtainSSLForADomain]]
[01.24.2024_12-48-34] Status Code: 200 for: http://www.portal.dls.academy/.well-known/acme-challenge/portal.dls.academy
[01.24.2024_12-48-34] Status Code: 200 for: http://portal.dls.academy/.well-known/acme-challenge/portal.dls.academy
[01.24.2024_12-51-14] /root/.acme.sh/acme.sh --issue -d portal.dls.academy -d www.portal.dls.academy --cert-file /etc/letsencrypt/live/portal.dls.academy/cert.pem --key-file /etc/letsencrypt/live/portal.dls.academy/privkey.pem --fullchain-file /etc/letsencrypt/live/portal.dls.academy/fullchain.pem -w /usr/local/lsws/Example/html -k ec-256 --force --server letsencrypt
[01.24.2024_12-51-30] Successfully obtained SSL for: portal.dls.academy and: www.portal.dls.academy
[01.24.2024_12-51-31] Websites matching query does not exist. [installSSLForDomain:72]
[01.24.2024_12-53-54] 'list' object has no attribute 'find'
[01.24.2024_13-04-36] 'utf-8' codec can't decode byte 0xfd in position 731: invalid start byte
[01.24.2024_13-06-07] 'list' object has no attribute 'find'
[01.24.2024_13-06-22] 'list' object has no attribute 'find'
[01.24.2024_13-06-29] 'list' object has no attribute 'find'
[01.24.2024_13-11-27] apache vhost 1
[01.24.2024_13-13-03] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_13-13-24] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_13-14-01] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_13-17-17] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_13-19-02] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_13-22-33] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_13-22-41] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_13-34-43] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_13-37-31] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_13-38-06] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_13-38-25] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_13-39-14] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_13-39-22] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_13-40-52] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_13-47-49] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_14-11-31] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_14-11-54] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_14-12-37] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_14-15-04] type object 'CyberCPLogFileWriter' has no attribute 'CyberCPLogFileWriter' [tunePHP]]
[01.24.2024_14-26-04] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]
[01.24.2024_14-40-40] type object 'CyberCPLogFileWriter' has no attribute 'CyberCPLogFileWriter' [tunePHP]]
[01.24.2024_14-41-35] type object 'CyberCPLogFileWriter' has no attribute 'CyberCPLogFileWriter' [tunePHP]]
[01.24.2024_14-50-34] [Errno 2] No such file or directory: '/usr/local/lsws/bin/lswsctrl'. [ProcessUtilities.normalExecutioner.Base]

@usmannasir Sir I need urgent help because it’s big problem for me.

did you remove any php extension via command line or anything ?

No, I didn’t do with CLI but I do with UI.

It looks like you are using LiteSpeed Enterprise, please do

/usr/local/lsws/bin/lswsctrl restart

But I never opted for LiteSpeed Enterprise.

Kindly reach out to our team so they can help debug it: https://platform.cyberpersons.com/