Monitoring, Management & Location Tracking

 View Only
last person joined: one year ago 

Articles relating to existing and legacy HPE Aruba Networking products and solutions including AirWave, Meridian Apps, ALE, Central / HPE Aruba Networking Central, and UXI / HPE Aruba Networking User Experience Insight

Getting error looking for service tag on a Dell server 

Mar 18, 2017 03:43 PM

Problem:

 

What to do when we get the below error while looking for the service tag on a Dell server?

 

[root@Aruba-Airwave mercury]# dmidecode | grep -i serial
-bash: dmidecode: command not found



Diagnostics:

 

We use the command dmidecode to get the serial number from Dell box. Towards newer version of Airwave we end up with command not found error while we try to execute this command. The reason for this is because towards the newer code we don't have the rpm package for dmidecode installed by default.



Solution

 

To resolve this issue we have to install this package on Airwave. We can either use yum install or we can even install it manually. The package name would be as below,

 

[root@Aruba-Airwave mercury]# rpm -qa dmidecode
dmidecode-2.12-7.el6.x86_64

 

Here i would be installing it using Yum,

 

[root@Aruba-Airwave mercury]# yum -y install dmidecode
Loaded plugins: fastestmirror, presto, security, verify, versionlock
Setting up Install Process
Determining fastest mirrors
 * base: mirror.nbrc.ac.in
 * extras: mirror.fibergrid.in
 * updates: mirror.fibergrid.in
base                                                                                                                                                                  | 3.7 kB     00:00
extras                                                                                                                                                                | 3.4 kB     00:00
extras/primary_db                                                                                                                                                     |  37 kB     00:00
updates                                                                                                                                                               | 3.4 kB     00:00
updates/primary_db                                                                                                                                                    | 4.3 MB     00:01
Resolving Dependencies
--> Running transaction check
---> Package dmidecode.x86_64 1:2.12-7.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

=============================================================================================================================================================================================
 Package                                       Arch                                       Version                                             Repository                                Size
=============================================================================================================================================================================================
Installing:
 dmidecode                                     x86_64                                     1:2.12-7.el6                                        base                                      74 k

Transaction Summary
=============================================================================================================================================================================================
Install       1 Package(s)

Total download size: 74 k
Installed size: 191 k
Downloading Packages:
Setting up and reading Presto delta metadata
Processing delta metadata
Package(s) data still to download: 74 k
dmidecode-2.12-7.el6.x86_64.rpm                                                                                                                                       |  74 kB     00:00
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Warning: RPMDB altered outside of yum.
** Found 38 pre-existing rpmdb problem(s), 'yum check' output follows:
aw-perl-libwww-perl-5.813-1.noarch has missing requires of aw-perl(Authen::NTLM)
aw-perl-libwww-perl-5.813-1.noarch has missing requires of aw-perl(HTTP::GHTTP)
aw-perl-libwww-perl-5.813-1.noarch has missing requires of aw-perl(Win32)
redhat-lsb-core-4.0-7.el6.centos.x86_64 has missing requires of /bin/ed
redhat-lsb-core-4.0-7.el6.centos.x86_64 has missing requires of /bin/gettext
redhat-lsb-core-4.0-7.el6.centos.x86_64 has missing requires of /usr/bin/at
redhat-lsb-core-4.0-7.el6.centos.x86_64 has missing requires of /usr/bin/batch
redhat-lsb-core-4.0-7.el6.centos.x86_64 has missing requires of /usr/bin/msgfmt
redhat-lsb-core-4.0-7.el6.centos.x86_64 has missing requires of /usr/bin/pax
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libGL.so.1()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libGLU.so.1()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libICE.so.6()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libQtCore.so.4()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libQtGui.so.4()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libQtNetwork.so.4()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libQtOpenGL.so.4()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libQtSql.so.4()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libQtSvg.so.4()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libQtXml.so.4()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libSM.so.6()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libXi.so.6()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libXt.so.6()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libXtst.so.6()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libasound.so.2()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libatk-1.0.so.0()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libcups.so.2()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libcupsimage.so.2()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libgdk-x11-2.0.so.0()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libgdk_pixbuf-2.0.so.0()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libgdk_pixbuf_xlib-2.0.so.0()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libgtk-x11-2.0.so.0()(64bit)
redhat-lsb-graphics-4.0-7.el6.centos.x86_64 has missing requires of libqt-mt.so.3()(64bit)
redhat-lsb-printing-4.0-7.el6.centos.x86_64 has missing requires of /usr/bin/foomatic-rip
redhat-lsb-printing-4.0-7.el6.centos.x86_64 has missing requires of /usr/bin/gs
redhat-lsb-printing-4.0-7.el6.centos.x86_64 has missing requires of /usr/bin/lp
redhat-lsb-printing-4.0-7.el6.centos.x86_64 has missing requires of /usr/bin/lpr
redhat-lsb-printing-4.0-7.el6.centos.x86_64 has missing requires of libcups.so.2()(64bit)
redhat-lsb-printing-4.0-7.el6.centos.x86_64 has missing requires of libcupsimage.so.2()(64bit)
  Installing : 1:dmidecode-2.12-7.el6.x86_64                                                                                                                                             1/1
  Verifying  : 1:dmidecode-2.12-7.el6.x86_64                                                                                                                                             1/1

Installed:
  dmidecode.x86_64 1:2.12-7.el6

Complete!
 

Once done we can execute the below command to get the serial details of the server.

 

[root@Aruba-Airwave mercury]# dmidecode -t 1
# dmidecode 2.12
SMBIOS 2.4 present.

Handle 0x0001, DMI type 1, 27 bytes
System Information
        Manufacturer: VMware, Inc.
        Product Name: VMware Virtual Platform
        Version: None
        Serial Number: VMware-56 4d c0 23 54 80 75 78-bb d7 d1 21 2b a0 1c 8a
        UUID: 564DC023-5480-7578-BBD7-D1212BA01C8A
        Wake-up Type: Power Switch
        SKU Number: Not Specified
        Family: Not Specified

 

 

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads

Related Entries and Links

No Related Resource entered.