upgrade OpenLiteSpeed 1.7.19 to 1.8.0 Failed to start litespeed!

#1
# ./lsup.sh

{... ...}

-e Installation finished, Enjoy!

-e Your webAdmin password not changed.
Job for lsws.service failed because the control process exited with error code.
See "systemctl status lsws.service" and "journalctl -xeu lsws.service" for details.
sh: 0: getcwd() failed: No such file or directory
./litespeed: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
[ERROR] Failed to start litespeed!
./litespeed: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
[ERROR] Failed to start litespeed!
All files are updated and service is stopped.


# systemctl status lsws.service
× lsws.service - LSB: lshttpd
Loaded: loaded (/etc/init.d/lsws; generated)
Active: failed (Result: exit-code) since Sun 2024-02-18 03:57:04 CST; 13min ago
Duration: 4d 11h 27min 11.643s
Docs: man:systemd-sysv-generator(8)
Process: 18606 ExecStart=/etc/init.d/lsws start (code=exited, status=127)
CPU: 196ms

Feb 18 03:56:47 s14670 systemd[1]: Starting lsws.service - LSB: lshttpd...
Feb 18 03:57:04 s14670 systemd[1]: lsws.service: Control process exited, code=exited, status=127/n/a
Feb 18 03:57:04 s14670 systemd[1]: lsws.service: Failed with result 'exit-code'.
Feb 18 03:57:04 s14670 systemd[1]: Failed to start lsws.service - LSB: lshttpd.
 

Cold-Egg

Administrator
#2
Mine works fine. May I know if you downgrade to v1.7.19, and service will be active again? and which OS and version you are using?
 
#3
OS: Debian 12.5

lsup.sh -v 1.7.19,
now downgrade to v1.7.19 is OK .
try to update again,still wrong:

-e Installation finished, Enjoy!

-e Your webAdmin password not changed.
Job for lsws.service failed because the control process exited with error code.
See "systemctl status lsws.service" and "journalctl -xeu lsws.service" for details.
sh: 0: getcwd() failed: No such file or directory
./litespeed: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
[ERROR] Failed to start litespeed!
./litespeed: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory
[ERROR] Failed to start litespeed!
All files are updated and service is stopped.
 
#4
try:
apt-get install libaio1

lsup.sh -v 1.8.0
update complete:
“All files are updated and service is started.”

but , CURRENT VERSION: OpenLiteSpeed 1.7.19 New Release: 1.8.0
not 1.8.0

cat /usr/local/lsws/VERSION
1.8.0

/usr/local/lsws/bin/openlitespeed -v
LiteSpeed/1.7.19 Open (BUILD built: Wed Feb 14 20:36:16 UTC 2024)
module versions:
lsquic 3.3.2
modgzip 1.1
cache 1.64
mod_security 1.4 (with libmodsecurity v3.0.12)
 
Last edited:
Top