Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Getting Started / July 2008



Tip: Looking for answers? Try searching our database.

Can't configure Apache connector

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TristanLee - 18 Jul 2008 14:29 GMT
I've tried this on Fedora Core 9 with no success and now I'm trying it on FC8
with the same error. After installing CF and configuring it to work with
Apache, I go to start it and I get

[Q][root@ns1 ~]# /opt/coldfusion8/bin/coldfusion start
Starting ColdFusion 8...
The ColdFusion 8 server is starting up and will be available shortly.
======================================================================
Running the ColdFusion 8 connector wizard
======================================================================
Configuring the web server connector (Launched on the first run of the
ColdFusion 8 start script)
Running apache connector wizard...
=======================================
There was an error while running the connector wizard
Connector installation was not successful
=======================================
======================================================================
ColdFusion 8 has been started.
ColdFusion 8 will write logs to /opt/coldfusion8/logs/cfserver.log
======================================================================
[/Q]

I changed the paths in the 'apache-connector.sh' file, but I still can't get
it to work. Any ideas?
ksmith - 21 Jul 2008 21:24 GMT
What errors do you see in the coldfusion8/lib/wsconfig/wsconfig.log?  Are you running with the -apxs switch and do you have apxs installed with your apache?  What version of apache are you running?
grennilson - 23 Jul 2008 21:00 GMT
Ken,

I'm having the same issue... when I tried to use the build_jrun22 script it
hangs on /usr/lib/apr-1/build/libtool: line 1311" gcc: command not found...

Using Fedora Core 9 with apache 2.2.8

Coldfusion is not serving up any .cfm pages...

about ready to dump and go back to using PHP... :mad;
TristanLee - 25 Jul 2008 15:04 GMT
[q][i]Originally posted by: [b][b]ksmith[/b][/b][/i]
What errors do you see in the coldfusion8/lib/wsconfig/wsconfig.log?  Are you
running with the -apxs switch and do you have apxs installed with your apache?  
What version of apache are you running?[/q]

There is no directory "/opt/coldfusion8/lib/wsconfig". I am not sure if I am
using the -apxs switch or not nor do I know if it's installed. I'm using Apache
2.2.8. I tried installing the "httpd-devel" tools with no luck either.
ksmith - 25 Jul 2008 15:10 GMT
Sorry,
Try "find . -name wsconfig.log" from your coldfusion8 directory.

I think it is coldfusion8/runtime/lib/wsconfig/wsconfig.log
TristanLee - 25 Jul 2008 15:13 GMT
Ok, this is from this morning when trying:

07/25 09:05:39 info Macromedia JRun 4.0 (Build 108487)
07/25 09:05:40 debug Found JRun server coldfusion at 127.0.0.1:2930
07/25 09:05:40 debug Deleted directory
/opt/coldfusion8/runtime/lib/wsconfig/1/.libs
07/25 09:05:40 debug Deleted directory /opt/coldfusion8/runtime/lib/wsconfig/1
07/25 09:05:40 info Fedora release 9 (Sulphur)
07/25 09:05:40 debug Using Apache binary /usr/sbin/httpd
07/25 09:05:40 info Server's Module Magic Number: 20051115:11.  Supported
major magic numbers on this platform are
 20020628 and 20020903.
07/25 09:05:40 info Attempting to build connector from sources
07/25 09:05:40 info Server version: Apache/2.2.8 (Unix)
07/25 09:05:40 debug Using Apache control script /usr/sbin/httpd
07/25 09:05:40 debug Parsing Apache configuration file
/etc/httpd/conf/httpd.conf
07/25 09:05:40 debug Exec'ing chmod 777 /opt/coldfusion8/runtime/lib/wsconfig/1
07/25 09:05:40 debug Set permission to 777 on
/opt/coldfusion8/runtime/lib/wsconfig/1
07/25 09:05:40 debug Exec'ing chmod +x
/opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22
07/25 09:05:40 debug Set permission to execute on
/opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22
07/25 09:05:40 debug Exec'ing
/opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22
07/25 09:05:41 error Error running
"/opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22": exit code was 1
07/25 09:05:41 error Could not build Apache2 web server connector from source.
Use build script /opt/coldfusion8/
runtime/lib/wsconfig/1/build_jrun22.
jrunx.connectorinstaller.ConnectorInstallerException: Could not build Apache2
web server connector from source.  U
se build script /opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22.
        at
jrunx.connectorinstaller.ApacheInstaller.buildModuleFromSource(ApacheInstaller.j
ava:1234)
        at
jrunx.connectorinstaller.ApacheInstaller.copyFiles(ApacheInstaller.java:1126)
        at
jrunx.connectorinstaller.ApacheInstaller.installConnector(ApacheInstaller.java:2
23)
        at
jrunx.connectorinstaller.ConnectorInstaller.installConnector(ConnectorInstaller.
java:337)
        at
jrunx.connectorinstaller.ConnectorInstaller.doIt(ConnectorInstaller.java:271)
        at
jrunx.connectorinstaller.ConnectorInstaller.main(ConnectorInstaller.java:759)
TristanLee - 25 Jul 2008 15:15 GMT
The weird thing is, I am back on FC9 and installing this which I was successful
at before. It doesn't look like CF is the issue, but maybe my compiler or
libraries. I tried doing:

yum install lib*
yum install httpd*
yum install gcc*

to get everything, but still no luck.
TristanLee - 25 Jul 2008 15:32 GMT
When running the apache-connector script alone, I get this:

[root@ns1 connectors]# ./apache_connector.sh
Fedora release 9 (Sulphur)
Server's Module Magic Number: 20051115:11.  Supported major magic numbers on
this platform are 20020628 and 20020903.
Attempting to build connector from sources
Server version: Apache/2.2.8 (Unix)
/usr/lib/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g
-pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
--param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic
-fasynchronous-unwind-tables  -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
-D_LARGEFILE64_SOURCE -pthread -I/usr/include/httpd  -I/usr/include/apr-1  
-I/usr/include/apr-1 -I/usr/include/mysql -w  -c -o
/opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.lo
/opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.c && touch
/opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.slo
cc1: error: unrecognized command line option "-fstack-protector"
cc1: error: invalid parameter `ssp-buffer-size'
/opt/coldfusion8/runtime/lib/wsconfig/1/mod_jrun22.c:1: error: bad value
(generError running "/opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22":
exit code was 1
Could not build Apache2 web server connector from source.  Use build script
/opt/coldfusion8/runtime/lib/wsconfig/1/build_jrun22.
ksmith - 25 Jul 2008 19:37 GMT
You can try manually installing the connector per, "http://www.adobe.com/go/tn_19575".  This was written for cfmx6.x, but the procedure is pretty much the same for CF8.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.