Hi All.
I FINALLY got it working today ! Yeah me!
I dont know why the install script barfed (I tried it 3 times, same result
after scraping it all back out each time), but after a day or so of
tweaking stuff, it magically appeared for one, then I was able to add the
rest of the sites that use CF.
For those in the same boat, I have documented my steps:
Install Lucee:
wget
http://railo.viviotech.net/downloader.cfm/id/133/file/lucee-4.5.1.000-pl0-linux-x64-installer.run
chmod 755 lucee-4.5.1.000-pl0-linux-x64-installer.run
./lucee-4.5.1.000-pl0-linux-x64-installer.run
(mine then errors out at the end)
At the bottom of httpd.conf, a block should have been added:
Allow from 127.0.0.1
ProxyPreserveHost On
ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2
ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ http://127.0.0.1:8888/$1$2
ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8888/$1$2
# optional mappings
#ProxyPassMatch ^/flex2gateway/(.*)$
http://127.0.0.1:8888/flex2gateway/$1
#ProxyPassMatch ^/messagebroker/(.*)$
http://127.0.0.1:8888/messagebroker/$1
#ProxyPassMatch ^/flashservices/gateway(.*)$
http://127.0.0.1:8888/flashservices/gateway$1
#ProxyPassMatch ^/openamf/gateway/(.*)$
http://127.0.0.1:8888/openamf/gateway/$1
#ProxyPassMatch ^/rest/(.*)$ http://127.0.0.1:8888/rest/$1
ProxyPassReverse / http://127.0.0.1:8888/
Add your virtualhost entries to httpd.conf as usual.
Then add a block to the bottom of /opt/lucee/tomcat/conf/server.xml for
each domain/site (watch trailing slashes! and only change THINGS
CAPITALIZED):
www.DOMAIN.TLD
Then you have to add 2 directories for each site:
mkdir /{website root path}/WEB-INF
mkdir /{website root path}/WEB-INF/lucee
And then give them proper ownership
chown -R {lucee-user}:{lucee-user} {website root path}/WEB-INF
(you might have to add the user, if the script didnt, like in my case)
Then I restarted services in this order:
service tomcat restart
/opt/lucee/lucee_ctl restart
/usr/sbin/apachectl restart
Check and they should be working.
Tweak then as necessary
Hint: Once working, COPY/BACKUP the working httpd.conf and server.xml in
case you break it, you can refer back to a known-good config !
I am quite anxious to get playing with features brought about since CFMX6
My humble Thanks to everyone who assisted!
JimOn Tuesday, June 9, 2015 at 2:56:59 PM UTC-5, Jordan Michaels wrote:
Hi Jim,
The part of the installation that failed is the “glue” that copies over
our Apache virtual hosts and creates contexts for them automatically in
Tomcat. You can install this part manually if you need to, as there are
detailed instructions over at modcfml.org:
http://www.modcfml.org/index.cfm/install/web-server-components/apache-on-centos/
Personally, I would be interested to know why the script failed. What
happens when you run the script manually?
/opt/lucee/sys/install_mod_cfml.sh -m install -l /opt/lucee
-f /etc/httpd/conf/httpd.conf -c /usr/sbin/apachectl
Do you get a more detailed error message?
The mod_cfml project as just recently been updated. The version that gets
installed by the current Lucee installers is the slightly older mod_perl
version. The newest version is now a native Apache .so module, so if you
can, I’d recommend installing the latest version.
I apologize for not seeing this message earlier. I’ve been buried under a
pile of other projects… I will try to keep a closer eye on things.
-Jordan
----- Original Message -----
From: “Jim Kinter” <j...@k5ktf.com <javascript:>>
To: lu...@googlegroups.com <javascript:>
Sent: Sunday, June 7, 2015 9:57:26 PM
Subject: [Lucee] Lucee Noob/CF experienced
Noob Alert.
Just today found and installed Lucee on CentOS7 (64-bit) using Apache
2.4.6, PHP 5.4.16. Tomcat 7.0.54
Took me a bit to find the *nix installer, but got it, ran it, took all
defaults except password and log file.
Got an error towards the end:
Warning: Problem running post-install step. Installation may not complete
correctly
Error running /opt/lucee/sys/install_mod_cfml.sh -m install -l /opt/lucee
-f /etc/httpd/conf/httpd.conf -c /usr/sbin/apachectl : Error: Nothing to
do
But it APPEARS to be working…
Took me even a bit more to find /lucee/admin/web.cfm to admin the thing.
So now Im kind of at a loss on how to hook this up to CF web sites that I
have migrated all to a new box.
They were all built and running on CFMX6, and moving to a new 64-bit
system, I had to do something, and a friend turned me on to Lucee
yesterday.
Im using the name-based hosting, and they all work currently, just those
needing CF backend sit kind of dumb as a stump at the moment.
What needs to be done to get virtual name-based sites running through
Lucee?
I would go and try to get hints from the old CFMX admin page on the old
server, but well, it died a horrific death and I cannot get back into it
anymore (hence the new machine up and coming). And silly me did not back
up the CF Admin stuff, as I figured I would be reinstalling it if
something ever happened…
forehead palm
I understand *nix docs are a bit thin at the moment, and I would be glad
to
share what all I find (I could write up something for the Wiki, etc)
I just need this one thing to get me moving forward again.
Thanks
Jim
–
You received this message because you are subscribed to the Google Groups
“Lucee” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to lucee+un...@googlegroups.com <javascript:>.
To post to this group, send email to lu...@googlegroups.com <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/lucee/0e9e0093-d134-4979-a5cc-22cdf1955ebb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.