pf » Linux getting the shaft in ColdFusion 7
Linux getting the shaft in ColdFusion 7
I was just looking at the Linux system requirements for ColdFusion MX 7. For supported linux operating systems, it lists:
- Red Hat Enterprise Linux AS & ES 2.1 or 3.0
- SuSE Linux Enterprise Server 8.x
- TurboLinux 8 Server (Japanese only)
In 6.1 the Supported Linux Operating Systems included:
- Red Hat Linux 7.2, 7.3, 8.0, 9, AS & ES 2.1, AS & ES 3.0
- SuSE Linux 7.2, 7.3, or 8.x
- TurboLinux 8 Server (Japanese Only)
- Linux for zSeries: SuSE Linux Enterprise Server 8 Service Pack 2 running in 31-bit mode
What I'm wondering is - where is SuSE Linux Enterprise Server 9? It has been out since Aug 2004. If I were going to setup a SuSE/CFMX install, I would probably want to go with SuSE 9 - the reason for that, is so I don't have to upgrade my OS, the next time MM drops support for older linux distros (like they did from 6.1 to 7.0). I don't have a problem with MM dropping old distros, I just want to see support for current version, I don't even see where you can get SuSE 8 on their site.
There are also no free linux distros supported eg Debian, or Fedora might be good choices.
I do understand that Macromedia will not support an OS just because a few vocal people think its a good idea. They like to have some numbers, so I started a poll on my site (lower left). And you can also post a comment with the distro you would like to see supported.
I also asked Tim Buntel about doing a survey for linux like they did for Mac OSX, and he said - he would post something on his blog about it, if it is something they think they need community input for.
Update - As of ColdFusion MX 7.0.1 updater 1 SuSE 9 is now supported, Red Hat Linux AS 3.0, 4.0 are supported, and support for Redhat 2.1 was removed.
Also, a good argument on the importance of Linux as a server can be made from an IDC report last Fall. Here's a couple reviews of that report:
http://www.serverwatch.com/news/article.php/3439721
http://news.com.com/IDC+Linux+server+sales+to+hit+9.1+billion+in+2008/2100-1010_3-5479681.html
Ryan, I know that CF works on unsupported platforms, and I have run 6.1 on both debian, and gentoo. I agree though, it would be nice if MM had different support levels, like works, and supported.
When installing CF, some packages, along with your distro, are required to be installed. SUSE 9 offers an updated set of packages than what is included on SUSE 8, so it really is a compatibility issue. If I recall corretly, the initial issue with SuSE 9 is that the installation uses deprecated syntax for an command that has been updated in Suse 9. I couldn't change it to the correct syntax b/c that part of the .bin installation file was encrypted.
MACR doesn't say you are liminted to only RedHat, SUSE, and TurboLinux. They just say that those are the only suppoted platforms. You are not limited to the packages that are included on a particular Linux distro. If you can find the right combination of required packages, the you should be able to install CF with no issues.
For example, the SUSE installation I'm using for CF is under 400MB. Remember, I am only running what I need.
The big problem with the supportability comes from some of the 3rd party tools (particularly the Verity engine) since they will only support certain OSes and versions. If you don't use Verity my guess is that you could probably CF on just about any variant of Linux out there.
I haven't installed ColdFusion on Mandrake, but I have installed various versions of BlueDragon on Mandrake 9.x and 10.x... The first version of BD was 3.01, way back when.... That box is out of service, but ran very well. I set up a Mandrake 10 and BD 6.x box for someone and couldn't use Mandrake's default apache installs, probably because of their auto-upgrade / auto-downgrade apache thing... Source download/compile/install. Worked great and has been running for about 300 days with no problems.
But these simple settings must not be a "real" problem for a Linux user who has selected Linux as server OS.
I'm installing the 'multiserver' option, where you can run CF in Jrun separately, enabling you to scale/cluster either the web and/or CF separately as necessary. If someone has found more information on this...I'd love to see it. I'm really enjoying SuSE so far and CF is a no brainer. Would love to kill existing Windoze machines.
However, if it's going to run on RHES then it's going to run on Fedora. I wish I had documented the tweaks that managed to get FC4/CF61 working for me but it's not tough ... (there was a shared object in the wrong location). It would make business sense for them to let the "free as in beer" crowd help themselves. <b>We all know CFLinux is a great platform.</b>
But I get 500 errors trying to access the CFIDE.
Where do you folks usually start looking to get things working?
1. Get coldfusion-70-lin.bin ($$$) 2. Distributed ( meaning server on one box and cf on another box ): If different subnet between web and JRun, then grant permission to the web server(s). ( JNDI ) <cf_root>/runtime/lib/security.properties add web server IP like this 'jrun.trusted.hosts=192.168.1.10', then restart JRun 3) Install Java 1.4 ( jre ) check with 'java -version' 3b) You should be able to open the CFadmin panel on the JRun box if you installed with the internal web server; otherwise, continue... 4) Copy cf_root/runtime/lib/wsconfig.jar to your web server filesystem 5) Run the wsconfig.jar on the web server: java -jar /tmp/wsconfig.jar - server coldfusion - ws Apache - bin /usr/sbin/httpd2-prefork - script /usr/sbin/apache2ctl - dir /etc/apache2 - map .cfm,.cfc,.cfml,.jsp - v - host 192.168.1.100 # this is the jrun server ip - coldfusion 6) Copy the CFIDE/ directory to the web root on the web server, this must match exactly with the root of jrun 7) Confirm cfadmin runs on the web server 8) Adjust the Mapping root to the web server root, again, this must exist exactly on both the web server and the jrun server. 9) Disable the internal jrun web server on the jrun server: cf_root/runtime/servers/default/SERVER-INF/jrun.xml WEBSERVER attribute:deactivated to 'true' , restart jrun 10) You are live.
My notes are very jumbled, but this was a first attempt to pulling them together, please forgive typos. Also, let me know if something doesn't wash, I might have translated my chicken-linux scratch incorrectly. :D
Let me know how it goes, Jimmy.
Have since downloaded and installed SUSE 10 and like how easy it is compared the SUSE 9.
However don't know how to get "CFMX7 running just fine" as Cody Caughlan did. If you're listening Cody would love some direction.
Hm, all I did was download the Developer edition from Macromedia.com and follow the basic installation instructions. As much as I remember (I did this a few months ago) I didnt stray off the beaten path. One thing I do remember: I did not try to install the Apache web-server adapter but let CFMX serve the pages itself.
Email me at: spamspit@gmail.com and let me know if I can help (yes, that is a spam pit email, perfect for publishing to a public web page, but I will still check it to see if you send anything).
I used the /etc/init.d/boot.local file and inserted the following line:
/opt/jrun4/bin/jrun -nohup -start cfusion &
I hope this helps.
vi /etc/hosts
look at the line under # special IPv6 addresses
comment out ::1 localhost ipv6-localhost ipv6-loopback
replace with ::1 ipv6-localhost ipv6-loopback
Presto, the connector wizard will work. Still has issues with knowing the everything in the path with some JREs, no idea why.
&laz;
After installation, I can't see the bin directory in the coldfusionmx7 directory.
Any suggestions?
Edgar, ColdFusion 7.01 does support Red Hat Enterprise Linux 4, but not Fedora (any version). You posted a comment to my blog about the C++ compatability pack. Is this the problem you are having? Please post here (or on my blog entry) the details of the problem.
I had to chenge the connector-script, the startup script and installed the needed libs and compat-rpms. But I still got an exception in the log when i started the installer. After changing the hosts, ecerything works.
http://cfblog.com/dave/index.cfm/id/Installing_CFMX_7_02_on_Suse_1
- Dear SQL Server Enterprise Manager Developer
- PostalMethods - Web Service for Snail Mail
- Mastering CFQUERYPARAM
- Google Code Search for ColdFusion
- Speaking at CFUNITED 2008
- Getting ColdFusion SQL Statements from SQL Server Trace
- CFSCRIPT Cheatsheet
- 3 New Image Effects for ColdFusion 8
RSS
add to del.icio.us
Pete Freitag is a software engineer, and web developer located in











