VMware Smarts Assurance 10.1.x in place upgrade to new 10.1.x upgrade errors regarding ERROR "Flexeraak1: /opt/InCharge/SAM/smarts/toolbox/OTP/erts-9.2/bin/(xxxx) (Text file busy)"
search cancel

VMware Smarts Assurance 10.1.x in place upgrade to new 10.1.x upgrade errors regarding ERROR "Flexeraak1: /opt/InCharge/SAM/smarts/toolbox/OTP/erts-9.2/bin/(xxxx) (Text file busy)"

book

Article ID: 315761

calendar_today

Updated On:

Products

VMware Smart Assurance

Issue/Introduction

To assist in troubleshooting the VMware Smarts Assurance 10.1.x in place upgrade to new 10.1.x upgrade error:
"Flexeraak1: /opt/InCharge/SAM/smarts/toolbox/OTP/erts-9.2/bin/(xxxx) (Text file busy)".

Symptoms:
During an in-place upgrade from 10.1.2 to 10.1.7 the install log reported the following: 

Additional Notes: ERROR - Flexeraak1: /opt/InCharge/SAM/smarts/toolbox/OTP/erts-9.2/bin/erl_child_setup (Text file busy)
Additional Notes: ERROR - Flexeraak1: /opt/InCharge/SAM/smarts/toolbox/OTP/erts-9.2/bin/inet_gethost (Text file busy)
Additional Notes: ERROR - Flexeraak1: /opt/InCharge/SAM/smarts/toolbox/OTP/erts-9.2/bin/beam.smp (Text file busy)
Additional Notes: ERROR - Flexeraak1: /opt/InCharge/SAM/smarts/toolbox/OTP/erts-9.2/bin/epmd (Text file busy)
Flexeraak1: /opt/InCharge/SAM/smarts/toolbox/OTP/erts-9.2/bin/erl_child_setup (Text file busy)
Flexeraak1: /opt/InCharge/SAM/smarts/toolbox/OTP/erts-9.2/bin/inet_gethost (Text file busy)
Flexeraak1: /opt/InCharge/SAM/smarts/toolbox/OTP/erts-9.2/bin/beam.smp (Text file busy)
Flexeraak1: /opt/InCharge/SAM/smarts/toolbox/OTP/erts-9.2/bin/epmd (Text file busy)

To fix this issue, we have data from a 10.1.2 to 10.1.7 in-place upgrade.
Install.SAM_SUITE.10.1.7.0.log 

Environment

VMware Smart Assurance - SMARTS

Cause

During the in-place upgrade process the ic-serviced service restarts the stopped Smarts services

Resolution

  1. Shut down all SMARTS services
    /etc/init.d/ic-serviced stop
  2. Edit the ic-serviced script
    vi /etc/init.d/ic-servicd
  3. Locate and comment out the SM_HOME line
    Save the file
    Then, perform the in-place upgrade.
  4. After the upgrade edit the ic-serviced script
    vi /etc/init.d/ic-serviced
  5. Remove the comment from the SM_HOME line
  6. Start the smarts services
    /etc/init.d/ic-serviced start

 

Additional Information

Impact/Risks:
The impacted files may not be upgraded properly when they report text file busy.