Trying again as I’ve hit a cul-de-sac with any further information.
Installing a fresh Lucee 5.4.5.23 on an AWS Linux 2024 box.
I have installed apache, ran the Lucee installer and got tto the point where the error
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:
Lucee works and has picked up by instance in /tomcat/webapps instance but
Listing the modules which on this system is
httpd -M
Does not list the mod_proxy or mod_cfm modules as loaded. Which presumably means the connector is not going there.
There doesnt appear to be any instructions other than just running the installer for me to reference to try and fix this. Would running this on another flavour of linux (other than AWS 2023 or Linux 2 - which is dropping support) be a better idea?
start lucee, if you installed it as a service
systemctl start lucee
start apache
systemctl start httpd
Now if your ports are not already open
firewall-cmd --zone=public --add-service=http --permanent
firewall-cmd --zone=public --add-service=https --permanent
Thanks I have one question, trying to find where I put the export Application.cfc in CFadmin on source (production server) on the new commission server to bring over the DSN and mappings etc?
I am not running CommandBox so cant just export it all
I’ve had great success with AlmaLinux and I also use AJP (Apache JServ Protocol) for more efficient communication between Apache and Tomcat compared to using standard HTTP.
Thanks. Much appreciated, I got that part just not where the information gets imported to. I set all the mappings and DSN at the server level not the individual web context
Ok here’s what I did with only Lucee installed so far, no other vhosts - as in my production server all the DSN and mappings are set at this level.
In: /opt/lucee/tomcat/webapps/ROOT/Applcation.cfc (this file already exists)
Pasted my export from production server, restarted, but none of the values are present.
I could be mistaken but my understanding of Application.cfc is that it only applies to each webroot, not the entire server? See below, screenshot from Lucee Admin > Settings - Request.
What I do is copy/paste <data-sources> and <mappings> from/to:
Thanks, that what I was hoping to do but there are no entries in my lucee-server.xml.cfm files (they do exist) I’ve searched and cannot find any in the ROOT (cfadmin) or in my context for the actual website.