In Progress UPS-428 - Ubuntu litespeed not working

vacancy

Well-Known Member
Sep 20, 2012
566
226
93
Turkey
cPanel Access Level
Root Administrator
Hi

After installing litespeed on the server with Ubuntu, when we want to make a litespeed switch, litespeed is not active because the httpd module is not recognized.

Code:
root@server:/usr/local/lsws/admin/misc# ./cp_switch_ws.sh lsws
Detected cPanel WHM Environment
Failed to stop httpd.service: Unit httpd.service not loaded.
./cp_switch_ws.sh: 449: RETRY--: not found
./cp_switch_ws.sh: 449: RETRY--: not found
./cp_switch_ws.sh: 449: RETRY--: not found
./cp_switch_ws.sh: 449: RETRY--: not found
./cp_switch_ws.sh: 449: RETRY--: not found
./cp_switch_ws.sh: 449: RETRY--: not found
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
16,597
2,617
363
cPanel Access Level
Root Administrator
Update - I've spoken directly with Litespeed about this since they are the ones that maintain the script. They are going to get that resolved on their side, so we've changed the case to UPS-428 to reflect that it won't be handled by cPanel development.
 
  • Like
Reactions: vacancy

vacancy

Well-Known Member
Sep 20, 2012
566
226
93
Turkey
cPanel Access Level
Root Administrator
Is there a case update on the cpanel side regarding this issue?

Litespeed switch operation still cannot be performed on Ubuntu servers.

I also reported the problem to litespeed, but they could not produce a solution.

root@server:/usr/local/lsws/admin/misc# ./cp_switch_ws.sh lsws
Detected cPanel WHM Environment
Failed to stop httpd.service: Unit httpd.service not loaded.
Apache Stopped.
---
metadata:
command: configureservice
reason: Enabled monitoring for httpd.
result: 1
version: 1
Failed to start httpd.service: Unit httpd.service not found.
LiteSpeed is not up within 30 secs, try again by removing /tmp/lshttpd/.
Failed to start httpd.service: Unit httpd.service not found.
[ERROR] LiteSpeed is not up within 60 secs, please check the error log and try again.