[Resolved] error Cannot find RUBY installation on Directamdin

#1
Hi,
I have a Directadmin server with CB2.0. When I want to install litespeed I get the
following error:
"Cannot find RUBY installation, remember to fix up the ruby path configuration before you can use our easy RubyOnRails setup"
Any help is appreciated.
 
#5
That should not affect LiteSpeed starting. Is there anything else in the logs?
Here's the installation log:
./build litespeed
Backing up certificate and key, and turning off httpd for DirectAdmins's check.
Found /usr/local/directadmin/custombuild/httpd-2.4.25.tar.gz
Extracting /usr/local/directadmin/custombuild/httpd-2.4.25.tar.gz...
Found /usr/local/directadmin/custombuild/apr-1.5.2.tar.gz
Extracting /usr/local/directadmin/custombuild/apr-1.5.2.tar.gz...
Found /usr/local/directadmin/custombuild/apr-util-1.5.4.tar.gz
Extracting /usr/local/directadmin/custombuild/apr-util-1.5.4.tar.gz...
Patching apache for hardened symlinks patch...
patching file include/http_core.h
patching file server/core.c
Hunk #2 succeeded at 1710 (offset 162 lines).
Hunk #3 succeeded at 1953 (offset 223 lines).
Patching srclib/apr-util/dbm/sdbm/sdbm_private.h...
patching file dbm/sdbm/sdbm_private.h
Patching apache to suexec safedir path...
patching file configure.in
Hunk #1 succeeded at 745 (offset 5 lines).
patching file support/suexec.c
Hunk #1 succeeded at 315 (offset 1 line).
Hunk #2 succeeded at 501 (offset 1 line).
Hunk #3 succeeded at 545 (offset 1 line).
Hunk #4 succeeded at 612 (offset 1 line).
Hunk #5 succeeded at 626 (offset 1 line).
Patching apache to allow SuexecUserGroup in Directory context...
patching file modules/generators/mod_suexec.c
patching file support/suexec.c
Hunk #1 succeeded at 309 (offset 1 line).
increasing FD_SETSIZE in os/tpf/os.h ..
Removing all apache related rpms...
All apache related rpms have been removed.
Restoring certificate and key, and turning on httpd for DirectAdmins's check.
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Checking to ensure /etc/httpd/conf/ssl.crt/server.ca is set.
Using 185.116.160.151 for your server IP
Found /usr/local/directadmin/custombuild/lsws-5.1.15-ent-x86_64-linux.tar.gz
Extracting /usr/local/directadmin/custombuild/lsws-5.1.15-ent-x86_64-linux.tar.gz...
read(): No such file or directory
Installing LiteSpeed 5.1.15...

Installing LiteSpeed web server, please wait...

Cannot find RUBY installation, remember to fix up the ruby path configuration
before you can use our easy RubyOnRails setup.

groupadd: group 'lsadm' already exists
useradd: user 'lsadm' already exists
[OK] The startup script has been successfully installed!

[OK] The startup script has been successfully installed!
LiteSpeed serial number not found. Using a trial key.
Restarting litespeed.
./build: line 978: 31855 Killed ${INITDDIR}/${SERVICE_NAME} ${SERVICE_ACTION}
Installation of LiteSpeed 5.1.15 is now complete.
Admin panel address: http://hostname.example.com:7080. Please make sure that port 7080 is open in firewall.

And the litespeed wil not start when I use service lsws restart!!!
Any help is appreciated.
 

Jon K

Administrator
Staff member
#7
Your server IP has used a trial license before and it has expired. You should purchase a license or log a ticket with us to ask for a trial extension. Please copy your serial number file to /usr/local/lsws/conf/ or download a new trial key.
 
Top