Skip to main content
Participating Frequently
May 26, 2012
質問

CF10 and apache connector

  • May 26, 2012
  • 返信数 1.
  • 3642 ビュー

i can't install connector for apache and coldfusion10.
the installation of cf10 has been successful without errors.

but, when i star cf10 i get this error:

Starting ColdFusion 10 server instance named cfusion ...

The ColdFusion 10 server instance named cfusion is starting up and will be available shortly.

nohup: appending output to `nohup.out'

======================================================================

Running the ColdFusion 10 connector wizard

======================================================================

Configuring the web server connector (Launched on the first run of the ColdFusion 10 start script)

Running /usr/local/apache2/conf connector wizard...

=======================================

There was an error while running the connector wizard

Connector installation was not successful

=======================================

======================================================================

ColdFusion 10 server instance named cfusion has been started.

ColdFusion 10 will write logs to /opt/coldfusion10/cfusion/logs/coldfusion-out.log

this is my /opt/coldfusion10/config/wsconfig/wsconfig.log
(paths of apache are correct)

wsconfig -ws Apache -bin /usr/local/apache2/bin/httpd -script /usr/local/apache2/bin/apachectl -dir /usr/local/apache2/conf -v

os.name: Linux

os.version: 2.6.18-308.4.1.el5

os.arch: i386

platform: intel-linux

command line: -ws Apache -dir /usr/local/apache2/conf -bin /usr/local/apache2/bin/httpd -script /usr/local/apache2/bin/apachectl -cfide /opt/coldfusion10/cfusion/wwwroot/CFIDE -v

web server: Apache

web server directory: /usr/local/apache2/conf

apialloc: false

force resource extract from jar: true

Apache binary: /usr/local/apache2/bin/httpd

Apache control script: /usr/local/apache2/bin/apachectl

Apache apxs: false

Deleted directory /opt/coldfusion10/config/wsconfig/1

CentOS release 5.8 (Final)

OS version: 5 (5)

connector built with gcc3 or compat-glibc-7.x rpm required

Using Apache binary /usr/local/apache2/bin/httpd

LD_LIBRARY_PATH=/usr/local/apache2/lib:/opt/coldfusion10/jre/lib/i386/client:/opt/coldfusion10/jre/lib/i386:/opt/coldfusion10/jre/../lib/i386

Server's Module Magic Number: 20020903:13

Using magic number 20020903 to determine connector

Using resource gcc3/mod_jk20.so.20020903

LD_LIBRARY_PATH=/usr/local/apache2/lib:/opt/coldfusion10/jre/lib/i386/client:/opt/coldfusion10/jre/lib/i386:/opt/coldfusion10/jre/../lib/i386

version 2.0.63 (min 43)

Server version: Apache/2.0.63

LD_LIBRARY_PATH=/usr/local/apache2/lib:/opt/coldfusion10/jre/lib/i386/client:/opt/coldfusion10/jre/lib/i386:/opt/coldfusion10/jre/../lib/i386

Compiled in modules:

  core.c

  mod_access.c

  mod_auth.c

  mod_include.c

  mod_log_config.c

  mod_env.c

  mod_setenvif.c

  prefork.c

  http_core.c

  mod_mime.c

  mod_status.c

  mod_autoindex.c

  mod_asis.c

  mod_cgi.c

  mod_negotiation.c

  mod_dir.c

  mod_imap.c

  mod_actions.c

  mod_userdir.c

  mod_alias.c

  mod_rewrite.c

  mod_so.c

Using Apache control script /usr/local/apache2/bin/apachectl

Parsing Apache configuration file /usr/local/apache2/conf/httpd.conf

Exec'ing chmod 777 /opt/coldfusion10/config/wsconfig/1

Set permission to 777 on /opt/coldfusion10/config/wsconfig/1

ColdFusion could not locate the connector for this configuration. Refer documentation for supported web server for your OS.

then i try to install connector by hand, following instructions at this link

http://helpx.adobe.com/coldfusion/kb/coldfusion10-apache-manual-connector-configuration.html

but, when i start apache, i get this error:

Syntax error on line 2 of /usr/local/apache2/conf/mod_jk.conf:

Cannot load /opt/coldfusion10/config/wsconfig/1/mod_jk22.so into server: /opt/coldfusion10/config/wsconfig/1/mod_jk22.so: ELF file OS ABI invalid

my system

Linux gundam 2.6.18-308.4.1.el5 #1 SMP Tue Apr 17 17:08:10 EDT 2012 i686 athlon i386 GNU/Linux

# cat /selinux/enforce  

0

# cat /etc/redhat-release

CentOS release 5.8 (Final)

# apachectl -v

Server version: Apache/2.0.63

on this machine cf9 works fine.

any idea?

many thanks.

このトピックへの返信は締め切られました。

返信数 1

Known Participant
August 3, 2012

I've got the same error on CentOS, although I'm getting it from the mod_jk22.so that CF installed, not a self-compiled one.

Cannot load /opt/coldfusion10/config/wsconfig/1/mod_jk.so into server: /opt/coldfusion10/config/wsconfig/1/mod_jk.so: ELF file OS ABI invalid

My config:

Linux 2.6.18-238.el5 #1 SMP Thu Jan 13 16:24:47 EST 2011 i686 i686 i386 GNU/Linux

CentOS release 5.8 (Final)

apachectl -v

Server version: Apache/2.2.3