Apache 2.2.3, Red Hat 5, CF8 Install Problems

View: New views
13 Messages — Rating Filter:   Alert me  

Apache 2.2.3, Red Hat 5, CF8 Install Problems

by willblake :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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?




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-linux/message.cfm/messageid:4464
Subscription: http://www.houseoffusion.com/groups/cf-linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14

Re: Apache 2.2.3, Red Hat 5, CF8 Install Problems

by Richard Bessey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... wrote:

> 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?
>
>
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-linux/message.cfm/messageid:4465
Subscription: http://www.houseoffusion.com/groups/cf-linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14

Re: Apache 2.2.3, Red Hat 5, CF8 Install Problems

by Barney Boisvert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@... <willblake@...> wrote:

> 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?
>
>
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-linux/message.cfm/messageid:4466
Subscription: http://www.houseoffusion.com/groups/cf-linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14

Re: Apache 2.2.3, Red Hat 5, CF8 Install Problems

by Ryan Stille-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

willblake@... 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




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-linux/message.cfm/messageid:4467
Subscription: http://www.houseoffusion.com/groups/cf-linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14

Re: Apache 2.2.3, Red Hat 5, CF8 Install Problems

by willblake :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> willblake@... 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
>
>
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.  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-linux/message.cfm/messageid:4468
Subscription: http://www.houseoffusion.com/groups/cf-linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14

Re: Apache 2.2.3, Red Hat 5, CF8 Install Problems

by willblake :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>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@... <willblake@...> wrote:
>>

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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-linux/message.cfm/messageid:4470
Subscription: http://www.houseoffusion.com/groups/cf-linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14

Re: Apache 2.2.3, Red Hat 5, CF8 Install Problems

by Richard Bessey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:

>> willblake@... 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
>>
>>
>>    
> 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.  
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-linux/message.cfm/messageid:4469
Subscription: http://www.houseoffusion.com/groups/cf-linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14

Re: Apache 2.2.3, Red Hat 5, CF8 Install Problems

by willblake :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>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:
>>

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?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-linux/message.cfm/messageid:4471
Subscription: http://www.houseoffusion.com/groups/cf-linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14

Re: Apache 2.2.3, Red Hat 5, CF8 Install Problems

by Richard Bessey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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:

>> 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:
>>    
>
> 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?
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-linux/message.cfm/messageid:4472
Subscription: http://www.houseoffusion.com/groups/cf-linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14

Parent Message unknown Re: Apache 2.2.3, Red Hat 5, CF8 Install Problems

by Ryan Stille-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

----------------------------------------
From: Richard Bessey <richard@...>
Sent: Monday, November 10, 2008 9:14 PM
To: cf-linux <cf-linux@...>
Subject: Re: Apache 2.2.3, Red Hat 5, CF8 Install Problems

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:

>> 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:
>>    
>
> 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?
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-linux/message.cfm/messageid:4473
Subscription: http://www.houseoffusion.com/groups/cf-linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14

RE: Apache 2.2.3, Red Hat 5, CF8 Install Problems

by Ken Smith-7 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.


-----Original Message-----
From: Richard Bessey [mailto:richard@...]
Sent: Monday, November 10, 2008 10:15 PM
To: cf-linux
Subject: Re: Apache 2.2.3, Red Hat 5, CF8 Install Problems

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:

>> 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:
>>
>
> 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?
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-linux/message.cfm/messageid:4474
Subscription: http://www.houseoffusion.com/groups/cf-linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14

Re: Apache 2.2.3, Red Hat 5, CF8 Install Problems

by willblake :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> 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.
>
>
> -----Original Message-----
> From: Richard Bessey [mailto:richard@...]
> Sent: Monday, November 10, 2008 10:15 PM
> To: cf-linux
> Subject: Re: Apache 2.2.3, Red Hat 5, CF8 Install Problems
>
> 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:
> >> 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:
> >>
> >
> > 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?
> >
> >
>
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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-linux/message.cfm/messageid:4475
Subscription: http://www.houseoffusion.com/groups/cf-linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14

Re: Apache 2.2.3, Red Hat 5, CF8 Install Problems

by Ryan Stille-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> 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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-linux/message.cfm/messageid:4476
Subscription: http://www.houseoffusion.com/groups/cf-linux/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.14