Custombuild reinstalling Litespeed mutiple times causing web server restart and service interruption

goftari

Verified User
Joined
Jun 18, 2022
Messages
10
Hello all,
I did trigger the LSWS6.1 installation using custombuild from the DirectAdmin admin web panel a few weeks ago. apparently it did not take place due to some errors.
Two days ago when I was trying to build exim_conf using custombuild, I encountered an issue with the build tool lock file where I renamed the file to be able to proceed with the operation. After which,I am encountering unexpected restarts of Litespeed web server which is causing disruption to the 24/7 service I am maintaining.
While inspecting Directadmin custombuild logs, I figured out that custombuild is trying to install Litespeed over and over, causing web server restarts afterwards.
Could anyone please help me figure out why installation is taking place repeatedly and how to fix it?
@zEitEr
 
Last edited:
Hello,

It will help us to understand your issue if you post here output from custombuild. What do you get when trying to install LiteSpeed?
 
Hi Alex,
Thanks for your reply.
The log file for the last custombuild run is attached. It is reinstalling Litespeed 6.1 over and over in several time intervals (ranging from 8 to more than 12 hours).
 

Attachments

Is LiteSpeed running at all? It is not clear for me, since you wrote the installation failed. If you are running another webserver Apache, Nginx, or OpenLiteSpeed you might completely remove LiteSpeed from the server and change the webserver option in custombuild.

I found the following errors:

Code:
cp: cannot stat '/usr/local/directadmin/custombuild/lsws-6.1/LICENSE.txt': No such file or directory
chown: cannot access '/usr/local/lsws/LICENSE.txt': No such file or directory
chmod: cannot access '/usr/local/lsws/LICENSE.txt': No such file or directory
Failed to execute operation: Too many levels of symbolic links
[ERROR] failed to enable lshttpd.service in systemd!

I can not say how much are they critical, and whether or not can they cause the issue you are writing about.
 
LSWS version 6.1 is running normally. The issue is that custombuild is apparently stuck reinstalling it causing server restart every time.
May be the errors you mentioned the cause for this issue? is there any solution for this issue?
Thanks for helping
 
Never seen custombuild trying to reinstall anything without admin's intention. If it is really so, then it would be the first time for me.

We don't use LiteSpeed on Poralix's server, and I never faced the issue (of course if you identified case correct), so I don't have a ready-made solution.

The logfile says:

Code:
Installation of LiteSpeed 6.1 is now complete.

So it's rather confusing.

Anyway, if your license includes Directadmin supports, then you'd better open a ticket with them and provide them with an access to your server, so that they could check it for you.
 
Back
Top