Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


How to install Coldfusion 9 on Linux server

Posted on 2010-11-27
Medium Priority
Last Modified: 2012-08-14
I recently leased a dedicated server from
It is a Linux 32-bit running CentOS5, and I am using the Plesk Control Panel.
Apache and MySQL are already running on the machine.

I am developing on a MacBook pro and using the terminal to connect to my server via SSH.

I also just purchased a Coldfusion license and downloaded the .bin file from Adobe's website (Linux-compatible).  The .bin file is sitting on my Desktop, and I really don't know where to go from here.

I have installed and uninstalled CF developer edition several times on my local machine, but this will be my first time working with a remote server, installing a REAL CF license, and especially my first round working with SSH.

I just need to know the steps for getting CF installed on my new Linux server.  Can anyone point me to a step-by-step resource for this?  Or, can anyone actually walk me through this process?


Question by:chaseivey
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 5

Expert Comment

ID: 34224915
You will need to get the Plesk PowerPack addon which supports the Cold Fusion. The autosinstaller on the shell should allow you to install it once the PowerPack license addon is added.

After that you can configure it in Plesk gui under 'Servers'.
LVL 35

Expert Comment

ID: 34225218
Please follow the steps listed here:

This will tell you how to execute the .bin file and configure the server.
There is no need for Plesk or add-ons.

Author Comment

ID: 34227470
Thanks torimar,

I have successfully installed CF9 on my machine at this point, but it's having a problem connecting with Apache.  I am running Apache 2.2.3 with CF9.  Are there any issues that you know about this type of installation?  Everything I see online seems to infer that there is a directory discrepancy during the install and that the connectors' file paths must be changed.  Do you know anything about this?

Right now, I have both CF9 AND Apache running, but my site isn't working, neither can I access the CF Administrator to finish the configuration.  :(
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

LVL 35

Expert Comment

ID: 34229255
These howtos seem to be more in-depth in terms of adjusting paths and the like: 
(start reading at the middle of the first page beginning with "At this point you need to download Coldfusion 9")

But: I need to apologize, both to you and to RizyDeWino. The howtos I posted (including those above) are for stand-alone CF server installations. I had read your original post twice, and when revisiting I somehow skipped the lines where you say that you have Plesk installed on your server. Sorry.

And here's where the problems begin:

As you can see in these two posts from the Plesk and the Coldfusion user forums:
up to September/October this year, Plesk 9.5 did not support Coldfusion 9, only earlier versions.

And checking by this "What's new" document on Plesk 10, the support does not seem to have been integrated as yet:

The problem, to make this clear, has got nothing to do with Linux at all, as Plesk is not Linux or a part of it: it is a commercial cross-platform hosting panel software specifically designed to help people avoid having to deal with Linux. When you use the Plesk panel for administering your server, you need to learn Plesk first and foremost, not Linux.

As I see it, you have the following options right now:
1. Follow the advice by RizyDeWino above (chances of success not very high, because I think it would require a CF version below 9)
2. Follow the howtos posted by me, simply ignoring the existence of Plesk and hoping it will work  (low chances)
3. Run a Linux OS without Plesk (perfect chances - depends on Godaddy though: they must offer you to install a pure Linux OS w/o Plesk; removing Plesk from a Linux + Plesk install is not really advisable)
4. Get Coldfusion 8 instead (good chances, although you will still have to tackle with Plesk)

Alternatively, you could also write an email enquiring after the best course of action and send it to the customer service of a) Godaddy, b) Adobe and c) Parallels.

Author Comment

ID: 34231296
Thanks torimar,

I've followed the instructions, and I got stuck at one point, here:
Check whether you have following file on the file system,


If Yes, go to label "Final"

If No, Continue with following instructions,

Grant permission to following three files (permissions should be same as the httpd file)






chcon --reference=/usr/sbin/httpd \/opt/coldfusion8/bin/

chcon --reference=/usr/sbin/httpd \/opt/coldfusion8/bin/connectors/

chcon --reference=/usr/sbin/httpd \/opt/coldfusion8/runtime/lib/wsconfig.jar


I know that the '' file is not there, I just have 'mod_jrun20.c' and a couple others, but they don't have the .so extension.

When I go to grant permission to these files, it tells me "no data available" for /usr/sbin/httpd.  Is this fine, or is there something I missed?  If I keep going, nothing changes, so I assume this "no data available" message is a problem when trying to give these files permissions.

Please let me know. :)

Author Comment

ID: 34231319
P.S. I was referring to the first link, I haven't checked out the second link yet.

Author Comment

ID: 34231539
The second link is for Ubuntu.  I'm on CentOS 5, so I think I'm following the right link.  Please let me know what I'm missing.("no data available")  I can't find a SINGLE other resource for installing CF9 on Apache 2.2.3 in CentOS 5.
LVL 35

Expert Comment

ID: 34232320
The link is a bit older and for CF 8. According to this source the connector for Apache 2.2+ should be
But I guess that library wasn't present either?

- "no data available":
Did you adjust the coldfusion folders to match your installation? You shouldn't have a 'Coldfusion8' folder.
Does the file, link or folder /usr/sbin/httpd exist at all? Where does it point to or what does it contain?
I'm no specialist for Plesk because I try to avoid it wherever possible, but given my experience with hosting control panel software they often create their own jailed copies of the servers they are running/installing. If this is the case, then you would have to look for "httpd" inside the Plesk installation folder tree which usually is: /usr/local/psa and /usr/local/psa/bin.


Author Comment

ID: 34233504
I did change the 'coldfusion8' references to 'coldfusion9'.  And you are correct, the '' is not present either.  I just have these: mod_jrun20.c, mod_jrun20.h, and mod_jrun22.c

I looked inside /usr/locl/psa and /usr/local/psa/bin and did not find 'httpd'.
(Although Plesk is installed, I'm not really using it at all.  I'm trying to do everything through SSH)

I DID find 'httpd' in /usr/sbin and ran a 'cat' command to see what was inside....MAN!
It spit out a TON of what seemed like gibberish.  What exactly am I looking for in this mess of code?
 (thanks for your help btw, I think we're close)
Please let me know what to do from here. :)


Author Comment

ID: 34233696
I just noticed these posts in that link:
Rocco said...

    Looks like I am having the same issues as Ben. The chcon command comes back with a "no data available" error. Adobe doesn't make this easy, do they? :)

    I have confirmed that the apache binary is located in the location of /usr/sbin/httpd
    January 9, 2009 8:19 AM
Anonymous said...

    Hi, thanks for the instructions.. it worked without a flaw in CENTOS5.2
    Just some pointers.
    1) disable SELINUX (if its not an issue )
    2) make sure httpd-devel is installed prior.
    3) Do not include java install during install.
    4) When you create admin account for cfserver to use make sure your passwords match when you provide it to CF install
    5) CF programmers your application.cfc should be actually Application.cfc or Application.cfm and OnRequestEnd.cfm (Linux is very picky)
    Again thank you for this post.

Do you agree with the anonymous solution?  If so, how exactly do I disable SELINUX and install httpd-devel (or find out if it IS installed)?  Also, I don't remember installing Java during CF install, but I'm not sure.
LVL 35

Accepted Solution

torimar earned 1000 total points
ID: 34247136
Do you agree with the anonymous solution?

Frankly, I don't know. I am in no position here to reproduce the scenario, not even the one of a 'normal' CF installation (which these instructions are meant for), let alone the one of an installation on a Plesk system.

If so, how exactly do I disable SELINUX

In a root terminal, type:
setenforce 0

Then open the file /etc/selinux/config and change the setting:


and install httpd-devel (or find out if it IS installed)?

As root type in the terminal:
yum install httpd-devel

If you receive dependency issues or package problems, you may need to add these additional repositories:

There is also a slight chance that an installed Plesk could complicate these matters.

Author Closing Comment

ID: 34258088
I did those things, and after a few tries it started working.
LVL 35

Expert Comment

ID: 34258221
Great, good to know.

To be honest, I would have expected more difficulties to come.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently while working on a project I got a very annoying cfdocument has no body error message. I had never seen this error before. So I checked the code. The code was pretty simple; it was Just showing me the cfdocumnt tag and inside that tag a …
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question