Quantcast
Channel: Lucee Dev - Latest topics
Viewing all articles
Browse latest Browse all 455

Unattended Install throws apachectl: The "-M" option is not supported

$
0
0

I’m trying to script and install and setup on Alma Linux 9 (says installer is supported).
I’m on Hetzner Cloud using Alma Linux 9
I’m having trouble when it comes to running the lucee installer in unattended mode
The error I get is (running as root):

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.
Failed to install Lucee

The part of the script that installs Lucee:

# Download and install Lucee
mkdir -p /opt/lucee
mkdir -p /opt/tmp

curl -o /opt/tmp/lucee-installer.run https://cdn.lucee.org/lucee-6.2.0.321-linux-x64-installer.run || echo "Failed to download Lucee installer" >> $LOGFILE
chmod +x /opt/tmp/lucee-installer.run || echo "could not make lucee installer executable" >> $LOGFILE

/opt/tmp/lucee-installer.run --mode unattended --luceepass "@mypass" >> $LOGFILE || echo "Failed to install Lucee" >> $LOGFILE

12 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 455

Trending Articles