Hello!
Lucee 5.4.6.9 installer (connector and modcfml true) fails on CentOS 9.
Error: apachectl: The “-M” option is not supported.
As per RHEL 9 documentation: " The apachectl
command now fails instead of giving a warning if you pass additional arguments."
The process to install/configure Lucee is automated and the installer comes in very handy to get everything done. I guess we could do a plain Lucee install and run mod_proxy and mod_cfml post-install.
Are there any plans to update the installer to use httpd instead apachectl for CentOS 9?
Many thanks!
OS: CentOS 9
Lucee Version: 5.4.6.9
One workaround is to install Lucee in unattended mode and make use of the installer variables or OptionFile.
Supply the httpd location here: apachecontrolloc=/usr/sbin/httpd (update your path).
httpd can handle -M argument and the install completes. There’s still an error as httpd can’t handle restart (apachectl does), but that’s not an issue, run apachectl restart
after install.
Cheers!
For a full example, I had to adjust my script to the following:
./lucee-5.3.8.189-linux-x64-installer.run --mode unattended --luceepass 123456 --installconn true --apachecontrolloc /usr/sbin/httpd
1 Like
Fyi, on a legacy app running Lucee 4.5, the installer hangs (whether manual or unattended). That doesn’t seem to be an issue on 5.3+
A hack to get around this is to set a timeout. But we are moving this app to 5.x anyhow.
timeout 120s ./lucee-4.5.2.018-pl0-linux-x64-installer.run --mode unattended --railopass 123456 --installconn true --apachecontrolloc /usr/sbin/httpd