Skip navigation
Currently Being Moderated

Scientific Linux 6.2 64-bit and ColdFusion 10 tips.

Feb 29, 2012 3:35 PM

Tags: #linux #scientific #cf10 #sl

Just thought I'd let you guys know, that ColdFusion 10 public beta is working fine in SL6.2 64-bit, at least that's how it looks initially - didn't test much yet, but writeoutput(1+1); equals 2!

 

As with CentOS CF9 installation, you need to do a few tricks. With CF10, you need to install unzip as well.

 

Install Apache first.

 

Before installing ColdFusion:

yum install libstdc++.so.5

yum install httpd-devel

yum install unzip

yum install compat-libstdc++-33.x86_64

 

Run the ColdFusion installer, and choose to configure Apache.

 

After installing ColdFusion, before running it:

 

edit /opt/coldfusion10/cfusion/bin/connectors/apache_connector.sh with a text editor, and change the -dir, -bin and -script parameter values to something which match your config. (This must not be a bug, since it hasn't been fixed in CF8 nor CF9 either )

Typically to: -dir /etc/httpd/conf , -bin /usr/sbin/httpd, and -script /etc/rc.d/init.d/httpd

 

Start ColdFusion and restart Apache if necessary. Worked for me!

 

If you get a NullpointerException when running the CFIDE/administrator/index.cfm , you've probably just set up a new machine which isn't found by the DNS yet, or the domain name hasn't been configured at all.

Edit your /etc/hosts file, and add the machine's name to the localhost entries. For example, if your machine bottom-level name is mymachine, append "127.0.0.1 localhost localhost.localdomain" so it reads "127.0.0.1 localhost localhost.localdomain mymachine".

Do the same for the ipv6 line if/when necessary.


 
Replies
  • Currently Being Moderated
    Jun 17, 2012 8:28 PM   in reply to Fernis

    Hi,

     

    did you encounter errors as mentioned on this thread (on CentOS 5.x) ?

    http://forums.adobe.com/message/4485228

     

    [Mon May 21 22:02:54 2012] [3461:47024938890000] [error] jk_open_socket::jk_conn

    ect.c (448): socket() failed (errno=22)

    [Mon May 21 22:02:54 2012] [3461:47024938890000] [info] ajp_connect_to_endpoint:

    :jk_ajp_common.c (1027): Failed opening socket to (127.0.0.1:8012) (errno=22)

    [Mon May 21 22:02:54 2012] [3461:47024938890000] [error] ajp_send_request::jk_aj

    p_common.c (1649): (cfusion) connecting to backend failed. Tomcat is probably no

    t started or is listening on the wrong port (errno=22)

     

    appreciate if you can share the fix

     

    Thanks,

     

    Junior

     
    |
    Mark as:
  • Currently Being Moderated
    Jun 22, 2012 2:51 AM   in reply to Fernis

    yes, i'm aware of that apache connector script since earlier versions of CF.

    seems to be specific apache connector problem for CentOS 5.x.

    on windows (old version of apache/xampp) there's no problem

     

    thanks

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)