« Adobe Consulting's Flex Style Explorer | Main | Flex 2.0 Beta 2 available for download »

March 16, 2006

SuSe 9.x & ColdFusion 7.0.1

The release notes for ColdFusion 7.0.1 state that SuSe 9.x is now a supported platform for ColdFusion, however their are a couple of gottcha's to successfully get CF & Verity running

The problem is IPv6 support and that the default SuSe 9.x install configures the system for IPv6

Internet Protocol Version 6 uses a new form of IP addresses with colons in them. "localhost" is usually shown as "::1". An arbitrary system might have IP address 234::107:14:32

IP version 4 is the IP addresses we are all familiar with, using dots. "localhost" is usually shown as "127.0.0.1"

SUSE 9.x supports IP version 6, but CF and Verity do not.

IPv6. The Apache connector configuration fails to find a running JRun server in most SuSe Linux installations. The SuSE 9.x default installation configures IPv6. The connector installer is incompatible with IPv6. To avoid this issue, you should inspect and, if necessary, change the configuration to IPv4 before configuring the Apache connector. To do so, comment out the feature in the appropriate .conf file as follows, and restart the operating system.

On SuSE 9.0:
/etc/modules.conf
#alias net-pf-10 ipv6

On SuSE 9.1-9.3:
/etc/modprobe.conf
#alias net-pf-10 ipv6.

This is documented in the release notes

However what is missing is the fact that you need to also edit the /etc/hosts file to remove IPv6 from localhost

You want to be sure that /etc/hosts registers "localhost" using the old-fashioned IPv4 numbers, not as a new IPv6 number.
If "localhost" is defined both ways, the IPv6 way will take precedence - and possibly mess up Verity access.

If you find a line in /etc/hosts like this:

::1 localhost ipv6-localhost ipv6-loopback

you should comment it out with a #, or at least remove the "localhost" name from the list.

There should already be a line in /etc/hosts like this to define the IPv4 address:

127.0.0.1 localhost linux.site linux


Thats it CF and also Verity will now work as expected

Posted by niwatson at March 16, 2006 10:05 PM

Comments

I'm just wondering why SuSE now sets IPv6 as the default. I used to use SuSE as my desktop OS, so I really like it. But I'm not sure maing IPv6 the default is the smart thing to do. I don't think there's a lot of hardware/software support for it yet.

Posted by: Jacob Munson at March 17, 2006 02:14 AM

Thanks for the info, here's some additional information specific to the 64-bit SLES:


A few more final notes as I finally got coldfusion up and running on SLES 9.x:

the 64 bit version requires that the mod_jrun2 shared object be built on the server, in order to do this, the apache-devel packages must be installed. additionally, there is a bug in the build script that tries to compile the module - for apache2, the apxs utility that gets installed is actually called apxs2, but the build scripts call apxs, that means you need to create a sym link in /usr/sbin/ to create an alias to apxs2 called apxs.

in order to tell the installer to build the module, you need to edit the file /opt/coldfusionmx7/bin/cfmx-connectors.sh and add -apxs switch to the command line call to wsconfig.jar - NOT the apache-connector.sh file as referenced in the tech note. also, you must comment out a section in both the connector script and the coldfusion script:

#if [ ! "$SUSEFLAG" ]; then
#LD_ASSUME_KERNEL=2.2.9
#export LD_ASSUME_KERNEL
#fi

once the connector is installed, you then need to stop and start apache2

Posted by: Thaddeus at May 3, 2006 08:48 PM

Post a comment




Remember Me?