Header Only - DO NOT REMOVE - Extreme Networks

Purview upgrade issues: 7.1.1.4 >> 8.1.2.59


Userlevel 4
Hello, team,

I've tried to update Purview from 7.1.1.4 to 8.1.2.59 and failed. Systems said:

https://mailto:root@Purview.spbgasu.ru:~$ ./purview_appliance_upgrade_to_8.1.2.59.bin
ERROR: Factory MD5 checksum: bfedbd91cb9ae8a1a3f027880158dcd0 does *not* match run time MD5 checksum: 1c7940bd1a4b0b51054e36d9de620180
This upgrade script appears to be corrupt because the internal zip file does not match
match the MD5 checksum from the factory. Please re-download the upgrade binary and try again.
./purview_appliance_upgrade_to_8.1.2.59.bin: line 685: ${LOG_FILE}: ambiguous redirect
https://mailto:root@Purview.spbgasu.ru:~$

What is wrong?

Thanks.

14 replies

Userlevel 7

This upgrade script appears to be corrupt because the internal zip file does not match match the MD5 checksum from the factory.

The file was corrupted either during download from the webpage or upload to the VM.
Redownload the file and try again.
Userlevel 4
Ron wrote:

This upgrade script appears to be corrupt because the internal zip file does not match match the MD5 checksum from the factory.

The file was corrupted either during download from the webpage or upload to the VM.
Redownload the file and try again.

Ron, do you really believe that?

May be direct upgrade is not possible? I will redownload the file, OK...
Userlevel 4
Ron wrote:

This upgrade script appears to be corrupt because the internal zip file does not match match the MD5 checksum from the factory.

The file was corrupted either during download from the webpage or upload to the VM.
Redownload the file and try again.

I've used "binary" command in ftp before downloading for all three files and it's OK now. Thanks!
Hi Ilya, I think there was an upgrade path like this , i seen before on this site. But i can 't find on mobile. Upgrade files are .bin files. 7.1 to 7.2 7.2 to 8.0 8.0 to 8.1 If there is a broken system just download the purview iso files. Make a bootable usb stick with that. You can find All instructions on gtacknowledge. Purview device is a linux machine you can re install purview application. Regards Furkan s.
Userlevel 4
But I've got the following error during 8.0 >> 8.1 upgrade:

root@Purview.spbgasu.ru:~$ ./purview_appliance_upgrade_to_8.1.2.59.bin
-bash: ./purview_appliance_upgrade_to_8.1.2.59.bin: /bin/bash^M: bad interpreter: No such file or directory
root@Purview.spbgasu.ru:~$

Any ideas?
Userlevel 5
Ilya Semenov wrote:

But I've got the following error during 8.0 >> 8.1 upgrade:

root@Purview.spbgasu.ru:~$ ./purview_appliance_upgrade_to_8.1.2.59.bin
-bash: ./purview_appliance_upgrade_to_8.1.2.59.bin: /bin/bash^M: bad interpreter: No such file or directory
root@Purview.spbgasu.ru:~$

Any ideas?

Hello Ilya,

what shows the command "ls -l" in your working directory?

Best regards
Stephan
Userlevel 4
Ilya Semenov wrote:

But I've got the following error during 8.0 >> 8.1 upgrade:

root@Purview.spbgasu.ru:~$ ./purview_appliance_upgrade_to_8.1.2.59.bin
-bash: ./purview_appliance_upgrade_to_8.1.2.59.bin: /bin/bash^M: bad interpreter: No such file or directory
root@Purview.spbgasu.ru:~$

Any ideas?

It shows this:

Userlevel 5
Ilya Semenov wrote:

But I've got the following error during 8.0 >> 8.1 upgrade:

root@Purview.spbgasu.ru:~$ ./purview_appliance_upgrade_to_8.1.2.59.bin
-bash: ./purview_appliance_upgrade_to_8.1.2.59.bin: /bin/bash^M: bad interpreter: No such file or directory
root@Purview.spbgasu.ru:~$

Any ideas?

If you are in /root (you checked with pwd).

./purview_appliance_upgrade_to_8.1.2.59.bin

should work.
Userlevel 4
Ilya Semenov wrote:

But I've got the following error during 8.0 >> 8.1 upgrade:

root@Purview.spbgasu.ru:~$ ./purview_appliance_upgrade_to_8.1.2.59.bin
-bash: ./purview_appliance_upgrade_to_8.1.2.59.bin: /bin/bash^M: bad interpreter: No such file or directory
root@Purview.spbgasu.ru:~$

Any ideas?

But it doesn't. I am in /root. Two previous upgrades 7.1.1.9 >> 7.1.4.2 >> 8.0.5.18 worked correct. What is wrong?
Userlevel 5
Ilya Semenov wrote:

But I've got the following error during 8.0 >> 8.1 upgrade:

root@Purview.spbgasu.ru:~$ ./purview_appliance_upgrade_to_8.1.2.59.bin
-bash: ./purview_appliance_upgrade_to_8.1.2.59.bin: /bin/bash^M: bad interpreter: No such file or directory
root@Purview.spbgasu.ru:~$

Any ideas?

You can open the .bin with vi. Maybe there is an error in the script.
Seems there is a ^M after the "/bin/bash" in the first line of the script.

^M can be the dos endof line.

Please check.
Userlevel 4
Ilya Semenov wrote:

But I've got the following error during 8.0 >> 8.1 upgrade:

root@Purview.spbgasu.ru:~$ ./purview_appliance_upgrade_to_8.1.2.59.bin
-bash: ./purview_appliance_upgrade_to_8.1.2.59.bin: /bin/bash^M: bad interpreter: No such file or directory
root@Purview.spbgasu.ru:~$

Any ideas?

Checksum will not match If I change something inside *.bin. Install will fail.
Userlevel 5
Ilya Semenov wrote:

But I've got the following error during 8.0 >> 8.1 upgrade:

root@Purview.spbgasu.ru:~$ ./purview_appliance_upgrade_to_8.1.2.59.bin
-bash: ./purview_appliance_upgrade_to_8.1.2.59.bin: /bin/bash^M: bad interpreter: No such file or directory
root@Purview.spbgasu.ru:~$

Any ideas?

Yes that's right. But you can check if there is the problem (I guess) first.
Userlevel 5
Ilya Semenov wrote:

But I've got the following error during 8.0 >> 8.1 upgrade:

root@Purview.spbgasu.ru:~$ ./purview_appliance_upgrade_to_8.1.2.59.bin
-bash: ./purview_appliance_upgrade_to_8.1.2.59.bin: /bin/bash^M: bad interpreter: No such file or directory
root@Purview.spbgasu.ru:~$

Any ideas?

Here is my update file:

root@purview.sh.loc:~$ vi purview_appliance_upgrade_to_8.1.2.59.bin
#!/bin/bash
# UPDATE_HEADER_START:Version=8.1.2.59:Arch=x86_64:DeviceTypeName=NSAPPID:UPDATE_HEADER_END
# ** NOTE: Do not change the header above. Its needed by InventoryManager.
#
# PurviewSoftwareUpdate.sh
# This script is meant for upgrading just the Purview software.
#
#

##################################################################
Userlevel 7
I've compared the file size from the screenshot you've posted with my files on my PC and while the 7.1.4.1 & 8.0.5.18 are the same the 8.1.2.59 isn't.

The file size for 8.1.2.59 is 954,448,965 bytes...



Could you check the file size on your PC and if it's not the same reload it from the website and then upload it to Analytics.
Userlevel 5
Hello Ron,

yes that's true. My filesize is like yours. Ilyas is bigger and this underlines my guess. There is a dos2unix problem and there are ^M after every line like I guess.

I downloaded a fresh file from the extreme portal via and the update starts:

root@purview.sh.loc:~$ ./purview_appliance_upgrade_to_8.1.2.59.bin
Upgrading Application Analytics Engine from 8.1.2.59 to 8.1.2.59
Already at version 8.1.2.59

Reply