When upgrading NetScaler getting error -bash: ./installns: /usr/bin/perl: bad interpreter
book
Article ID: CTX582458
calendar_today
Updated On:
Description
When upgrading NetScaler getting error ./installns: /usr/bin/perl: bad interpreter: No such file or directory
Resolution
- The error is due to the Perl link being broken in the usr/bin folder and the file itself is missing in (/var/perl5/bin for 13.1 or /usr/local/bin/ for 13.0) folder.
- WinScp in the appliance.
- Copy all the files of (/var/perl5/bin for 13.1 or /usr/local/bin/ for 13.0) from another NetScaler with the same version and build.
- Edit and refresh the link of the Perl in usr/bin and in the directory where the actual file resides (/var/perl5/bin for 13.1 or /usr/local/bin/ for 13.0).
- Please make sure the permissions are set correctly for both the link, in usr/bin and the actual file in (/var/perl5/bin for 13.1 or /usr/local/bin/ for 13.0) for the file Perl by comparing it with the NetScaler where we copied files from.
- Rerun the ./installns.
Note: If no other NetScaler runs the current version, these files are available in the firmware image files available on the
download site, all you need to do is download the current running version, extract and copy the needed files.
Problem Cause
The files are missing in Perl bin folder.
Was this article helpful?
thumb_up
Yes
thumb_down
No