LMS 4.2 possibility to md5 checksum all ios images in repository?
Hi,
Recently we upgraded a switch with an image from the repository in LMS. After the installation of the image it seemed corrupt.
My question now is : Can we do a MD5 checksum on all the images in the local repository to verify that all images are ok to use?
Kind regards
Steven
Hi,
I know this is a really old thread but I have a question regarding the MD5 checks.
I am using a freshly installed Prime LMS 4.2.5 and I would like to know is the LMS is checking the file checksum of the IOS copied to a router/switch to make sure it's integrity is good? Or it is still not implemented? I am asking this because I see the SNMP OID 1.3.6.1.4.1.9.9.10.1.1.4.2.1.1.3 (ciscoFlashFileChecksum) in the traffic between LMS and the devices but I don't see any evidence in LMS job about this integrity check (neither in the telnet session commands).
[Update I] Just to inform you - if you ran into the same problem:
I opened an SR with Cisco to ask them about this and a nice engineer made a thorough investigation and the result is: during a deployment job LMS 4.2.5 does MD5 verification on the image copied on the device (but from another SR I know that the Prime Infrastructure 2.2 does not do MD5 verification on the image copied on the device, only when importing the image to the repository).
[Update II] Bug for this PI problem: PI (Version 2.2 and above), while distributing image into device, validates successful image copy by validating a copy prompt from the device - so only checking the size of the image, not the MD5 hash.. https://tools.cisco.com/bugsearch/bug/CSCut63077
Waiting for a reply:
Norbert
Similar Messages
-
Md5 checksums of all packages from the specified directory
How to check md5 checksums of all packages from the specified directory with pacman?
karol wrote:It's 4.30 AM, the sun comes up and I'm going to bed.
Hmmm, the blue sky and violet-pink clouds remind me of Arch homepage ;P
Hehe, it's a nice feeling, nevertheless.
@dkorzhevin: here's a script I've made when I needed this:
#!/bin/bash
echo -n "" > pkgNotFound
echo -n "" > pkgSums
names=`pacman -Slq`
for name in $names
do
versionLine=`pacman -Si $name | grep "Version : "`
version=`echo -n $versionLine | sed -e 's/Version : //g'`
md5Line=`pacman -Si $name | grep "MD5 Sum : "`
md5=`echo -n $md5Line | sed -e 's/MD5 Sum : //g'`
pkgPath=`find /var/cache/pacman/pkg/ -name $name"-"$version"*"`
if [ "$pkgPath" = "" ]
then
echo "Error: "$name" package not found in cache." >> pkgNotFound
else
echo $md5" "$pkgPath >> pkgSums
fi
done
exit 0
So your output will be located in the file "pkgSums" and it will look like this, these are the checksums that pacman displays, and the paths of your local packages:
4ce0d40359bfa1a4a0f47a0e53e65fa5 /var/cache/pacman/pkg/acl-2.2.49-1-x86_64.pkg.tar.xz
24df396b3146d1a203e0d4f4d6edd67b /var/cache/pacman/pkg/ar9170-fw-1.0-2-any.pkg.tar.gz
8454e0fc947f9c8ce4ac5c39ed6ef165 /var/cache/pacman/pkg/attr-2.4.44-1-x86_64.pkg.tar.gz
9ef6b0ce43a4660170df21ead2f8e711 /var/cache/pacman/pkg/autoconf-2.65-2-any.pkg.tar.xz
505fe675565601f6ca803779601837cf /var/cache/pacman/pkg/automake-1.11.1-1-any.pkg.tar.gz
To check the checksums against the packages, just run md5 with the newly created file, if you get output then something stinks :
# md5sum -c --quiet pkgSums
There's another file "pkgNotFound" for the packages which are found in pacman but not on your disk. So make sure you don't have these two files already, in the current directory, containing important information - they will be overwritten. -
Is It possible to access checksum field of LIN frame?
Hi All,
I am using LabVIEW 8.2 and PCI 3072 LIN card (GÖPEL electronic GmbH) .
Is it possible to access checksum field of LIN frame? I have to test one LIN driver - LIN conformance test. So I need to access timing of each byte, value of checksum, sync field etc. Anybody please reply
Regards
Preejesh M RHi,
You should have found some examples along with the Drivers provided in the CD which comes along with the card. If not, you can contact Goepel and they can provide them. Which driver APIs are you using for this device? Is there a function for checksum in the API, if not you can create a logic to read the string and convert it to a number and add all the bits together. My first suggestion, however is to contact Goepel.
Thanks,
National Instruments
Applications Engineer -
I am moving about 30Gb of files across between two computers. I want to be sure they have been moved bit-perfectly. I've been told to use MD5 checksum to do this but I am not sure how.
The files are in nested folders, several levels deep, so I need a solution which will check them all in one go, including all subfolder contents.
I'm only going to do this once. If it can be done from Terminal, I'm happy to try, if someone can talk me through it... (Have never used Terminal before.)I don't how how many files you're talking about but that potentially could be a lot of checksums. At any rate here's some suggestions:
For terminal:
find path-to-dir -type f -print0 | xargs -0 md5 > x
find path-to-dir -type f -exec cat {} \; | md5
First command will generate a md5 for each file into file x. Do it on the source and destination and compare.
Second command would be a single md5 for all concatenation of all the files. Might overflow something I'm guessing.
Here's some pre-built utilities:
checkSum+
md5 -
Hoping someone else has run into this and has an updated solution.
As I need to batch upload content using an .xml manifest, the content ingestor (sp) suggests including a checksum for each asset. Further, they recommend the application MD5 Checksum which is being distributed via the Apple site here:
http://www.apple.com/downloads/macosx/automator/md5checksum.html
In downloading and extracting the app and it's Read Me, I find that the documentation pertains to installation on OSX 10.4 Tiger. As I am running OSX 10.5.8, the directory structure for installation no longer exists, viz:
To install
Place this file:
MD5 Checksum
... in this folder:
~/Library/Workflows/Applications/Finder
... where ~ represents your Home folder.
Can someone supply an updated path where this app should be installed?
TIA, interrobangWith all due respect, thank you. I'm not sure this is relevant, however I am sure it is preposterously broad in terms of scope of reference.
I could start just about anywhere looking for a needle in a haystack as well. I was hoping someone could provide a magnet, rather than a magnifying glass.
Beyond that, I'm not dealing with server software, simply an install on a desktop machine that will run this little app, I presume, via Automator.
Can anyone else provide a little specificity, if not the actual path to the directory to drop into? It seemed like a very simple question, but perhaps I've posed it in the incorrect forum. -
i have american account but i just now have 0.61$ and i have another gift card from uk.i want to use it but itunes said i have to change my country and its not possible before i spend all my money.my question is how i can spend a 0.61$ ?
If you are now in the UK then you can try contacting iTunes support and see if they can remove the balance from your account : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page
-
Is it possible to export a file from Organizer with the list of all the images in an album?
Is it possible to export a file from Organizer with a list of all the images in a certain album? In filling one of my albums I did not save my edited images to the same file... they are spread out a bit.... Now I want them to make a book with them (outside of Elements).
As far as I know, Elements does not have the ability to create lists.
The solution to your problem of making a book outside of Elements is to place all the desired photos in an Album and then select File->Export->As New Files which gives you the ability to make a copy of every photo in the album in a new folder, from which you would create your photobook. -
How to do md5 checksum in PL/SQL in 8i
Is there any function in PL/SQL for md5 checksum?
Oracle8i Enterprise Edition Release 8.1.7.3.0 - Production
With the Partitioning option
JServer Release 8.1.7.3.0 - Production
SQL> SET SERVEROUTPUT ON;
SQL> BEGIN
2 DBMS_OUTPUT.PUT_LINE (
3 'md5 hash => ' ||
4 DBMS_OBFUSCATION_TOOLKIT.MD5 (
5 input => UTL_RAW.CAST_TO_RAW ('plain text')));
6 END;
7 /
md5 hash => 31BC5C2B8FD4F20CD747347B7504A385
PL/SQL procedure successfully completed.
SQL> -
How to use md5 Checksums to verify thousands of copied files
Hello,
So I need to be able to verify the succesful copy of thousands of files using md5 checksums.
is there a program for this or a string of code for terminal?
Please help.
Cheers.I cover how to do that in the link above, but to quickly do this, run the following command on both folder paths:
find -s ~/Downloads -type f -exec md5 -q {} \; | md5
This will generate a list of md5 checksums for each file in the directory (in this case, the Downloads directory in your home folder, but you can change this to whatever you would like), and then create a summary checksum of the collective checksums.
In my case, the above command yields the following checksum:
42cf9632cf763cad84c633f0cc7c93bb
Doing this on my Documents folder yields the following checksum:
782845544f0ecf8a7ae5fa66197d6abd
You can then compare these to see if they are different. In this case they are, indicating the folders do not have the same contents.
Keep in mind this may take a while to run, as checksums will have to be computed for each file in the directory. While this is a raw command, you can save it in a script and then simply run the script with an input argument to make it easier. For example, the following script should work:
#!/bin/bash
find -s $1 -type f -exec md5 -q {} \; | md5
Saving this in a text file, naming it something like "dirsum" and then making it executable in a path location such sa /bin (or a custom added path) will make it easily accessible, so you can run the same command by simply typing the following in the Terminal (in this case to calculate a checksum of the Downloads folder):
dirsum ~/Downloads -
How can I possible lose my entire photo library/ referenced master image file if I have downloaded all my images directly onto Aperture?
CeliaJane, you need to distinguish between the Aperture Library and the Aperture Application.
Aperture stores your images in a database, and it is this database that we have to find and probably to repair, not the application (hopefully). And since you do not see any images, I suspect that Aperture created a new, empty Aperture Library,and you are now viewing this empty library. Usully the library sits in your Pictures fiolder.
Look into your Pictures folder, if you see a file with a colorful icon with three pictures, called something.aplibrary, as shown above. And also enter ".applibrary" into the "Spotlight" searchfield in the upper right corner of your screen. If you have more than one Library, you should be able to find them this way.
The largest file you find will probably be the correct library.
When you have found the correct file called aperturexxxx.aplibrary, try to open it in "First Aid" mode.
Select the Library and press down "command" and "option" key at the same time, while you double click the library.
Now the First Aid dialogue should appear:
Select: Repair Permissions" and see if you can open the Library again. If it did not help, try the other two options in turn.
Regards
Léonie -
MD5 Checksum Changes When Renaming Files in Bridge?
Just like the title says: MD5 checksum seems to be changing when renaming files in Bridge
Is this normal? Is there anyway to disable this? Checksums do not seem to change when renaming a file outside of Bridge (ie; in Windows Explorer or Mac Finder).
Ken
P.S. System is Windows 7 using Bridge CS6 (64bit)Thanks for the quick reply Curt.
Until you just now asked the question, I could not explain why it should not change. Now, if I understand correctly after googling around a bit, it appears the hash can be computed either with or without the filename (among other things).
Apparently Bridge computes the hash including the filename. It seems there is an option to compute the hash based only on the file contents (ie; without the filename). My assumption was that by default, the checksum was generated using only the files contents (ie; without the filename).
I'm hoping someone can comment definitively on how Adobe Bridge does it and whether or not there's a way to change it.
Ken -
Hi,
I am generating some output for client in 9.2 database and sending this output file to client. Client want md5 checksum for whole file to be get added in a header of output file. In Oracle 9.2 is it possbile to get md5 value for complete query output ?
( I know it is not easy, may be store output as CLOB and then calculate md5 value ...etc ).
This question is for my learning.
thanks & regards
pjpHere are a couple of methods you can use...
public static String md5(byte[] buffer) {
StringBuffer md5Hash = new StringBuffer(32);
try {
byte[] b = java.security.MessageDigest.getInstance("MD5").digest(buffer);
int len = b.length;
for (int x=0; x<len; x++) {
md5Hash.append(String.format("%02x",b[x]));
catch (java.security.NoSuchAlgorithmException e) {
e.printStackTrace();
return(md5Hash.toString());
public static String md5File(String file) {
String md5Hash = "";
try {
FileInputStream in = new FileInputStream(file);
int bytes = in.available();
byte[] buffer = new byte[bytes];
in.read(buffer);
in.close();
md5Hash = md5(buffer);
catch (Exception e) {
e.printStackTrace();
return md5Hash;
} -
Find MD5 checksum of a DVD using terminal?
Hi, I was wondering how to find the MD5 checksum of a DVD in my Mac's DVD drive. I no longer have the .ISO and I want to verify its authenticity. Thanks.
You can do that with Disk Utility.
Open Disk Utility and select your disk in the sidebar. From the "Images" menu, choose "MD5 image checksum" from the "Checksum" submenu. -
if your iphone 3gs just shuts down when something went wrong with your hardware is there any possible way to get all pictures or other important stuff onto itunes?
What happened to the phone. Did it just go black? Did you try to plug it into Itunes and see if it can be seen or throw it on the charger. You can still try the reset procedure listed in http://support.apple.com/kb/ht1430 and see if the phone turns back on.
The only way to get things back is to have backed them up ahead of time. -
Is It Possible To Print Out All The Names In Address Book At Once?
I have got rather a lot of names and email addresses in my Address Book.
I would like to print them on a few sheets of A4 but the only print options I can find are to print out a single card (with one name) at a time.
Is it possible to print them all in one go?
Ian.Yes, this is very easy. Select the 'All' group, then choose Print from the File menu. Choose your printing options from the menus and send it to your printer.
Mulder
If this answered you question, please consider awarding some points. Why Reward Points?
iMac G4 700Mhz Mac OS X (10.3.9)
Maybe you are looking for
-
Open Item Clearing Differences - Tolerence Groups for specific GL Acctts
Dear Forum, We have a situation where we need to set up different Tolerance Groups for Clearing Differences for different GL Accounts, such as for GL Account for GRIR Clearing Account, we do not want any clearing differences and therefore the toleran
-
Trading Partner information lost in Order Settlement
Hi FICO Experts, Original documents are posted to Order with Trading Partner. During the Settlement of Order costs from order to Cost Center, the Trading Partner information is lost in the settlement posting. Can anyone please tell me is there any w
-
Hp designjet t770 tile printing from Adobe 9 PDF file?
Trying to print a PDF (Adobe) document in sections to make a wall map that will be 4.5ft x 7ft. Can't find a way to print in tiles (sections). Obviously with the design jet length is not a problem but I am restricted to 42in width. Any help???
-
Issue with Extending EO based VO
Hi Guys, I am trying to extend a EO based VO by adding an extra column which comes from other table.I have written a function to retrieve that column which is nothing but a flag ( Y or N or Null) The below is the modified Query with the added column
-
Can i move the trash bin from the right hand side to the left (i am left handed)
can i move the trash bin from the right hand side to the left