House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Linux (CF-Linux)

Apache 2 2 3, Red Hat 5, ColdFusion 8 Install Problems

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
willblake@printelect.com wrote:
Ryan Stille
11/10/08 11:58 A
> willblake@printelect.com wrote:
Will Blake
11/10/08 10:08 P
Will,
Richard Bessey
11/10/08 10:20 P
Will,
Ken Smith
11/11/08 08:52 A
> Will,
Will Blake
11/11/08 10:07 A
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
willblake
11/09/2008 11:45 PM

My hosting company recently upgraded my server from RHES 4 to RHES 5.  I also think I went from an older version of Apache to Apache 2.2.3.  I never had any problems installing or running CF8 until this upgrade.  I am able to install CF8 without issue, the problem is when I start CF8 for the first time and it runs the Apache Connector wizard.  I get a message that says "Coldfusion 8 not started, will retry connector X more times".  I have manually made changes to the apache_connector.sh file to point it to the right places to connect with Apache but I still get the error.  Suggestions? Background info: Coldfusion is running as cfuser the apache_connector.sh file is owned by root and in root group (I have tried both cfuser and root) Here is the information for Apache (given to my by my hosting company): Apache config File: /etc/httpd/conf/httpd.conf and /etc/httpd/conf.d/* Apache Binary File: /usr/sbin/httpd Apache Control File: /usr/sbin/apachectl Any ideas?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Richard Bessey
11/10/2008 12:08 AM

Check your /etc/hosts file and remove any references to IPv6, and then try the apache connector again. If memory serves me right, it has trouble binding to IPv6 addresses. Regards, Richard Bessey willblake@printelect.com wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Barney Boisvert
11/10/2008 12:24 AM

At one point you had to compile a custom connector for Apache 2.2 (you were on 2.0 before with RHEL 4), but I don't know if that's still the case.  It's really easy, just go find the technote on adobe.com.  I'd give a link but the damn iPhone doesn't copy and paste. cheers, barneyb On 11/9/08, willblake@printelect.com <willblake@printelect.com> wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Will Blake
11/10/2008 10:14 PM

----- Excess quoted text cut - see Original Post for more ----- Your really easy and my really easy might n ot be in the same boat.  Linux is not really my thing, however I did find a tech note that explained how to manually set up the apache connector and create the appropriate runtime files as it seems that wsconfig is not running correctly.  I got stumped when it said to extract the right file from wsconfig.jar.  How exactly do I do that?  The following is the link to the doc I am referring to. http://kb.adobe.com/selfservice/viewContent.do?externalId=121a0b29

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ryan Stille
11/10/2008 11:58 AM

willblake@printelect.com wrote: > .... I have manually made changes to the apache_connector.sh file to point it to the right places to connect with Apache but I still get the error.   Suggestions? >   What changes?  How about posting the contents of the apache_connector.sh file. -Ryan

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Will Blake
11/10/2008 10:08 PM

----- Excess quoted text cut - see Original Post for more ----- The following is the contents of the apache_connector. #!/bin/sh # # Configure the Apache connector. #  -dir should be the *directory* which contains httpd.conf #  -bin should be the path to the apache *executable* #  -script should be the path to the script which is used to #    start/stop apache # ../../runtime/bin/wsconfig \   -server coldfusion \     -ws apache \   -dir /etc/httpd/conf \   -bin /usr/sbin/httpd \   -script /usr/sbin/apachectl \   -coldfusion exit $# As has been previously stated during the install of CF8 the file paths were not updated correctly in this file, so I had to go in and manually make the changes.  

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Richard Bessey
11/10/2008 10:13 PM

I have always noticed that also when installing CF8 and CF7, I have always had to modify that file if I run it by manually. Regards, Richard Bessey Will Blake wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Will Blake
11/10/2008 10:17 PM

----- Excess quoted text cut - see Original Post for more ----- The problem is I have made the changes, it still errors when I try and start coldfusion.  How do I go about running it manually?

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Richard Bessey
11/10/2008 10:20 PM

Will, To run the installer manually, simly cd to the proper folder, cd /opt/coldfusion8/bin (I think thats the proper folder) and then run the connector manually from shell, sh connector.sh For the wsconfig.jar fix, simply rm the old wsconfig.jar and the wsconfig folder, and restart cold fusion. If memory serves me right its in the /opt/coldfusion/lib folder Will Blake wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ken Smith
11/11/2008 08:52 AM

Will, You should not need to do a full manual build of the connector with ColdFusion8. Adding the "-apxs" switch to your wsconfig command causes the connector to be built on your system. It will require that the APXS package (apache extension build tool) is installed on your system. If, necessary, install it. Install the htttpd-devel package to get apxs. However, step one should be to confirm that the Apache connector has not already been installed. Sometimes, the connector install is successful but the ColdFusion startup script is not updated to remove the call to connector.sh.  See http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=configuring_08.html and confirm that the connector is not already connected. If it is not, try running the wsconfig command, but add the apxs switch so the connector is built on your system. Regards, Ken Smith Adobe Systems, Inc. Will, To run the installer manually, simly cd to the proper folder, cd /opt/coldfusion8/bin (I think thats the proper folder) and then run the connector manually from shell, sh connector.sh For the wsconfig.jar fix, simply rm the old wsconfig.jar and the wsconfig folder, and restart cold fusion. If memory serves me right its in the /opt/coldfusion/lib folder Will Blake wrote: ----- Excess quoted text cut - see Original Post for more -----

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Will Blake
11/11/2008 10:07 AM

----- Excess quoted text cut - see Original Post for more ----- Ken,    Thanks for the info but it has been figured out not by me but someone with a lot more knowledge than I have about linux and networking.  Below is what he said: "Both the RDS user and the cfuser passwords match your current root password. The problem was that the hosts file was in correct and had the public ip associated to the hostname. When I changed this to the natted ip behind the firewall in /etc/hosts it worked. An strace on the kserver process revealed it was trying to hit the public interface on the firewall. As you cannot ingress on the same interface as you egress, the packets were getting dropped." Once he did the above all that required was a apache restart and everything is working.  Since you work at adobe maybe this is something that can be patched so people do not have to do this manually? Thanks again everyone for your help! Will

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ryan Stille
11/11/2008 10:49 AM

> Once he did the above all that required was a apache restart and everything is working.  Since you work at adobe maybe this is something that can be patched so people do not have to do this manually? > > Thanks again everyone for your help! > >   Will, I'm glad you got it working!  The problem was that your machine was configured incorrectly, I don't think this is something Adobe can patch for. -Ryan

Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Ryan Stille
11/10/2008 11:45 PM

Yes, I thought you had been running it manually, since you had to manually modify the file.  Try running it youself and see what happens.  I believe you need to be root when you do it. -Ryan Will, To run the installer manually, simly cd to the proper folder, cd /opt/coldfusion8/bin (I think thats the proper folder) and then run the connector manually from shell, sh connector.sh For the wsconfig.jar fix, simply rm the old wsconfig.jar and the wsconfig folder, and restart cold fusion. If memory serves me right its in the /opt/coldfusion/lib folder Will Blake wrote: ----- Excess quoted text cut - see Original Post for more -----


<< Previous Thread Today's Threads Next Thread >>

Search cf-linux

June 19, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
             1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30             

Designer, Developer and mobile workflow conference