ColdFusion 7.01 for Solaris does not properly install the System V init scripts for cfmx7search (Verity K2). The source of the problem is that a file cf_root/bin/cfmxsearch is created and the file should be named cfmx7search instead. The cfmx-init.sh script used to install the System V scripts to /etc/init.d and the rc.N directories is hard-coded for $CF_DIR/bin/cfmx7search, and the System V script for cfmx7search is not created. This causes the Verity K2 server to not start after a reboot.

A short term solution is after ColdFusion installation to create a symbolic link cf_root/bin/cfmx7search pointing to cf_root/bin/cfmxsearch, and then run cf_root/bin/cfmx-init.sh install-verity System V scripts.

ColdFusion MX 7.0 wrote the filename cfmx7search correctly, so this is a new problem in 7.01.

Problem

view plain print about
1bash-2.03# cd /opt/coldfusionmx7/
2bash-2.03# cd bin
3bash-2.03# ls
4cfcompile.sh cfencode.solaris cfmxsearch coldfusion SMSClient.s
5cfencode.exe cfinfo cfscan.sh connectors
6cfencode.linux cfmx-init.sh cfstat findjava.sh<br/><br/>bash-2.03# pwd
7/opt/coldfusionmx7/bin
8bash-2.03# ls -l | grep cfmx
9-rwxr-xr-x 1 nobody other 6489 Jun 20 18:40 cfmx-init.sh
10-rwxr-xr-x 1 nobody other 1416 Jun 20 18:40 cfmxsearch<br/><br/>bash-2.03#
11bash-2.03# ./cfmx-init.sh install-verity
12Install complete
13bash-2.03# ls -l /etc/init.d/ | grep cfmx
14bash-2.03# ls -l /etc/rc*.d/ | grep cfmx
15bash-2.03#


Workaround
view plain print about
1bash-2.03# ln -s cfmxsearch cfmx7search<br/><br/>bash-2.03# ./cfmx-init.sh install-verity
2Creating the CFMX Search start script /etc/init.d/cfmx7search
3Adding CFMX Search start/kill links
4Install complete<br/><br/>bash-2.03# ls -l /etc/init.d/ | grep cfmx
5-rwxr-xr-x 1 root other 1416 Jun 20 19:03 cfmx7search<br/><br/>bash-2.03# ls -l /etc/rc*.d/ | grep cfmx
6lrwxrwxrwx 1 root other 23 Jun 20 19:03 K19cfmx7search ->
/etc/init.d/cfmx7search
7lrwxrwxrwx 1 root other 23 Jun 20 19:03 S25cfmx7search -> /etc/init.d/cfmx7search
8bash-2.03#