Skip to main content
May 7, 2008
Question

Using web apache web server

  • May 7, 2008
  • 1 reply
  • 322 views
There are a few posts with simmilar problems. But I can't seem to fix my problem.

I have a LInux RHEL4 server, apache 2.0 and I am trying to install CF8. If I set up the apache connection in install I get either the page that wants me to save the CF admin page or I get a page of gobbledgook. Looks like a bin file that I should not have opened.

I tried the advice to install CF without configuring the web server- the web server works fine. Then I edit the apache_connecotr.sh file as suggested and I get an erro that sayus:
*****************
Could not connect to any JRun/Cold Fusion servers on host localhost.
Possible causes
Server not running
Start Macromedia JRun4 or ColdFusion Server
Server Running
JNDI listen port in jndi.properties locked by TCP/IP filtering or firewall on server
host restriction in security.properties blocking communication with server.
**************
This topic has been closed for replies.

1 reply

Known Participant
May 23, 2008
You get the gobbeldygook becuase it's an encrypted file, and apache is serving it up as text rather than passing it to the cf server for processing.
I've never actually managed to get the cf apache connector scripts to work - I've always ended up doing it all manually.
(Have you checked to see if the cf server is actually running - as in, does it appear in your process list?)
If so then check your apache config file. If you see text along the lines of

# JRun Settings
LoadModule jrun_module /opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so<IfModule mod_jrun20.c>
JRunConfig Verbose false

blah blah

then your apache should (in theory) be configured. Check that the cf module actually is in the file path specified (/opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun20.so on mine but wont necessarily be the same on yours. Do a $locate mod_jrun20.so to get the exact file path) and restart apache.
If not then there is the manual route - it's not too painful. There's 101 guides for doing it around the place. Here's an Adobe one:

http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_19575