/usr/local/lsws/conf/httpd_config.conf is missing.

Pong

Administrator
#3
Did you run as "root"user? /usr/local/lsws/conf/httpd_config.conf is the OLS main configuration and it should be installed during the installation. If not, some wired thing happened. YOu can log a ticket with us with your root ssh, we can check.
 
#4
Hey, thanks for the awnser

Yes, as root ever.
It was installed here, but due to some issues (I posted in forum about help but didnt fix), due to that, I was unnistalled, used unnistall, purge and also rm -r directory.
So I tried to install it again, and occurring that error

I cant share my root password cuz my whole work is there (running), maybe you have some tips to help me please?
Currently Im using apache now ;
 
#5
I tried install again, Full log: @Pong @lslisa



PHP:
Install on Debian/Ubuntu
--2020-11-15 18:07:11--  http://rpms.litespeedtech.com/debian/lst_debian_repo.gpg
Resolving rpms.litespeedtech.com (rpms.litespeedtech.com)... 52.55.120.73
Connecting to rpms.litespeedtech.com (rpms.litespeedtech.com)|52.55.120.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1198 (1.2K) [application/octet-stream]
Saving to: ‘/etc/apt/trusted.gpg.d/lst_debian_repo.gpg’

/etc/apt/trusted.gpg.d/lst_debian_repo. 100%[============================================================================>]   1.17K  --.-KB/s    in 0s

2020-11-15 18:07:15 (421 MB/s) - ‘/etc/apt/trusted.gpg.d/lst_debian_repo.gpg’ saved [1198/1198]

--2020-11-15 18:07:15--  http://rpms.litespeedtech.com/debian/lst_repo.gpg
Resolving rpms.litespeedtech.com (rpms.litespeedtech.com)... 52.55.120.73
Connecting to rpms.litespeedtech.com (rpms.litespeedtech.com)|52.55.120.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2336 (2.3K) [application/octet-stream]
Saving to: ‘/etc/apt/trusted.gpg.d/lst_repo.gpg’

/etc/apt/trusted.gpg.d/lst_repo.gpg     100%[============================================================================>]   2.28K  --.-KB/s    in 0s

2020-11-15 18:07:15 (866 MB/s) - ‘/etc/apt/trusted.gpg.d/lst_repo.gpg’ saved [2336/2336]

Ign:1 http://rpms.litespeedtech.com/debian xenial InRelease
Hit:2 http://rpms.litespeedtech.com/debian xenial Release
Get:4 http://ubuntu.mirrors.ovh.net/ubuntu xenial InRelease [247 kB]
Get:5 http://ubuntu.mirrors.ovh.net/ubuntu xenial-updates InRelease [109 kB]
Get:6 http://ubuntu.mirrors.ovh.net/ubuntu xenial-backports InRelease [107 kB]
Get:7 https://last-public-ovh-kernel.snap.mirrors.ovh.net/debian ovhkernel InRelease [4,957 B]
Hit:8 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease
Fetched 468 kB in 10s (45.9 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  libevent-core-2.0-5

Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  openlitespeed
0 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/8,079 kB of archives.
After this operation, 30.7 MB of additional disk space will be used.
Selecting previously unselected package openlitespeed.
(Reading database ... 93715 files and directories currently installed.)
Preparing to unpack .../openlitespeed_1.6.17-1+xenial_amd64.deb ...
Unpacking openlitespeed (1.6.17-1+xenial) ...
Setting up openlitespeed (1.6.17-1+xenial) ...
Generating a 2048 bit RSA private key
....................................................+++
.......................................+++
writing new private key to '/usr/local/lsws/admin/conf/webadmin.key'
-----
dpkg: error processing package openlitespeed (--configure):
subprocess installed post-installation script was killed by signal (Killed)
Errors were encountered while processing:
openlitespeed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
lsphp74 is already the newest version (7.4.12-1+xenial).
lsphp74-curl is already the newest version (7.4.12-1+xenial).
lsphp74-imap is already the newest version (7.4.12-1+xenial).
lsphp74-mysql is already the newest version (7.4.12-1+xenial).
The following package was automatically installed and is no longer required:
  libevent-core-2.0-5
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openlitespeed (1.6.17-1+xenial) ...

dpkg: error processing package openlitespeed (--configure):
subprocess installed post-installation script was killed by signal (Killed)
Errors were encountered while processing:
openlitespeed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
lsphp74-common is already the newest version (7.4.12-1+xenial).
lsphp74-json is already the newest version (7.4.12-1+xenial).
The following package was automatically installed and is no longer required:
  libevent-core-2.0-5
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openlitespeed (1.6.17-1+xenial) ...

dpkg: error processing package openlitespeed (--configure):
subprocess installed post-installation script was killed by signal (Killed)
Errors were encountered while processing:
openlitespeed
E: Sub-process /usr/bin/dpkg returned an error code (1)
An error occured during OpenLiteSpeed installation.
lsphp: no process found
Finished setting OpenLiteSpeed WebAdmin password to XXXXXX.
Finished updating server configuration.
Generating a 2048 bit RSA private key
...+++
..+++
writing new private key to 'example.key'
-----
/usr/local/lsws/conf/httpd_config.conf is missing. It appears that something went wrong during OpenLiteSpeed installation.
Trying to stop some web servers that may be using port 80.
Can't determine the Home of LiteSpeed Web Server, exit!
[ERROR] Failed to start litespeed!

Can't determine the Home of LiteSpeed Web Server, exit!
[ERROR] Failed to start litespeed!
Please be aware that your password was written to file '/usr/local/lsws/password'.
Installation finished. Some errors seem to have occured, please check this as you may need to manually fix them.

Testing ...
Error: test webAdmin page failed.
Error: test Example HTTP vhost page failed.
Error: test Example HTTPS vhost page failed.
Errors were encountered during testing. In many cases these errors can be solved manually by referring to installation logs.
Service loading issues can sometimes be resolved by performing a restart of the web server.
Reinstalling the web server can also help if neither of the above approaches resolve the issue.

If you run into any problems, they can sometimes be fixed by running with the --purgeall flag and reinstalling.
If you have an existing certificate and private key for your site, you will need to replace the example.key and example.crt in /usr/local/lsws/conf with these files.
Thanks for using "OpenLiteSpeed One click installation".
Enjoy!
 

lskagan

Administrator
#6
What is the out put of the following commands:

Code:
dpkg -l | grep 'openlitespeed'
and also

Code:
dpkg -l | grep 'lsphp'
Also what OS are you running? From the logs it shows Xenial Ubuntu 16 but you mentioned Ubuntu 18 earlier.
 
#7
Hi, Im running it on ubuntu 16 -- sorry I didnt noticed it
@lskagan


Code:
NAME="Ubuntu"
VERSION="16.04.7 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.7 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
Code:
dpkg -l | grep 'openlitespeed'
iF  openlitespeed                          1.6.17-1+xenial                                 amd64        High Performance, lightweight, open source HTTP server
Code:
dpkg -l | grep 'lsphp'
ii  lsphp73                                7.3.24-1+xenial                                 amd64        server-side, HTML-embedded scripting language (LSAPI binary)
ii  lsphp73-common                         7.3.24-1+xenial                                 all          Common files for packages built from the PHP source
ii  lsphp73-imap                           7.3.24-1+xenial                                 amd64        IMAP module for PHP
ii  lsphp73-json                           7.3.24-1+xenial                                 amd64        JSON module for PHP
ii  lsphp73-mysql                          7.3.24-1+xenial                                 amd64        MySQL module for PHP
ii  lsphp73-opcache                        7.3.24-1+xenial                                 amd64        Zend OpCache module for PHP
ii  lsphp74                                7.4.12-1+xenial                                 amd64        server-side, HTML-embedded scripting language (LSAPI binary)
ii  lsphp74-common                         7.4.12-1+xenial                                 all          Common files for packages built from the PHP source
ii  lsphp74-curl                           7.4.12-1+xenial                                 amd64        CURL module for PHP
ii  lsphp74-imap                           7.4.12-1+xenial                                 amd64        IMAP module for PHP
ii  lsphp74-json                           7.4.12-1+xenial                                 amd64        JSON module for PHP
ii  lsphp74-mysql                          7.4.12-1+xenial                                 amd64        MySQL module for PHP
ii  lsphp74-opcache                        7.4.12-1+xenial                                 amd64        Zend OpCache module for PHP
 

lskagan

Administrator
#8
Hi,

Can you please try running the following commands:

Code:
dpkg --remove --force-remove-reinstreq openlitespeed
apt remove lsphp73 lsphp73-common lsphp73-imap lsphp73-json lsphp73-mysql lsphp73-opcache lsphp74 lsphp74-common lsphp74-imap lsphp74-json lsphp74-mysql lsphp74-opcache
apt autoremove
apt clean
After you run those commands then try running ols1clk again and it should work. OLS1CLK should only be run on new servers, not one that have had ols removed already as it may cause issues like this.
 
#9
Hi,

Can you please try running the following commands:

Code:
dpkg --remove --force-remove-reinstreq openlitespeed
apt remove lsphp73 lsphp73-common lsphp73-imap lsphp73-json lsphp73-mysql lsphp73-opcache lsphp74 lsphp74-common lsphp74-imap lsphp74-json lsphp74-mysql lsphp74-opcache
apt autoremove
apt clean
After you run those commands then try running ols1clk again and it should work. OLS1CLK should only be run on new servers, not one that have had ols removed already as it may cause issues like this.
Thanks for the awnser.
But still not working, out of curiosity, how should I have removed it? (I will save the information here)
full output:
PHP:
root@hs09209:/home/SERVER/data# dpkg --remove --force-remove-reinstreq openlitespeed
(Reading database ... 94266 files and directories currently installed.)
Removing openlitespeed (1.6.17-1+xenial) ...
root@hs09209:/home/SERVER/data# apt remove lsphp73 lsphp73-common lsphp73-imap lsphp73-json lsphp73-mysql lsphp73-opcache lsphp74 lsphp74-common lsphp74-imap lsphp74-json lsphp74-mysql lsphp74-opcache
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  enchant hunspell-en-us libenchant1c2a libevent-core-2.0-5 libhunspell-1.3-0 libonig2 libsodium18 libwebp5 rcs
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  lsphp73 lsphp73-common lsphp73-imap lsphp73-json lsphp73-mysql lsphp73-opcache lsphp74 lsphp74-common lsphp74-curl lsphp74-imap lsphp74-json
  lsphp74-mysql lsphp74-opcache
0 upgraded, 0 newly installed, 13 to remove and 3 not upgraded.
After this operation, 85.6 MB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 93719 files and directories currently installed.)
Removing lsphp73-mysql (7.3.24-1+xenial) ...
Removing lsphp73-imap (7.3.24-1+xenial) ...
Removing lsphp74-mysql (7.4.12-1+xenial) ...
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
Removing lsphp74-curl (7.4.12-1+xenial) ...
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
Removing lsphp74-imap (7.4.12-1+xenial) ...
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
Removing lsphp73-json (7.3.24-1+xenial) ...
Removing lsphp74-opcache (7.4.12-1+xenial) ...
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
Removing lsphp74-json (7.4.12-1+xenial) ...
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
WARNING: Module ALL ini file doesn't exist under /etc/php/7.0/mods-available
Removing lsphp73 (7.3.24-1+xenial) ...
Removing lsphp73-opcache (7.3.24-1+xenial) ...
Removing lsphp73-common (7.3.24-1+xenial) ...
root root 1733 /usr/local/lsws/lsphp73/var/lib/php/sessions
Removing lsphp74 (7.4.12-1+xenial) ...
Removing lsphp74-common (7.4.12-1+xenial) ...
root@hs09209:/home/SERVER/data# apt autoremoveapt autoremove^C
root@hs09209:/home/SERVER/data# apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  enchant hunspell-en-us libenchant1c2a libevent-core-2.0-5 libhunspell-1.3-0 libonig2 libsodium18 libwebp5 rcs
0 upgraded, 0 newly installed, 9 to remove and 3 not upgraded.
After this operation, 3,478 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 93599 files and directories currently installed.)
Removing enchant (1.6.0-10.1build2) ...
Removing libenchant1c2a:amd64 (1.6.0-10.1build2) ...
Removing hunspell-en-us (20070829-6ubuntu3) ...
Removing libevent-core-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.04.1) ...
Removing libhunspell-1.3-0:amd64 (1.3.3-4ubuntu1) ...
Removing libonig2:amd64 (5.9.6-1ubuntu0.1) ...
Removing libsodium18:amd64 (1.0.8-5) ...
Removing libwebp5:amd64 (0.4.4-1) ...
Removing rcs (5.9.4-3) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
root@hs09209:/home/SERVER/data# apt clean
root@hs09209:/home/SERVER/data# bash <( curl -k https://raw.githubusercontent.com/litespeedtech/ols1clk/master/ols1clk.sh ) --adminpassword mypassWord --email servertest@gmail.com
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 56678  100 56678    0     0   9336      0  0:00:06  0:00:06 --:--:-- 12429
**********************************************************************************************
*                    Open LiteSpeed One click installation, Version 2.2                      *
*                    Copyright (C) 2016 - 2020 LiteSpeed Technologies, Inc.                  *
**********************************************************************************************
Current platform is UBUNTU16 ubuntu xenial.

Starting to install OpenLiteSpeed to /usr/local/lsws/ with the parameters below,
WebAdmin password:        mypassWord
WebAdmin email:           servertest@gmail.com
LSPHP version:            74
MariaDB version:          10.4
Server HTTP port:         80
Server HTTPS port:        443

Are these settings correct? Type n to quit, otherwise will continue.[Y/n] Y


Install on Debian/Ubuntu
--2020-11-17 13:34:10--  http://rpms.litespeedtech.com/debian/lst_debian_repo.gpg
Resolving rpms.litespeedtech.com (rpms.litespeedtech.com)... 52.55.120.73
Connecting to rpms.litespeedtech.com (rpms.litespeedtech.com)|52.55.120.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1198 (1.2K) [application/octet-stream]
Saving to: ‘/etc/apt/trusted.gpg.d/lst_debian_repo.gpg’

/etc/apt/trusted.gpg.d/lst_debian_repo. 100%[============================================================================>]   1.17K  --.-KB/s    in 0s

2020-11-17 13:34:11 (422 MB/s) - ‘/etc/apt/trusted.gpg.d/lst_debian_repo.gpg’ saved [1198/1198]

--2020-11-17 13:34:11--  http://rpms.litespeedtech.com/debian/lst_repo.gpg
Resolving rpms.litespeedtech.com (rpms.litespeedtech.com)... 52.55.120.73
Connecting to rpms.litespeedtech.com (rpms.litespeedtech.com)|52.55.120.73|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2336 (2.3K) [application/octet-stream]
Saving to: ‘/etc/apt/trusted.gpg.d/lst_repo.gpg’

/etc/apt/trusted.gpg.d/lst_repo.gpg     100%[============================================================================>]   2.28K  --.-KB/s    in 0s

2020-11-17 13:34:11 (794 MB/s) - ‘/etc/apt/trusted.gpg.d/lst_repo.gpg’ saved [2336/2336]

Ign:1 http://rpms.litespeedtech.com/debian xenial InRelease
Hit:2 http://rpms.litespeedtech.com/debian xenial Release
Get:4 http://ubuntu.mirrors.ovh.net/ubuntu xenial InRelease [247 kB]
Get:5 http://ubuntu.mirrors.ovh.net/ubuntu xenial-updates InRelease [109 kB]
Get:6 http://ubuntu.mirrors.ovh.net/ubuntu xenial-backports InRelease [107 kB]
Get:7 http://ubuntu.mirrors.ovh.net/ubuntu xenial-updates/main amd64 Packages [1,891 kB]
Get:8 http://ubuntu.mirrors.ovh.net/ubuntu xenial-updates/main i386 Packages [1,452 kB]
Get:9 http://ubuntu.mirrors.ovh.net/ubuntu xenial-updates/universe amd64 Packages [1,196 kB]
Get:10 http://ubuntu.mirrors.ovh.net/ubuntu xenial-updates/universe i386 Packages [1,065 kB]
Get:11 https://last-public-ovh-kernel.snap.mirrors.ovh.net/debian ovhkernel InRelease [4,957 B]
Get:12 https://last-public-ovh-kernel.snap.mirrors.ovh.net/debian ovhkernel/main amd64 Packages [6,414 B]
Hit:13 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease
Fetched 6,078 kB in 10s (596 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  enchant hunspell-en-us libenchant1c2a libhunspell-1.3-0 libsodium18 libwebp5 lsphp73 lsphp73-common lsphp73-imap lsphp73-json lsphp73-mysql
  lsphp73-opcache rcs
Suggested packages:
  hunspell openoffice.org-hunspell | openoffice.org-core libenchant-voikko php-user-cache
The following NEW packages will be installed:
  enchant hunspell-en-us libenchant1c2a libhunspell-1.3-0 libsodium18 libwebp5 lsphp73 lsphp73-common lsphp73-imap lsphp73-json lsphp73-mysql
  lsphp73-opcache openlitespeed rcs
0 upgraded, 14 newly installed, 0 to remove and 4 not upgraded.
Need to get 17.7 MB of archives.
After this operation, 76.5 MB of additional disk space will be used.
Get:1 http://rpms.litespeedtech.com/debian xenial/main amd64 lsphp73-common all 7.3.24-1+xenial [31.4 kB]
Get:2 http://rpms.litespeedtech.com/debian xenial/main amd64 lsphp73-json amd64 7.3.24-1+xenial [18.7 kB]
Get:3 http://rpms.litespeedtech.com/debian xenial/main amd64 lsphp73-opcache amd64 7.3.24-1+xenial [179 kB]
Get:4 http://rpms.litespeedtech.com/debian xenial/main amd64 lsphp73 amd64 7.3.24-1+xenial [8,426 kB]
Get:5 http://ubuntu.mirrors.ovh.net/ubuntu xenial/main amd64 hunspell-en-us all 20070829-6ubuntu3 [206 kB]
Get:6 http://rpms.litespeedtech.com/debian xenial/main amd64 lsphp73-imap amd64 7.3.24-1+xenial [29.5 kB]
Get:7 http://rpms.litespeedtech.com/debian xenial/main amd64 lsphp73-mysql amd64 7.3.24-1+xenial [44.4 kB]
Get:8 http://rpms.litespeedtech.com/debian xenial/main amd64 openlitespeed amd64 1.6.17-1+xenial [8,079 kB]
Get:9 http://ubuntu.mirrors.ovh.net/ubuntu xenial/main amd64 libhunspell-1.3-0 amd64 1.3.3-4ubuntu1 [108 kB]
Get:10 http://ubuntu.mirrors.ovh.net/ubuntu xenial/main amd64 libenchant1c2a amd64 1.6.0-10.1build2 [64.0 kB]
Get:11 http://ubuntu.mirrors.ovh.net/ubuntu xenial/main amd64 enchant amd64 1.6.0-10.1build2 [11.9 kB]
Get:12 http://ubuntu.mirrors.ovh.net/ubuntu xenial/universe amd64 libsodium18 amd64 1.0.8-5 [144 kB]
Get:13 http://ubuntu.mirrors.ovh.net/ubuntu xenial/main amd64 libwebp5 amd64 0.4.4-1 [165 kB]
Get:14 http://ubuntu.mirrors.ovh.net/ubuntu xenial/universe amd64 rcs amd64 5.9.4-3 [186 kB]
Fetched 17.7 MB in 0s (20.7 MB/s)
Selecting previously unselected package hunspell-en-us.
(Reading database ... 93512 files and directories currently installed.)
Preparing to unpack .../hunspell-en-us_20070829-6ubuntu3_all.deb ...
Unpacking hunspell-en-us (20070829-6ubuntu3) ...
Selecting previously unselected package libhunspell-1.3-0:amd64.
Preparing to unpack .../libhunspell-1.3-0_1.3.3-4ubuntu1_amd64.deb ...
Unpacking libhunspell-1.3-0:amd64 (1.3.3-4ubuntu1) ...
Selecting previously unselected package libenchant1c2a:amd64.
Preparing to unpack .../libenchant1c2a_1.6.0-10.1build2_amd64.deb ...
Unpacking libenchant1c2a:amd64 (1.6.0-10.1build2) ...
Selecting previously unselected package enchant.
Preparing to unpack .../enchant_1.6.0-10.1build2_amd64.deb ...
Unpacking enchant (1.6.0-10.1build2) ...
Selecting previously unselected package libsodium18:amd64.
Preparing to unpack .../libsodium18_1.0.8-5_amd64.deb ...
Unpacking libsodium18:amd64 (1.0.8-5) ...
Selecting previously unselected package lsphp73-common.
Preparing to unpack .../lsphp73-common_7.3.24-1+xenial_all.deb ...
Unpacking lsphp73-common (7.3.24-1+xenial) ...
Selecting previously unselected package lsphp73-json.
Preparing to unpack .../lsphp73-json_7.3.24-1+xenial_amd64.deb ...
Unpacking lsphp73-json (7.3.24-1+xenial) ...
Selecting previously unselected package lsphp73-opcache.
Preparing to unpack .../lsphp73-opcache_7.3.24-1+xenial_amd64.deb ...
Unpacking lsphp73-opcache (7.3.24-1+xenial) ...
Selecting previously unselected package libwebp5:amd64.
Preparing to unpack .../libwebp5_0.4.4-1_amd64.deb ...
Unpacking libwebp5:amd64 (0.4.4-1) ...
Selecting previously unselected package lsphp73.
Preparing to unpack .../lsphp73_7.3.24-1+xenial_amd64.deb ...
Unpacking lsphp73 (7.3.24-1+xenial) ...
Selecting previously unselected package lsphp73-imap.
Preparing to unpack .../lsphp73-imap_7.3.24-1+xenial_amd64.deb ...
Unpacking lsphp73-imap (7.3.24-1+xenial) ...
Selecting previously unselected package lsphp73-mysql.
Preparing to unpack .../lsphp73-mysql_7.3.24-1+xenial_amd64.deb ...
Unpacking lsphp73-mysql (7.3.24-1+xenial) ...
Selecting previously unselected package rcs.
Preparing to unpack .../archives/rcs_5.9.4-3_amd64.deb ...
Unpacking rcs (5.9.4-3) ...
Selecting previously unselected package openlitespeed.
Preparing to unpack .../openlitespeed_1.6.17-1+xenial_amd64.deb ...
Unpacking openlitespeed (1.6.17-1+xenial) ...
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up hunspell-en-us (20070829-6ubuntu3) ...
Setting up libhunspell-1.3-0:amd64 (1.3.3-4ubuntu1) ...
Setting up libenchant1c2a:amd64 (1.6.0-10.1build2) ...
Setting up enchant (1.6.0-10.1build2) ...
Setting up libsodium18:amd64 (1.0.8-5) ...
Setting up lsphp73-common (7.3.24-1+xenial) ...
Setting up libwebp5:amd64 (0.4.4-1) ...
Setting up rcs (5.9.4-3) ...
Setting up lsphp73-json (7.3.24-1+xenial) ...
Not replacing deleted config file /usr/local/lsws/lsphp73/etc/php/7.3/mods-available/json.ini
Setting up lsphp73 (7.3.24-1+xenial) ...
Not replacing deleted config file /usr/local/lsws/lsphp73/etc/php/7.3/litespeed/php.ini
Setting up lsphp73-opcache (7.3.24-1+xenial) ...
Not replacing deleted config file /usr/local/lsws/lsphp73/etc/php/7.3/mods-available/opcache.ini
Setting up lsphp73-imap (7.3.24-1+xenial) ...
Not replacing deleted config file /usr/local/lsws/lsphp73/etc/php/7.3/mods-available/imap.ini
Setting up lsphp73-mysql (7.3.24-1+xenial) ...
Not replacing deleted config file /usr/local/lsws/lsphp73/etc/php/7.3/mods-available/mysqli.ini
Not replacing deleted config file /usr/local/lsws/lsphp73/etc/php/7.3/mods-available/pdo_mysql.ini
Setting up openlitespeed (1.6.17-1+xenial) ...
dpkg: error processing package openlitespeed (--configure):
subprocess installed post-installation script was killed by signal (Killed)
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
Errors were encountered while processing:
openlitespeed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libonig2 lsphp74-common lsphp74-json lsphp74-opcache
Suggested packages:
  php-user-cache
The following NEW packages will be installed:
  libonig2 lsphp74 lsphp74-common lsphp74-curl lsphp74-imap lsphp74-json lsphp74-mysql lsphp74-opcache
0 upgraded, 8 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
Need to get 8,672 kB of archives.
After this operation, 43.1 MB of additional disk space will be used.
Get:1 http://rpms.litespeedtech.com/debian xenial/main amd64 lsphp74-common all 7.4.12-1+xenial [31.9 kB]
Get:2 http://rpms.litespeedtech.com/debian xenial/main amd64 lsphp74-json amd64 7.4.12-1+xenial [19.0 kB]
Get:3 http://rpms.litespeedtech.com/debian xenial/main amd64 lsphp74-opcache amd64 7.4.12-1+xenial [192 kB]
Get:4 http://rpms.litespeedtech.com/debian xenial/main amd64 lsphp74 amd64 7.4.12-1+xenial [8,239 kB]
Get:5 http://ubuntu.mirrors.ovh.net/ubuntu xenial-updates/universe amd64 libonig2 amd64 5.9.6-1ubuntu0.1 [86.7 kB]
Get:6 http://rpms.litespeedtech.com/debian xenial/main amd64 lsphp74-curl amd64 7.4.12-1+xenial [29.4 kB]
Get:7 http://rpms.litespeedtech.com/debian xenial/main amd64 lsphp74-imap amd64 7.4.12-1+xenial [29.4 kB]
Get:8 http://rpms.litespeedtech.com/debian xenial/main amd64 lsphp74-mysql amd64 7.4.12-1+xenial [44.3 kB]
Fetched 8,672 kB in 0s (24.1 MB/s)
Selecting previously unselected package libonig2:amd64.
(Reading database ... 94193 files and directories currently installed.)
Preparing to unpack .../libonig2_5.9.6-1ubuntu0.1_amd64.deb ...
Unpacking libonig2:amd64 (5.9.6-1ubuntu0.1) ...
Selecting previously unselected package lsphp74-common.
Preparing to unpack .../lsphp74-common_7.4.12-1+xenial_all.deb ...
Unpacking lsphp74-common (7.4.12-1+xenial) ...
Selecting previously unselected package lsphp74-json.
Preparing to unpack .../lsphp74-json_7.4.12-1+xenial_amd64.deb ...
Unpacking lsphp74-json (7.4.12-1+xenial) ...
Selecting previously unselected package lsphp74-opcache.
Preparing to unpack .../lsphp74-opcache_7.4.12-1+xenial_amd64.deb ...
Unpacking lsphp74-opcache (7.4.12-1+xenial) ...
Selecting previously unselected package lsphp74.
Preparing to unpack .../lsphp74_7.4.12-1+xenial_amd64.deb ...
Unpacking lsphp74 (7.4.12-1+xenial) ...
Selecting previously unselected package lsphp74-curl.
Preparing to unpack .../lsphp74-curl_7.4.12-1+xenial_amd64.deb ...
Unpacking lsphp74-curl (7.4.12-1+xenial) ...
Selecting previously unselected package lsphp74-imap.
Preparing to unpack .../lsphp74-imap_7.4.12-1+xenial_amd64.deb ...
Unpacking lsphp74-imap (7.4.12-1+xenial) ...
Selecting previously unselected package lsphp74-mysql.
Preparing to unpack .../lsphp74-mysql_7.4.12-1+xenial_amd64.deb ...
Unpacking lsphp74-mysql (7.4.12-1+xenial) ...
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
Setting up openlitespeed (1.6.17-1+xenial) ...
dpkg: error processing package openlitespeed (--configure):
subprocess installed post-installation script was killed by signal (Killed)
Setting up libonig2:amd64 (5.9.6-1ubuntu0.1) ...
Setting up lsphp74-common (7.4.12-1+xenial) ...
root root 1733 /var/lib/php/sessions
Setting up lsphp74-opcache (7.4.12-1+xenial) ...
Not replacing deleted config file /usr/local/lsws/lsphp74/etc/php/7.4/mods-available/opcache.ini
Setting up lsphp74 (7.4.12-1+xenial) ...
Not replacing deleted config file /usr/local/lsws/lsphp74/etc/php/7.4/litespeed/php.ini
Setting up lsphp74-curl (7.4.12-1+xenial) ...
Not replacing deleted config file /usr/local/lsws/lsphp74/etc/php/7.4/mods-available/curl.ini
Setting up lsphp74-imap (7.4.12-1+xenial) ...
Not replacing deleted config file /usr/local/lsws/lsphp74/etc/php/7.4/mods-available/imap.ini
Setting up lsphp74-mysql (7.4.12-1+xenial) ...
Not replacing deleted config file /usr/local/lsws/lsphp74/etc/php/7.4/mods-available/mysqli.ini
Not replacing deleted config file /usr/local/lsws/lsphp74/etc/php/7.4/mods-available/pdo_mysql.ini
Setting up lsphp74-json (7.4.12-1+xenial) ...
Not replacing deleted config file /usr/local/lsws/lsphp74/etc/php/7.4/mods-available/json.ini
Processing triggers for libc-bin (2.23-0ubuntu11.2) ...
Errors were encountered while processing:
openlitespeed
E: Sub-process /usr/bin/dpkg returned an error code (1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
lsphp74-common is already the newest version (7.4.12-1+xenial).
lsphp74-common set to manually installed.
lsphp74-json is already the newest version (7.4.12-1+xenial).
lsphp74-json set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up openlitespeed (1.6.17-1+xenial) ...
dpkg: error processing package openlitespeed (--configure):
subprocess installed post-installation script was killed by signal (Killed)
Errors were encountered while processing:
openlitespeed
E: Sub-process /usr/bin/dpkg returned an error code (1)
An error occured during OpenLiteSpeed installation.
lsphp: no process found
Finished setting OpenLiteSpeed WebAdmin password to mypassWord.
Finished updating server configuration.
Generating a 2048 bit RSA private key
..+++
.............+++
writing new private key to 'example.key'
-----
/usr/local/lsws/conf/httpd_config.conf is missing. It appears that something went wrong during OpenLiteSpeed installation.
Trying to stop some web servers that may be using port 80.
Can't determine the Home of LiteSpeed Web Server, exit!
[ERROR] Failed to start litespeed!
Can't determine the Home of LiteSpeed Web Server, exit!
[ERROR] Failed to start litespeed!
Please be aware that your password was written to file '/usr/local/lsws/password'.
Installation finished. Some errors seem to have occured, please check this as you may need to manually fix them.

Testing ...
Error: test webAdmin page failed.
Error: test Example HTTP vhost page failed.
Error: test Example HTTPS vhost page failed.
Errors were encountered during testing. In many cases these errors can be solved manually by referring to installation logs.
Service loading issues can sometimes be resolved by performing a restart of the web server.
Reinstalling the web server can also help if neither of the above approaches resolve the issue.

If you run into any problems, they can sometimes be fixed by running with the --purgeall flag and reinstalling.
If you have an existing certificate and private key for your site, you will need to replace the example.key and example.crt in /usr/local/lsws/conf with these files.
Thanks for using "OpenLiteSpeed One click installation".
Enjoy!

lskagan
Dolirow
 
#12
Last edited:
Top