Sun Microsystems, Inc.  Sun System Handbook - ISO 4.1 October 2012 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1441584.1
Update Date:2012-05-26
Keywords:

Solution Type  Problem Resolution Sure

Solution  1441584.1 :   VLE - Patch / Code Upgrade failed due to bad interpreter error  


Related Items
  • Sun Virtual Library Extension (VLE)
  •  
Related Categories
  • PLA-Support>Sun Systems>TAPE>Virtual Tape>SN-TP: VLE
  •  




In this Document
Symptoms
Cause
Solution


Created from <SR 3-5492490361>

Applies to:

Sun Virtual Library Extension (VLE) - Version 1.0 to 1.1 [Release 1.0]
Information in this document applies to any platform.

Symptoms

The following error message can be received when attempting to apply a VLE code patch or when upgrading code:

-bash: ./vlepatch: /usr/bin/bash^M: bad interpreter: No such file or directory


Cause

This is the result of unzipping the upgrade files on a Windows based PC prior to copying them to the VLE. Unzipping the files on the PC results in the addition of (Cntl-M (^M)) characters to the ends of every ASCII text line. These characters cause problems in the VLE Solaris environment.

Solution

Unless upgrade instructions specifically state to do so, do not unzip files destined for the VLE on the PC.  First copy the files to the VLE and per directions unzip them once they are on the VLE.


Attachments
This solution has no attachment
  Copyright © 2012 Sun Microsystems, Inc.  All rights reserved.
 Feedback