|
Mailing Lists
|
Home /
Groups /
ColdFusion Linux (CF-Linux)
Apache 2 2 3, Red Hat 5, ColdFusion 8 Install Problems
Check your /etc/hosts file and remove any references to IPv6, and thenRichard Bessey 11/10/08 12:08 A At one point you had to compile a custom connector for Apache 2.2 (youBarney Boisvert 11/10/08 12:24 A >At one point you had to compile a custom connector for Apache 2.2 (youWill Blake 11/10/08 10:14 P willblake@printelect.com wrote:Ryan Stille 11/10/08 11:58 A > willblake@printelect.com wrote:Will Blake 11/10/08 10:08 P I have always noticed that also when installing CF8 and CF7, I haveRichard Bessey 11/10/08 10:13 P >I have always noticed that also when installing CF8 and CF7, I haveWill Blake 11/10/08 10:17 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 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? 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 ----- 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 ----- ----- 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 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 ----- 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. 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 ----- ----- 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? 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 ----- 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 ----- ----- 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 > 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 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 -----
|
June 19, 2013
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||