Lucee-5.4.6.9-linux-x64-installer.run

I’m trying to manually run the installer and get this issue –

Error running /opt/lucee/sys/install_mod_proxy.sh -m install -t 8888 -f
/etc/httpd/conf/httpd.conf -c /usr/sbin/apachectl: apachectl: The “-M” option is
not supported.
apachectl: The “-M” option is not supported.
apachectl: The “-M” option is not supported.
apachectl: The “-M” option is not supported.
Press [Enter] to continue:

I have the installer log below for reference. I used most the defaults… java etc.

OS: almalinux-release-9.4-1.el9.x86_64

Java Version: openjdk version “1.8.0_412”
OpenJDK Runtime Environment (build 1.8.0_412-b08)
OpenJDK 64-Bit Server VM (build 25.412-b08, mixed mode)

Tomcat Version: [adminuser@pl-lucee-dev-uks tmp]$ java -cp /opt/tomcat/lib/catalina.jar org.apache.catalina.util.ServerInfo
Server version: Apache Tomcat/9.0.89
Server built: May 3 2024 20:22:11 UTC
Server number: 9.0.89.0
OS Name: Linux
OS Version: 5.14.0-427.13.1.el9_4.x86_64
Architecture: amd64
JVM Version: 1.8.0_412-b08
JVM Vendor: Red Hat, Inc.

Lucee Version: 5.4.6.9

Installer log
Welcome to the Lucee Installer.


Please read the following License Agreement. You must accept the terms of this
agreement before continuing with the installation.

Press [Enter] to continue:
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Lucee Server is Copyright (c) 2020 by the Lucee Association Switzerland, and is
distributed under the LGPL v2 License:

The Apache Tomcat Server is Copyright (c) 1999-2020 by the Apache Software
Foundation and is distributed under the Apache License version 2:

The OpenJDK is made available by Oracle America, Inc. and/or its affiliates, and
is distributed under the GNU GPLv2 License:
https://www.gnu.org/licenses/old-licenses/gpl-2.0.html

Press [Enter] to continue:

Do you accept this license? [y/n]: y


Please specify the directory where Lucee will be installed.

Installation Directory [/opt/lucee]:


Java Runtime Selection

Choose to Install the bundled JRE or use the existing Java installation

Version: 1.8.0
Path: /usr/bin/java

Select Java

[1] Use existing Java: 1.8.0: Don’t install the bundled JRE
[2] Install the bundled JRE: Install the bundled JRE
Please choose an option [1] : 2


Lucee Password

Please enter in the default passwords for the Lucee Server Administrator and the
Lucee Web Administrators.

Lucee Password :
Lucee Password (confirm) :

Memory Settings

How much system memory should Lucee be allowed to use? These will be the minheap
and maxheap values assigned to Lucee’s JVM.

Minimum (mb) [256]: 256

Maximum (mb) [512]: 512


Tomcat System User

Enter in the System User Account that Tomcat will run under. Running as “root”
or “Administrator” on Windows will avoid system permission problems, while
running as a non-root user will add an additional layer of security. If you
choose to run as a non-root user, we recommend using a easily identifiable
username like “lucee” or “cfml”.


Tomcat Ports

Tomcat needs to reserve “ports” on your computer in order to serve various types
of requests. You can customize those ports using the fields below. If you are
unsure, the default values provided below are perfectly safe to use.

Tomcat Web Server Port: [8888]: 8888

Tomcat Shutdown Port (scripts): [8005]: 8005

Tomcat AJP Port: [8009]: 8009

Warning: The Tomcat shutdown port you selected is already in use.
Press [Enter] to continue:

Tomcat Ports

Tomcat needs to reserve “ports” on your computer in order to serve various types
of requests. You can customize those ports using the fields below. If you are
unsure, the default values provided below are perfectly safe to use.

Tomcat Web Server Port: [8888]: 8888

Tomcat Shutdown Port (scripts): [8005]: 8005

Tomcat AJP Port: [8009]: 8010

Warning: The Tomcat shutdown port you selected is already in use.
Press [Enter] to continue:

Tomcat Ports

Tomcat needs to reserve “ports” on your computer in order to serve various types
of requests. You can customize those ports using the fields below. If you are
unsure, the default values provided below are perfectly safe to use.

Tomcat Web Server Port: [8888]: 8888

Tomcat Shutdown Port (scripts): [8005]: 8010

Tomcat AJP Port: [8009]: 8009


Start At Boot?

Do you want Lucee to start up automatically whenever the system boots up?

Yes, Start Lucee at Boot Time [Y/n]: y


Install Apache Connector?

This option will install mod_proxy_http so that you can utilize Apache as a web
server in front of your Lucee installation. This option is recommended if you’re
using Apache.

Yes, Install Apache Connector [Y/n]: y


Install modcfml?

The mod_cfml adaptor helps make system administration easier by automatically
creating new hosts in Tomcat whenever you add a new host to your web server. To
learn more about mod_cfml, visit its website at modcfml.org. This option is
recommended for most environments.

Yes, Install mod_cfml [Y/n]: y


Bundled or custom Lucee Version

You can either install the bundled Lucee version ( 5.4.6.9 ) or select an
alternate Lucee jar to install

Select a Lucee jar :


Apache Control Script Location

Please enter the location of your apache control script. The default location
for this script is “/usr/sbin/apachectl”.

Apache Control Script Location [/usr/sbin/apachectl]:


Apache Modules Directory

Please enter the directory that apache stores it’s modules in. By default, this
directory is located at “/usr/lib/httpd/modules/” for RHEL/CentOS, and
“/usr/lib/apache2/modules/” for Ubuntu. For 64-bit systems, try changing the
“lib” directory to “lib64”.

Apache Modules Directory [/usr/lib64/httpd/modules]:


Apache Configuration File

The Apache configuration file controls how Apache processes incoming requests.
The default location of the Apache configuration file is
“/etc/httpd/conf/httpd.conf” on RHEL/CentOS and “/etc/apache2/apache2.conf” on
Ubuntu.

Apache Configuration File [/etc/httpd/conf/httpd.conf]:


Apache Logs Directory

Please enter the directory that Apache stores it’s log files in. By default,
this directory is located at “/var/log/httpd/” for RHEL/CentOS, and
“/var/log/apache2/” for Ubuntu.

Apache Logs Directory [/var/log/httpd]:


Setup is now ready to begin installing Lucee on your computer.

Do you want to continue? [Y/n]: y


Please wait while Setup installs Lucee on your computer.

Installing
0% ______________ 50% ______________ 100%
########################################Warning: Problem running post-install step. Installation may not complete
correctly
Error running /opt/lucee/sys/install_mod_proxy.sh -m install -t 8888 -f
/etc/httpd/conf/httpd.conf -c /usr/sbin/apachectl: apachectl: The “-M” option is
not supported.
apachectl: The “-M” option is not supported.
apachectl: The “-M” option is not supported.
apachectl: The “-M” option is not supported.
Press [Enter] to continue:


Setup has finished installing Lucee on your computer.

[adminuser@pl-lucee-dev-uks tmp]$ curl -f http://localhost:8080/

I’ve seen the -M Option stuff somewhere here at the forum. Take a look at this thread, it may help you:

1 Like

couldn’t get it working… gone to the docker images… Appear to be much easier. thanks for your help

1 Like