So I had a bit of an adventure getting CF7 set up on my new Suse 10.1  
box and I thought I'd share the problem and the fix. That way you  
would know, and the searchengines could pick it up in the archives.

The first problem I had was with the installer:

It kept kicking back an error saying that certain modules were  
missing in the kernel. This fixed it so I could run the install:
--------------------------------------------
(Taken From:  http://www.fedoraforum.org/forum/showpost.php? 
s=bc561732e7b954c16343980c26d828e5&p=536540&postcount=3)
I've seen this problem before with this installer (I think it is  
install-anywhere), where it has a problem identifying the latest  
kernels and sets the run-time-linker to use an older API.

To fix this :
cp yourfile.bin yourfile.bin.bak (so we have a working copy)
cat your.bin.bak | sed "s/export LD_ASSUME_KERNEL/#xport  
LD_ASSUME_KERNEL/" > /tmp/yourfile.bin

That is not a typo for export above (#xport). You must use the same  
number of characters or else the installer thinks that the file is  
corrupt.

Now just make sure that /tmp/yourfile.bin is executable and then run.
--------------------------------------------

Next I had some trouble with the apache module loading:

I did a standard install and used the apache connector to set up the  
usual writing of the stuff into httpd.conf and installing the  
connector module that gets loaded into apache. The problem was when  
apache tried to start it kept barfing when loading the apache module  
(mod_jrun20.so).

Cannot load /opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun20.so  
into server: /opt/coldfusionmx7/runtime/lib/wsconfig/1/mod_jrun20.so:  
undefined symbol

So after many hours of googling and trying everything I can think of,  
I found this technote on the adobe site:

http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=8001e97

Turns out the wsconfig.jar file that ships with the installer will  
not work with Apache2.2. So I pulled down the hotfix, replaced the  
wsconfig.jar file with the new one.  SO I cleared out the stuff that  
the install had added to my httpd.conf. Then I deleted all of the  
files that were in this directory:
/opt/coldfusionmx7/runtime/lib/wsconfig/
Finally I manually ran the apache connector. you can see the command  
below.

/opt/coldfusionmx7/runtime/jre/bin/java -jar wsconfig.jar -apxs -ws  
apache -bin /usr/sbin/httpd2 -script /usr/sbin/apache2ctl -dir /etc/ 
apache2  -map .cfm,.cfc,.jsp,.cfml -coldfusion -server coldfusion -v

I hope that helps someone from a few sleepless nights.

Dave



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250325
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to