Review your favorite Linux distribution.
Go Back > Blogs > drask
User Name


Rating: 2 votes, 5.00 average.

Autostart coldfusion on boot in Ubuntu

Posted 04-22-2010 at 01:10 PM by drask

My current job requires that I work with Coldfusion 9. I have it set up to run on an Ubuntu 9.10 desktop with apache2. Everything installs pretty well (there is one dependency of libstdc++5 that is no longer supported by Ubuntu and must be downloaded from another repository like as detailed in but the option to have Coldfusion startup when the machine boots does not appear to work with Ubuntu 9.10.

So I tried creating a symbolic link to /opt/coldfusion9/bin/coldfusion from /etc/init.d and running update-rc.d but it was complaining about the script missing an lsb header.

Here is the LSB information I added to the top of the /opt/coldfusion9/bin/coldfusion file (just below the #!/bin/sh)
# Provides: coldfusion
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Starts Coldfusion 9 on system boot
# Description: Start Coldfusion 9 when the system boots

This seems to be saying to start the coldfusion server any time the system is booted into multi-user mode (runlevels 2-5).

then I created the symbolic link
sudo ln -s /opt/coldfusion9/bin/coldfusion /etc/init.d/coldfusion

and ran update-rc.d
sudo update-rc.d coldfusion defaults

and that seems to be working. There must be other ways of doing this as well, because I don't think I did it this way last time.
Posted in Uncategorized
Views 3619 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 04:38 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration