Version: 11.1.x, 11.0.x, 10.2.x, 10.1.x
Have you ever encounter following error when startup Cognos Analytics "cogconfig.sh:"
Using /opt/jdk/jdk1.8.0_91/bin/java
27/05/2020,14:17:44,Err,java.lang.ExceptionInInitializerError, com.cognos.crconfig.CRConfigFrame.
27/05/2020,14:17:44,Err,java.awt.HeadlessException:
No X11 DISPLAY variable was set, but this program performed an operation which requires it., com.cognos.crconfig.CRConfigFrame.
[cognos_home]/bin64/cogconfig.sh -s
Pros:
- No need to setup environment variable DISPLAY
- No need to setup xauth
- No need to run X Windows emulator client
- Light network operation that doesn't required heavy X Windows that spawn Cognos Configuration Manager
- Prevent UNIX admin accidentally modify configuration in Cognos Configuration Manager screen
Similarly, you can use following syntax to shutdown Cognos Analytics server without X Windows:
[cognos_home]/bin64/cogconfig.sh -stop
No comments:
Post a Comment