Linux

You can start and stop the CLC Bioinformatics Database service from the command line. You can also configure the service to start up automatically after the server machine is rebooted.

During installation of the CLC Bioinformatics Database a service script is placed in /etc/init.d/.

This script will have a name reflecting the server solution, and it includes the name of the custom user account specified during installation for running the CLC Bioinformatics Database process.

Starting and stopping the service using the command line:

To start the CLC Bioinformatics Database:

sudo service CLCGenomicsServer start

To stop the CLC Bioinformatics Database:

sudo service CLCGenomicsServer stop

To restart the CLC Bioinformatics Database:

sudo service CLCGenomicsServer restart

To view the status of the CLC Bioinformatics Database:

sudo service CLCGenomicsServer status

Start service on boot up:

On Red Hat Enteprise Linux and SuSE this can be done using the command:

sudo chkconfig CLCGenomicsServer on

How to configure a service to automatically start on reboot depends on the specific Linux distribution. Please refer to your system documentation for further details.

Troubleshooting

If the CLC Bioinformatics Database is run as a service as suggested above, then the files in the installation area of the software and the data files created after installation in CLC Server File Locations will be owned by the user specified to run the CLC Bioinformatics Database process. If someone starts up the CLC Bioinformatics Database process as root (i.e. an account with super-user privileges) then the following steps are recommended to rectify the situation:

  1. Stop the CLC Bioinformatics Database process using the script located within the installation area of the CLC Bioinformatics Database software. You can do that using the full path to this script, or by navigating to the installation area and running:

    sudo ./CLCGenomicsServer stop

  2. Change ownership recursively on all files in the installation area of the software and on all areas specified as Server File Locations.

  3. Start the CLC Bioinformatics Database service as the specified user by using the service script:

    sudo service CLCGenomicsServer start

  4. In case the server still fails to start correctly it can be started in the foreground with output being written to the console to help identify the problem. It is done by running:

    sudo ./CLCGenomicsServer start-launchd

Once your server is started, you can use the Admin tab of the web administrative interface to manage your server operation (see section 7).