COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: lesterl on 29 Sep 2015 10:42:04 PM

Title: Auto Start Cognos 10.2.2 BI on Linux Server
Post by: lesterl on 29 Sep 2015 10:42:04 PM
Hi All,

I managed to setup our Cognos BI server on a Linux (centOS7) environment successfully.  Now I need to have Cognos configured to auto-start every time the server is restarted.  I am just new to Linux and just made my way following guides and documentation.  I understand that I have to create a script and add it to init.d? (is that correct?) Thing is, what exactly do I put on the script?

I hope you guys can share your scripts with me so that I can just copy and modify it based on my configuration. 

Thanks for understanding.

Lester
Title: Re: Auto Start Cognos 10.2.2 BI on Linux Server
Post by: sdf on 01 Oct 2015 12:26:38 AM
This post might help you.


http://www.cognoise.com/index.php?topic=19084.0 (http://www.cognoise.com/index.php?topic=19084.0)

I found several similar scripts in the web, but most are outdated.
After having the script you just need to indicate the path of the script to init.d.

if starting the service automatically without choices (you would not see if all services started).
try to set  /the path of your /cogconfig.sh -s directly in the init.d
make sure you have defined java_home and other environment variables in .bashrc