install LiteSpeed issue

Aditya Pandey

Verified User
Joined
Sep 30, 2021
Messages
24
Location
India
Hi,

I am using LiteSpeed Enterprise on our server and all are working fine except one.
The server is switching to apache automatically and when I am trying to install LiteSpeed again it's getting stuck for about 30 min more or less after running ./build litespeed.

[root@cloud custombuild]# ./build litespeed
2022-06-15 02:37:56.424654 [NOTICE] [T0] Memory size is: 131608728KB.
Backing up certificate and key, and turning off httpd for DirectAdmins's check.
Found /usr/local/directadmin/custombuild/httpd-2.4.54.tar.gz
Extracting /usr/local/directadmin/custombuild/httpd-2.4.54.tar.gz...
Found /usr/local/directadmin/custombuild/apr-1.7.0.tar.gz
Extracting /usr/local/directadmin/custombuild/apr-1.7.0.tar.gz...
Found /usr/local/directadmin/custombuild/apr-util-1.6.1.tar.gz
Extracting /usr/local/directadmin/custombuild/apr-util-1.6.1.tar.gz...
Patching apache for hardened symlinks patch...
patching file include/http_core.h
patching file server/core.c
Hunk #1 succeeded at 155 (offset 16 lines).
Hunk #2 succeeded at 1764 (offset 216 lines).
Hunk #3 succeeded at 2017 (offset 287 lines).
Enabling mod_systemd...
Enabling mod_http2...
Patching srclib/apr-util/dbm/sdbm/sdbm_private.h...
patching file dbm/sdbm/sdbm_private.h
patching file srclib/apr/include/apr_thread_proc.h
Hunk #1 succeeded at 207 (offset 1 line).
patching file srclib/apr/threadproc/unix/proc.c
Hunk #3 succeeded at 688 (offset 12 lines).
patching file configure.in
Hunk #1 succeeded at 808 with fuzz 2 (offset 203 lines).
patching file support/Makefile.in
Hunk #1 succeeded at 74 (offset 14 lines).
patching file support/suexec.c
Hunk #1 succeeded at 14 with fuzz 2 (offset -41 lines).
Hunk #2 succeeded at 341 (offset 22 lines).
Hunk #3 succeeded at 500 (offset 29 lines).
Hunk #4 succeeded at 546 (offset 31 lines).
Hunk #5 succeeded at 590 (offset 31 lines).
Hunk #6 succeeded at 657 (offset 31 lines).
Hunk #7 succeeded at 671 with fuzz 1 (offset 31 lines).
Patching suexec for per-user process grouping
patching file support/suexec.c
Hunk #1 succeeded at 517 with fuzz 1 (offset 22 lines).
Patching apache to allow SuexecUserGroup in Directory context...
patching file modules/generators/mod_suexec.c
patching file support/suexec.c
Hunk #1 succeeded at 335 (offset 27 lines).
increasing FD_SETSIZE in os/tpf/os.h ..
Removing all apache related rpms...
All apache related rpms have been removed.
Debug mode. Level 10

dataskq: command: action=cache&value=showallusers
Restoring certificate and key, and turning on httpd for DirectAdmins's check.
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.

Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.


After this, it's showing failed and that's all.

Can anyone help in this regard?
 

Attachments

  • 2022-06-15 12_08_25-cloud.googiehost.com.png
    2022-06-15 12_08_25-cloud.googiehost.com.png
    64.8 KB · Views: 83
check custombuild.conf what webserver there, try to update:
./build set webserver litespeed
 
[root@cloud custombuild]# ./build set webserver litespeed
Changed webserver option from apache to litespeed
[root@cloud custombuild]# ./build litespeed
[ERROR] Failed to find your license key under - /usr/local/lsws/ or /usr/local/lsws/conf/!
Backing up certificate and key, and turning off httpd for DirectAdmins's check.
Found /usr/local/directadmin/custombuild/httpd-2.4.54.tar.gz
Extracting /usr/local/directadmin/custombuild/httpd-2.4.54.tar.gz...
Found /usr/local/directadmin/custombuild/apr-1.7.0.tar.gz
Extracting /usr/local/directadmin/custombuild/apr-1.7.0.tar.gz...
Found /usr/local/directadmin/custombuild/apr-util-1.6.1.tar.gz
Extracting /usr/local/directadmin/custombuild/apr-util-1.6.1.tar.gz...
Patching apache for hardened symlinks patch...
patching file include/http_core.h
patching file server/core.c
Hunk #1 succeeded at 155 (offset 16 lines).
Hunk #2 succeeded at 1764 (offset 216 lines).
Hunk #3 succeeded at 2017 (offset 287 lines).
Enabling mod_systemd...
Enabling mod_http2...
Patching srclib/apr-util/dbm/sdbm/sdbm_private.h...
patching file dbm/sdbm/sdbm_private.h
patching file srclib/apr/include/apr_thread_proc.h
Hunk #1 succeeded at 207 (offset 1 line).
patching file srclib/apr/threadproc/unix/proc.c
Hunk #3 succeeded at 688 (offset 12 lines).
patching file configure.in
Hunk #1 succeeded at 808 with fuzz 2 (offset 203 lines).
patching file support/Makefile.in
Hunk #1 succeeded at 74 (offset 14 lines).
patching file support/suexec.c
Hunk #1 succeeded at 14 with fuzz 2 (offset -41 lines).
Hunk #2 succeeded at 341 (offset 22 lines).
Hunk #3 succeeded at 500 (offset 29 lines).
Hunk #4 succeeded at 546 (offset 31 lines).
Hunk #5 succeeded at 590 (offset 31 lines).
Hunk #6 succeeded at 657 (offset 31 lines).
Hunk #7 succeeded at 671 with fuzz 1 (offset 31 lines).
Patching suexec for per-user process grouping
patching file support/suexec.c
Hunk #1 succeeded at 517 with fuzz 1 (offset 22 lines).
Patching apache to allow SuexecUserGroup in Directory context...
patching file modules/generators/mod_suexec.c
patching file support/suexec.c
Hunk #1 succeeded at 335 (offset 27 lines).
increasing FD_SETSIZE in os/tpf/os.h ..
Removing all apache related rpms...
All apache related rpms have been removed.
Debug mode. Level 10

dataskq: command: action=cache&value=showallusers
Restoring certificate and key, and turning on httpd for DirectAdmins's check.
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.




Same error.
 
You need to configure your litespeed license key in the custombuilds web interface.
 
Go to the CustomBuilds page in Extra features.
Then go to Edit option.
Then search for litespeed_serialno and enter there you license key.
 
That I have done already.



[root@cloud custombuild]# ./build litespeed
2022-06-15 05:30:49.578756 [NOTICE] [T0] Memory size is: 131608728KB.
Backing up certificate and key, and turning off httpd for DirectAdmins's check.
Found /usr/local/directadmin/custombuild/httpd-2.4.54.tar.gz
Extracting /usr/local/directadmin/custombuild/httpd-2.4.54.tar.gz...
Found /usr/local/directadmin/custombuild/apr-1.7.0.tar.gz
Extracting /usr/local/directadmin/custombuild/apr-1.7.0.tar.gz...
Found /usr/local/directadmin/custombuild/apr-util-1.6.1.tar.gz
Extracting /usr/local/directadmin/custombuild/apr-util-1.6.1.tar.gz...
Patching apache for hardened symlinks patch...
patching file include/http_core.h
patching file server/core.c
Hunk #1 succeeded at 155 (offset 16 lines).
Hunk #2 succeeded at 1764 (offset 216 lines).
Hunk #3 succeeded at 2017 (offset 287 lines).
Enabling mod_systemd...
Enabling mod_http2...
Patching srclib/apr-util/dbm/sdbm/sdbm_private.h...
patching file dbm/sdbm/sdbm_private.h
patching file srclib/apr/include/apr_thread_proc.h
Hunk #1 succeeded at 207 (offset 1 line).
patching file srclib/apr/threadproc/unix/proc.c
Hunk #3 succeeded at 688 (offset 12 lines).
patching file configure.in
Hunk #1 succeeded at 808 with fuzz 2 (offset 203 lines).
patching file support/Makefile.in
Hunk #1 succeeded at 74 (offset 14 lines).
patching file support/suexec.c
Hunk #1 succeeded at 14 with fuzz 2 (offset -41 lines).
Hunk #2 succeeded at 341 (offset 22 lines).
Hunk #3 succeeded at 500 (offset 29 lines).
Hunk #4 succeeded at 546 (offset 31 lines).
Hunk #5 succeeded at 590 (offset 31 lines).
Hunk #6 succeeded at 657 (offset 31 lines).
Hunk #7 succeeded at 671 with fuzz 1 (offset 31 lines).
Patching suexec for per-user process grouping
patching file support/suexec.c
Hunk #1 succeeded at 517 with fuzz 1 (offset 22 lines).
Patching apache to allow SuexecUserGroup in Directory context...
patching file modules/generators/mod_suexec.c
patching file support/suexec.c
Hunk #1 succeeded at 335 (offset 27 lines).
increasing FD_SETSIZE in os/tpf/os.h ..
Removing all apache related rpms...
All apache related rpms have been removed.
Debug mode. Level 10

dataskq: command: action=cache&value=showallusers
Restoring certificate and key, and turning on httpd for DirectAdmins's check.
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
 
[root@cloud custombuild]# ./build set webserver litespeed
Changed webserver option from apache to litespeed
[root@cloud custombuild]# ./build litespeed
I think you missed a step here.
After you change things in options.conf, you normally first have to do a ./build update first.

Can you try like this just to be sure?
./build update ./build litespeed
 
Hi Richard,
I tried all but nothing happen.
Finally after checking everything I was able to solve the issue.
Thanks, everyone.
 
Hello.
Would you like to share with us how the issue was solved? This can help others with the same or similar issue in the future.
 
Hello.
Would you like to share with us how the issue was solved? This can help others with the same or similar issue in the future.
" Changed webserver option from apache to litespeed" means that in his config "apache" was selected, but manually was compiled Litespeed - that's why it drops at autoupdates, I think.
 
Like Litespeed was build via custombuild but apache was not yet removed via ./build remove_items you mean?
Might be the case indeed. We will read it later on I guess
 
Back
Top