CyberPanel Community

ClosedAccidentally moved to litespeed enterprise, how to get back to regular one

se
seenu #1

Hello,
last night i was using cyberpanel after many days and upgraded to latest version and i am 100% sure i didn’t click upgrade/switch any button to move from ols to LS

but today when i go to services, it shows “Litespeed Ent” and stopped.

even yesterday it was regular and i restarted it without any problems.

now i am not able to start it either, how to get back to regular litespeed?

thanks.

11 replies
se
seenu #2

So…no one to help? :frowning_face:

jo
josephgodwinke #3

Welcome @seenu, Happy to have you

  1. Post the contents of your /usr/local/lsws/logs/access.log and /usr/local/lsws/logs/error.log

  2. Post the contents of the service status:

$ sudo service lsws status
  1. If service is off run chkconfig lsws on to enable the service. Confirm by running chkconfig --list lsws
se
seenu #4

Hello @josephgodwinke thanks for the response.
please find answers below.

access.log

74.82.47.5 - - [19/Oct/2022:06:51:55 +0000] "GET / HTTP/1.1" 404 705 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.1 Safari/605.1.15"
185.7.214.218 - - [19/Oct/2022:07:01:00 +0000] "GET /remote/fgt_lang?lang=/../../../..//////////dev/cmdb/sslvpn_websession HTTP/1.1" 404 1236 "-" "Python-urllib/3.8"
34.231.171.215 - - [19/Oct/2022:07:05:14 +0000] "GET /.env HTTP/1.1" 404 1236 "-" "curl/7.61.1"
4.233.97.27 - - [19/Oct/2022:07:23:46 +0000] "GET /wp-content/themes/seotheme/mar.php HTTP/1.1" 404 705 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)"
4.233.97.27 - - [19/Oct/2022:07:23:47 +0000] "GET /wp-content/plugins/seoplugins/mar.php HTTP/1.1" 404 705 "-" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729)"
45.61.185.198 - - [19/Oct/2022:07:32:14 +0000] "GET /config/getuser?index=0 HTTP/1.1" 404 705 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0"
3.99.50.124 - - [19/Oct/2022:07:43:38 +0000] "GET /.env HTTP/1.1" 404 1236 "-" "curl/7.61.1"
80.94.92.239 - - [19/Oct/2022:07:48:01 +0000] "GET / HTTP/1.1" 404 705 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.85 Safari/537.36 Edg/90.0.818.46"
91.238.88.144 - - [19/Oct/2022:07:55:13 +0000] "GET / HTTP/1.1" 404 1236 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/601.7.7 (KHTML, like Gecko) Version/9.1.2 Safari/601.7.7"
142.93.186.106 - - [19/Oct/2022:07:57:22 +0000] "GET / HTTP/1.0" 404 1236 "-" "Mozilla/5.0 (X11; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0"

i.e. for last 2days…no access

error.log

2022-10-19 07:59:34.662109 [NOTICE] [29275] [AutoRestarter] child process with pid=29278 exited with status=0!
2022-10-19 07:59:34.662236 [NOTICE] [29275] [AutoRestarter] cleanup children processes and unix sockets belong to process 29279 !
2022-10-19 07:59:34.763822 [NOTICE] [29275] [AutoRestarter] child process with pid=29279 exited with status=0!
2022-10-19 07:59:34.763949 [NOTICE] [29275] [AutoRestarter] cleanup children processes and unix sockets belong to process 29280 !
2022-10-19 07:59:34.865661 [NOTICE] [29275] [AutoRestarter] child process with pid=29280 exited with status=0!
2022-10-19 07:59:34.865819 [NOTICE] [29275] [AutoRestarter] cleanup children processes and unix sockets belong to process 29281 !
2022-10-19 07:59:34.967354 [NOTICE] [29275] [AutoRestarter] child process with pid=29281 exited with status=0!
2022-10-19 07:59:34.967497 [NOTICE] [29275] [AutoRestarter] cleanup children processes and unix sockets belong to process 29282 !
2022-10-19 07:59:35.000164 [NOTICE] [29275] [AutoRestarter] child process with pid=29282 exited with status=0!
2022-10-19 07:59:35.000268 [NOTICE] [29275] Server Stopped!

same here aswell…2days back server stopped.

~ sudo service lsws status
Unit lsws.service could not be found.
 ~ chkconfig lsws on
zsh: command not found: chkconfig

looks like chkconfig doesn’t exists, i am using ubuntu btw.

please help me out :slight_smile:

jo
josephgodwinke #5

From this command service lsws status Litespeed server is not running. Start it with systemctl start lsws && systemctl start lscpd && systemctl status lsws

se
seenu #6

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

since lsws replaced with litespeed enterprise…i think that service is not found at all.

so i need a way to remove enterprise and install lsws i guess.

jo
josephgodwinke #7

That’s the outcome i expected. You will need to reinstall CyberP (OLS)

se
seenu #8

you mean everything? :astonished:
i have data in my CP…is there any way to retain data properly?

like keep everything in server and just install cyberpanel again on top of it?

thanks

jo
josephgodwinke #9

You can rsync your websites from server to your machine (linux based) as a backup option

se
seenu #10

but that syncs only data but not other info like DNS, databases right.

Also…if i do remote import…will it work or No?

jo
josephgodwinke #11

What you can do to backup the server without admin panel access:

  1. rsync all websites to your machine (ubuntu or windows using Git or paid options)
  2. dump all dns zones
  3. backup multiple mysql databases:
mysqldump -u root -p --databases db_name1 db_name2 | gzip > full_backup.sql.gz

I always recommend users to purchase servers with snapshot management. If you had a snapshot before the upgrade you would just reverse it.

se
seenu #12

Fk man… :joy:
what a bummer…my host has daily backups…

i just forgot that option.

thank you so much for that idea :slight_smile:

Sign in to reply