After implementing automatic Enterprise Manager & WebView startup at Linux server boot time via changes to /etc/rc.local, the Linux kernel boot sequence seems to hang & control does not return to the VM console being used.

Document ID : KB000032431
Last Modified Date : 14/02/2018
Show Technical Document Details

  Issue:

  After implementing automatic Enterprise Manager & WebView startup at Linux server boot time via changes to /etc/rc.local, the Linux kernel boot sequence seems  to hang & control does not return to the VM console being used. The last message visible is "[INFO] [ WebServer] Web Application Server started" which is from the WebView startup.

 

  Environment:

  Redhat Enterprise Linux 6.4 in Virtual Environment

 

  Resolution:

  It appears that not having IO redirection for the executable Introscope_Webview was causing the boot sequence to hang. Using the commands below in/etc/rc.local enabled the boot sequence to complete and VM console to return to user prompt.

 

  NOTE: even though EMCtrl.sh itself uses nohup and redirects standard out & error, the messages the script itself generates should be redirected as per below.

 ======================= 

 # Start EM 

 cd EM_HOME/bin

 ./EMCtrl.sh start &>emctrl.log &

 sleep 2 

 

 # Start WebView 

 cd EM_HOME 

 nohup ./Introscope_WebView &>webview.log & 

 =======================

 NOTE: EM_HOME should be replaced with the actual EM install directory path