COMMS7 Installation Experience on RHEL5
By AndreasB-Oracle on Nov 13, 2009
For some reason you might would like to install Comms7 on RedHat Enterprise Linux. I gave it a try on RHEL5. Please find below my experience. As always; your miles may vary.
After installation my RHEL5 used dhcp for the network config, but I would like to disable dhcp and assign a static IP Address, which can be done by editing:
Afterward restart the network service with:
# service network restart
I didn't know SELinux in detail, and I'm not yet would like to get knowledge about this security stuff. Nevertheless I run in trouble already with start of the LDAP Directory Server.
SELinux is preventing ns-slapd from loading /opt/sun/directory/ds6/lib/libsh.so which requires text relocation.
The following commands will allow this access:
chcon -t textrel_shlib_t '/opt/sun/directory/ds6/lib/libsh.so'
chcon -t textrel_shlib_t '/opt/sun/directory/ds6/lib/libfe.so'
chcon -t textrel_shlib_t '/opt/sun/directory/ds6/lib/libslapd.so.1'
chcon -t textrel_shlib_t '/opt/sun/directory/ds6/lib/pwdstorage-plugin.so'
But even after the commands mention above the LDAP Directory Server wasn't able to run correctly.
Long wording short story - Disable SELinux!
# This file controls the state of SELinux on the system.
# SELINUX= can take one of these three values:
# enforcing - SELinux security policy is enforced.
# permissive - SELinux prints warnings instead of enforcing.
# disabled - SELinux is fully disabled.
Note: You should read more about SELinux by Kerry Thompson.
I installed COMM7 without Access Manager. Because of this I even don't need the WebServer to deploy the Access Manager into it.
The instruction at our wiki for single host installation.
Glassfish and JAVA 1.6 (32Bit / 64Bit)
Even on Linux you should use Java 1.6 but annoying is the fact that you need the 32Bit version for the installation even on a 64Bit OS Linux. This one is known as Bug 6820045, the Bug mention Glassfish only but it is the same for Convergence as well.
Synopsis: Glassfish cannot be installed on Linux 64 version
If you are installing Sun GlassFish Enterprise Server on a 64–bit machine (running a 64–bit operating system), use a 32–bit JDK to install Sun GlassFish Enterprise Server on your 64–bit machine. You will need to use the following command:
./distribution_filename —javahome path to 32–bit JDK location
After installation, download the 64–bit JDK from java.sun.com. Edit the value of the AS_JAVA variable in the asenv.conf file to point to the 64–bit JDK installation, so that Sun GlassFish Enterprise Server uses the 64–bit JDK.
The rest of the installation and configuration went through very well. Finally I create a start script for COMMS7 Suite.
echo "\*\*\* Start Directory Server \*\*\*"
/opt/sun/directory/ds6/bin/dsadm start /var/opt/sun/directory/dsins1/
echo "\*\*\* Start Messaging Server \*\*\*"
echo "\*\*\* Start Calendar Server \*\*\*"
echo "\*\*\* Start Glassfish Application Server \*\*\*"
/opt/sun/appserver/bin/asadmin start-domain domain1
echo "\*\*\*Start Instant Messaging \*\*\*"