If you are unable to create a new account, please email support@bspsoftware.com

 

News:

MetaManager - Administrative Tools for IBM Cognos
Pricing starting at $2,100
Download Now    Learn More

Main Menu

Environmental Variable setting in Linux server

Started by mycognos, 30 Oct 2008 06:43:28 AM

Previous topic - Next topic

mycognos

My cognos server is in linux machine. Is there any way to set the environmental  variables like LD_LIBRARY_PATH, ORACLE_SID etc in cognos configuration?
I have set these from command prompt and each time when I restart the cognos service the variable needto be set again. I need to find a permanent solution for teh same so that i dont want to set the variable again and again.

kolonell

Hi,

That depends what shell you're using but I guess the most common is Bash

csh, tcsh       Examine your .cshrc file in the home folder of the user account starting Cognos 8
sh, ksh        Examine your .profile file in the home folder of the user account starting Cognos 8
bash           Examine you .bashrc file in the home folder of the user account starting Cognos 8

In that file you can set your variables like this: 'export LD_LIBRARY_PATH=...' (omit the quotes offcourse) 

Hope this helps