Problems installing the ColdFusion connector on Linux/Apache
Some people have encountered problems during the ColdFusion MX 7 install on Linux/Apache. When you first start the ColdFusion server, you may see something like this:
Configuring the web server connector (Launched on the first run of the ColdFusion MX 7 start script)
Running apache connector wizard...
=======================================
There was an error while running the connector wizard
Connector installation was not successful
The connector may or may not actually be installed. In some cases it is, but you still get this error. If it is installed, you should know it. Restart apache to make the httpd.conf changes take effect, then try browsing to a .cfm page. If it displays correctly, the connector was installed.
In this case, all you need to do to get rid of the error message is rename the /opt/coldfusionmx7/bin/cfmx-connectors.sh script. Thats normally what happens when the connector is successfully installed - ColdFusion renames that script to “cfmx-connectors-run.sh”.
If your connector did not successfully install, there are a few additional steps to get it properly installed. Change into the /opt/coldfusionmx7/bin/connectors directory. Open the apache_connector.sh file, and fix the paths to be correct to your system.
By default the file contains these lines (among others):
../../runtime/bin/wsconfig \
-server coldfusion \
-ws apache \
-dir /usr/local/apache2/conf \
-bin /usr/local/apache2/bin/httpd \
-script /usr/local/apache2/bin/apachectl \
-coldfusion
On RedHat/CentOS, they should usually look like this:
../../runtime/bin/wsconfig \
-server coldfusion \
-ws apache \
-dir /etc/httpd/conf \
-bin /usr/sbin/httpd \
-script /etc/rc.d/init.d/httpd \
-coldfusion
Even though those are the values I entered during the install, they don’t always make it to this connector script for some reason.
Save the script and run it. Restart apache, and browse to a .cfm file, or to the Administrator to verify that it is installed properly.
October 16th, 2007 at 1:52 pm
Thanks mucho!
November 10th, 2007 at 11:28 pm
FYI, I just confirmed the problem still exists in ColdFusion 8. I’m going to file a bug report with Adobe.
January 3rd, 2008 at 3:38 pm
And with Vista also.
February 13th, 2008 at 5:21 pm
I had this issue, too (Fedora 8, Coldfusion
. In addition to the apache_connector.sh script requiring a change, I needed to install the httpd-devel package. That allows the apache_connector.sh to modify and rebuild Apache to work with Coldfusion. That was “Coldfusion 8″
February 13th, 2008 at 5:25 pm
You were probably installing onto Apache 2.2.x then, instead of 2.0.2x which was more common. A recompile of the Apache module is needed when using 2.2.x.
April 29th, 2008 at 7:02 pm
With Vista it is really diificult for me.
May 10th, 2008 at 9:43 am
I have just attempted to install Coldfusion8 Standard on RedHat 5.1running Apache 2.2
The problem has not been fixed. Everytime I start up /opt/coldfusion8/bin/confusion, it reports that the connector installation was not successful.
May 9, 2008
June 23rd, 2008 at 7:19 am
CF 8 Apache 2.2 here… CentOS 5 All 64 Bit
Greg M hit it…
Do the file changes
Stop CF8
yum install httpd-devel
restart httpd
start CF8
Everything works fine now!
Thanks everyone. Easy fix
June 25th, 2008 at 3:28 am
We had the same problems but it seemed to be fixed in CF*