Category: LiteSpeed

  • How to update LiteSpeed License from command line

    How to update LiteSpeed License from command line

    If you want to change the License key for your LiteSpeed webserver, you can do the following.

    cd /usr/local/lsws/conf
    mv serial.no serial.no.old
    mv license.key license.key.old
    

    Create file

    vi serial.no
    

    Inside the file, paste your LiteSpeed webserver license key.

    Restart LiteSpeed

    /usr/local/lsws/bin/lshttpd -r
    /usr/local/lsws/bin/lswsctrl restart
    

    Verify LiteSpeed License with command

    /usr/local/lsws/bin/lshttpd -V
    

    verify litespeed license

    See LiteSpeed

  • libnsl.so.1: cannot open shared object file: No such file or directory

    While installing LiteSpeed web server on a Cpanel server running on ALMALINUX 8.4, I get an error

    /usr/src/lsws/lsws-6.0.9/admin/fcgi-bin/admin_php5: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory

    To fix the error, install libnsl package

    yum install -y libnsl
    

    Back to LiteSpeed