Après l'installation du produit, vous pouvez vérifier les sommes de contrôle des fichiers installés par rapport à une nomenclature fournie avec le produit. Si les sommes de contrôle correspondent, le produit est correctement installé. Dans le cas contraire, examinez les différences pour déterminer s'il existe un problème.
Terminez l'installation du produit avant de comparer les sommes de contrôle des fichiers installés dans la nomenclature fournie.
Utilisez la commande installver_wbi pour comparer un groupe de fichiers de nomenclature avec la somme de contrôle des fichiers installés, afin de vérifier leur validité. Le produit inclut un fichier de nomenclature pour chaque composant destiné à ce système de vérification des fichiers d'installation.
L'outil installver_wbi génère de façon dynamique la liste de tous les composants présents dans l'installation.
Accédez au sous-répertoire bin pour lancer l'outil installver_wbi à partir de la ligne de commande.
Pour comparer la nomenclature au système de fichiers installé, procédez comme suit.
Lorsque vous exécutez une des commandes de somme de contrôle à partir du répertoire racine_installation/bin, l'état de la commande s'affiche sur la console du terminal.
Les messages indiquent le nombre total d'erreurs détectées. Si ce nombre est nul, tous les composants sont présents et aucun problème n'existe. L'utilitaire installver_wbi consigne les résultats de la commande dans le fichier racine_installation/logs/installver.log si vous utilisez le paramètre -log sans indiquer de nom de fichier pour le journal.
Vous pouvez rediriger la sortie à l'aide du paramètre -log et d'un argument. Le répertoire que vous indiquez doit déjà exister. Exemple : ./installver_wbi.sh -log /tmp/waslogs/my_installver.log
Exemple de résultat obtenu pour des composants pour lesquels des erreurs sont détectées
I CWNVU0160I: [ivu] Verifying. I CWNVU0170I: [ivu] The installation root directory is E:\WPS61\ I CWNVU0300I: [ivu] The total number of user excluded files found is 38. I CWNVU0300I: [ivu] The total number of IBM excluded files found is 82. I CWNVU0185I: [ivu] Searching component directory for file listing: files.list I CWNVU0460I: [ivu] The utility is running. I CWNVU0260I: [ivu] The total number of components found is: 441 I CWNVU0270I: [ivu] Gathering installation root data. W CWNVU0280W: [ivu] Component mismatch: expected mismatchcomponentname but found mismatchingname I CWNVU0360I: [ivu] The following bill of materials issue is found for component nullvaluesample: Hash must not be null or an empty string. I CWNVU0360I: [ivu] The following bill of materials issue is found for component nullvaluesample: Name must not be null or an empty string. I CWNVU0360I: [ivu] The following bill of materials issue is found for component nullvaluesample: Hash must not be null or an empty string. I CWNVU0360I: [ivu] The following bill of materials issue is found for component nullvaluesample: Permission must not be null or an empty string. I CWNVU0360I: [ivu] The following bill of materials issue is found for component symlinksample: Hash must not be null or an empty string. I CWNVU0290I: [ivu] Starting the verification for 6 components. I CWNVU0470I: [ivu] Starting to analyze: _binarycomponentsample I CWNVU0480I: [ivu] Done analyzing: _binarycomponentsample I CWNVU0470I: [ivu] Starting to analyze: nullvaluesample I CWNVU0430I: [ivu] The following file is missing: testpath I CWNVU0390I: [ivu] Component issues found : 1 I CWNVU0480I: [ivu] Done analyzing: nullvaluesample I CWNVU0470I: [ivu] Starting to analyze: overlapbinarycomponentsample W CWNVU0422W: [ivu] The following file is overlapped: lib/binaryTest.jar W CWNVU0425W: [ivu] The overlap is caused by: _binarycomponentsample I CWNVU0390I: [ivu] Component issues found : 1 I CWNVU0480I: [ivu] Done analyzing: overlapbinarycomponentsample I CWNVU0470I: [ivu] Starting to analyze: regularcomponentsample I CWNVU0440I: [ivu] The following file is different: lib/different.jar I CWNVU0410I: [ivu] fc19318dd13128ce14344d066510a982269c241b is the checksum in the bill of materials. I CWNVU0420I: [ivu] 517d5a7240861ec297fa07542a7bf7470bb604fe is the checksum on the file system. I CWNVU0440I: [ivu] The following file is different: lib/ibmtemplateexclude.jar I CWNVU0410I: [ivu] d3ac7a4ef1a8ffb4134f2f6e7f3c0d249d74b674 is the checksum in the bill of materials. I CWNVU0420I: [ivu] d3ac7a4ef1a838b4134f2f6e7f3c0d249d74b674 is the checksum on the file system. I CWNVU0430I: [ivu] The following file is missing: lib/missing.jar I CWNVU0440I: [ivu] The following file is different: lib/usertemplateexclude.jar I CWNVU0410I: [ivu] 12dea96fec20593566ab75ff2c9949596833adc9 is the checksum in the bill of materials. I CWNVU0420I: [ivu] 12dea96fec20593566ab75692c9949596833adc9 is the checksum on the file system. I CWNVU0430I: [ivu] The following file is missing: missingfilebutwithbaddirectory/ missingBadDirectory.jar I CWNVU0390I: [ivu] Component issues found : 5 I CWNVU0480I: [ivu] Done analyzing: regularcomponentsample I CWNVU0470I: [ivu] Starting to analyze: symlinksample I CWNVU0480I: [ivu] Done analyzing: symlinksample I CWNVU0400I: [ivu] Total issues found : 7 I CWNVU0340I: [ivu] Done.
Exemple de résultat obtenu pour une installation standard ayant abouti
Cet exemple présente le résultat standard obtenu lors de la vérification d'une installation ayant abouti.
Examinez soigneusement les erreurs avant de considérer qu'il s'agit de problèmes.
I CWNVU0160I: [ivu] Verifying. I CWNVU0170I: [ivu] The installation root directory is E:\WPS61\ I CWNVU0300I: [ivu] The total number of user excluded files found is 38. I CWNVU0300I: [ivu] The total number of IBM excluded files found is 82. I CWNVU0185I: [ivu] Searching component directory for file listing: files.list I CWNVU0460I: [ivu] The utility is running. I CWNVU0260I: [ivu] The total number of components found is: 441 I CWNVU0270I: [ivu] Gathering installation root data. I CWNVU0290I: [ivu] Starting the verification for 439 components. I CWNVU0470I: [ivu] Starting to analyze: ArtifactLoaderImpl I CWNVU0480I: [ivu] Done analyzing: ArtifactLoaderImpl I CWNVU0470I: [ivu] Starting to analyze: activity.impl I CWNVU0480I: [ivu] Done analyzing: activity.impl I CWNVU0470I: [ivu] Starting to analyze: activity.session.impl I CWNVU0480I: [ivu] Done analyzing: activity.session.impl I CWNVU0470I: [ivu] Starting to analyze: acwa I CWNVU0480I: [ivu] Done analyzing: acwa I CWNVU0470I: [ivu] Starting to analyze: adapter I CWNVU0480I: [ivu] Done analyzing: adapter ... I CWNVU0470I: [ivu] Starting to analyze: workspace I CWNVU0480I: [ivu] Done analyzing: workspace I CWNVU0470I: [ivu] Starting to analyze: workspace.query I CWNVU0480I: [ivu] Done analyzing: workspace.query I CWNVU0470I: [ivu] Starting to analyze: wps.rt.bundle I CWNVU0480I: [ivu] Done analyzing: wps.rt.bundle I CWNVU0470I: [ivu] Starting to analyze: wps.wccm.bundle I CWNVU0480I: [ivu] Done analyzing: wps.wccm.bundle I CWNVU0470I: [ivu] Starting to analyze: wpsnd I CWNVU0480I: [ivu] Done analyzing: wpsnd I CWNVU0470I: [ivu] Starting to analyze: wsadie.bundle I CWNVU0480I: [ivu] Done analyzing: wsadie.bundle I CWNVU0470I: [ivu] Starting to analyze: wsba.impl I CWNVU0480I: [ivu] Done analyzing: wsba.impl I CWNVU0400I: [ivu] Total issues found : 0 I CWNVU0340I: [ivu] Done.