I am gonna take some time to write about how bad my experience with AIT.com has been but for now I think its much more important to document the good things in life.

I finished successfully setting up ColdFusion MX 7 running on Centos 4.4 this morning. The server is running great. I actually had an incredible guide on this jouney as Steven Erat has done a breezo of installing CF on RHEL 4. For those who dont know, Centos is a recompilation of the linux source provided by a popular US linux distribution. So the setup on these to linux distributions is actually identical.

In Steven’s presentation he outlined all the pitfalls of the standard installation. Because I am running this on a dedicated server that is hosted remotely, I could not get the source from the DVD as his instructions mention. This is in response to fixing the “Graphing Service” error for systems not running an X interface. But because centos uses yum I was able to get the missing lib very easily.

yum install xorg-x11-deprecated-libs

After my install was complete I ran into a couple other small issues that took some time to sort out. The first of which as that starting ColdFusion took on average 350 seconds. This is not a sad server. I expected better. I was also not able to connect to cf when using wsconfig to set up apache. After a couple days of troubleshooting I did a search on the slow cf startup time problem and found this Adobe technote. To paraphrase the technote, the problem is that the name of the server was aliased to the public ip address of the machine. This was forcing local traffic through the firewall which blocked all but the essential ports. Once I made a small change in /etc/hosts to have the server name reference localhost, all my other issues went away. ColdFusion now starts up in under 10 seconds usually.

I just wanted to post my notes here in case somebody else runs into this in the future. Big thanks to Steven Erat for posting his guide for the installation.