[Resolved] LSWS 4.0.13 to 4.0.14 upgrade ?

eva2000

Well-Known Member
#1
Got a VPS with cpanel and litespeed 4.0.13 on it wanting to upgrade to 4.0.14 but when I follow doc at http://www.litespeedtech.com/docs/webserver/install/ and run ./install.sh there is no prompt to select upgrade instead get license message and prompt for install destination directory ? :confused:

Do you agree with above license? Yes


Please specify the destination directory. You must have permissions to
create and manage the directory. It is recommended to install the web server
at /opt/lsws, /usr/local/lsws or in your home directory like '~/lsws'.

ATTENTION: The user 'nobody' must be able to access the destination
directory.

Destination [/usr/local/lsws]:
what's proper method to update ?

thanks
 
Last edited by a moderator:

eva2000

Well-Known Member
#3
Thanks did that but ssems after upgrade still says 4.0.13 in my admin area for litespeed ?

Destination [/usr/local/lsws]: /usr/local/lsws


Found old configuration file under destination directory /usr/local/lsws.

To upgrade, press 'Enter', current configuration will not be changed.
To reinstall, press 'R' or 'r'.
To change directory, press 'C' or 'c'.

Would you like to Upgrade, Reinstall or Change directory [U/r/c]? U

Binary files /usr/local/lsws/conf/license.key and /root/lsws-4.0.13/license.key differ
License key and serial number are available, testing...

find: /proc/irq/: No such file or directory
[OK] Leased license key 1 will expire in 30 days!

Would you like to reset the login password for Administration Web Interface [y/N]? n

Chroot is disabled with your current setup.

Would you like to change chroot settings [y/N]? n


Installing, please wait...

groupadd: group lsadm exists
useradd: user lsadm exists
patching file /usr/local/lsws/conf/httpd_config.xml
Reversed (or previously applied) patch detected! Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file /usr/local/lsws/conf/httpd_config.xml.rej
Warning: --directory (-d) option is undocumented and no-op.
Use -rf for deleting non-empty dirs

LiteSpeed Web Server Plugin for WHM Installed.
You can access it from WHM web console plugins section.

Congratulations! The LiteSpeed Web Server has been successfully installed.
Command line script - "/usr/local/lsws/bin/lswsctrl"
can be used to start or stop the server.

It is recommended to limit access to the web administration interface.
Right now the interface can be accessed from anywhere where this
machine can be reached over the network.

Three options are available:
1. If the interface needs to be accessed only from this machine, just
change the listener for the interface to only listen on the loopback
interface - localhost(127.0.0.1).
2. If the interface needs to be accessible from limited IP addresses or sub
networks, then set up access control rules for the interface accordingly.
3. If the interface has to be accessible via internet, SSL (Secure Sockets
Layer) should be used. Please read respective HOW-TOs on SSL configuration.

To change configurations of the interface, login and click
"Interface Configuration" button on the main page.
The administration interface is located at http://localhost:<ADMIN_PORT>/
or http://<ip_or_Hostname_of_this_machine>:<ADMIN_PORT>/


The default configuration file contain support for both PHP4 and PHP5,
A prebuilt PHP4 binary comes with this package, however, we recommend
you to build your own PHP4 and PHP5 binaries though our web console with
the same configuration parameters as your current PHP installation. You
can check your current PHP configuration via a phpinfo() page.

Press [ENTER] to continue



When you replace Apache with LiteSpeed, remember to stop Apache completely.
On most Linux servers, you should do:

service httpd stop
chkconfig httpd off
or
service apache stop
chkconfig apache off

If "Port Offset" has been set to "0", you should do it now.

Press [ENTER] to continue


Would you like to restart it right now [Y/n]? y

[OK] Send SIGUSR1 to 8020

LiteSpeed Web Server started successfully! Have fun!
 
Top