Cpanel Ubuntu can't switch litespeed

vacancy

Active Member
#1
Hi

After installing litespeed on the server with ubuntu os, 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
 

vacancy

Active Member
#3
Hi

The problem persists, a different error appears.

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
Apache Stopped.
---
metadata:
  command: configureservice
  reason: Enabled monitoring for httpd.
  result: 1
  version: 1
Failed to start httpd.service: Unit httpd.service not found.
./cp_switch_ws.sh: 193: RETRY--: not found
./cp_switch_ws.sh: 193: RETRY--: not found
./cp_switch_ws.sh: 193: RETRY--: not found
./cp_switch_ws.sh: 193: RETRY--: not found
./cp_switch_ws.sh: 193: RETRY--: not found
./cp_switch_ws.sh: 193: RETRY--: not found
./cp_switch_ws.sh: 193: RETRY--: not found
./cp_switch_ws.sh: 193: RETRY--: not found
./cp_switch_ws.sh: 193: RETRY--: not found
 

Pong

Administrator
Staff member
#4
You should upgrade to 6.0.11 build 5 first. If still happen, you can log a ticket and we can check further.
 
Top