ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

CABI autostart on reboot is not working

book

Article ID: 196493

calendar_today

Updated On:

Products

DX Unified Infrastructure Management (Nimsoft / UIM)

Issue/Introduction

CABI 7.1.1 was installed on RHEL 7.8 with the root account.

The /opt/CA/SharedComponents/CA Business Intelligence/service.sh (or /opt/CA/SharedComponents/cabusinessintelligence/service.sh) was launched to configure the CABI to autostart on reboot, but it is not working.

The cabiautostart file was copied to the /etc/init.d/ directory. Also, a copy of cabiautostart file was added for runlevels 3, 5 and 6. Checked in the following directories:

  • /etc/rc3.d/
  • /etc/rc5.d/
  • /etc/rc6.d/

 

The following error was found in the /var/log/messages file:

Aug  3 17:37:08 lvndev015140 cabiautostart: grep: /.cabusinessintelligence: No such file or directory
Aug  3 17:37:08 lvndev015140 cabiautostart: /java
Aug  3 17:37:08 lvndev015140 cabiautostart: Tomcat started.

Cause

Missing .cabusinessintelligence file in the / directory.

Environment

Release : 7.1.1

Component : CABI

Resolution

Copy the .cabusinessintelligence file from the /root/ directory to the / directory.

$ copy /root/.cabusinessintelligence /

Reboot the Linux box.

 

Check if the apache-tomcat service was started on reboot:

$ ps -ef | grep apache-tomcat

Additional Information

/etc/init.d/cabiautostart à apache-tomcat/bin/startup.sh à apache-tomcat/bin/catalina.sh à apache-tomcat/bin/setenv.sh

# cat setenv.sh
JAVA_OPTS="$JAVA_OPTS -Xms4096m -Xmx6144m"
JAVA_OPTS="$JAVA_OPTS -Xss2m -XX:+UseConcMarkSweepGC"
JAVA_OPTS="$JAVA_OPTS -XX:+CMSClassUnloadingEnabled"
Filename=$HOME/.cabusinessintelligence
javapath=`grep "Location" $Filename | awk -F"=" '{print $2}'`
export JAVA_HOME=$javapath"/java"
echo $JAVA_HOME