By default, the linux package installation of the Enterprise Agent on supported version of Redhat Enterprise Linux Operating System will fail with missing dependency packages errors. The install_thousandeyes.sh script will display the error:
Installing the ThousandEyes AgentFAILURE: Failed installing the ThousandEyes Agent
The following step by step guide will enable the repository holding the Enterprise Agent dependency packages, before attempting to run the Enterprise Agent installation script.
All the commands below should be run as root. To reduce the content repetition, all "sudo" command prefixes have been removed and the whole guide assumes that you are running each command in a root shell.
To reach the root shell, use the following command:
$ sudo -s
The expected output is marked with bold characters on every sample command output below.
An active subscription with Redhat is required. Register and automatically subscribe in one step
# subscription-manager register --username <username> --auto-attach
Registering to: subscription.rhsm.redhat.com:443/subscriptionPassword: <enter your password>The system has been registered with ID: 1234ab56-a78b-9012-2356-a7bc8901d234The registered system name is: hostname.yourcompany.comInstalled Product Current Status:Product Name: Red Hat Enterprise Linux ServerStatus: Subscribed
# subscription-manager repos --enable=rhel-7-server-optional-rpms
Repository 'rhel-7-server-optional-rpms' is enabled for this system.
Complete the linux package installation by following this article: Enterprise Agent deployment using Linux Package method​
Look for errors in the default installation log.
# cat /tmp/install_thousandeyes*.log
Sample output errors:
...yum -y -q install te-agentError: Package: te-agent-1.58.2-1.x86_64 (thousandeyes)Requires: libldns.so.1()(64bit)Error: Package: te-agent-1.58.2-1.x86_64 (thousandeyes)Requires: libcares.so.2()(64bit)Error: Package: te-agent-1.58.2-1.x86_64 (thousandeyes)Requires: libaprutil-1.so.0()(64bit)Error: Package: te-agent-1.58.2-1.x86_64 (thousandeyes)Requires: libapr-1.so.0()(64bit)You could try using --skip-broken to work around the problemYou could try running: rpm -Va --nofiles --nodigest
or
...yum -y -q install te-browserbotError: Package: te-browserbot-1.84.2-1.x86_64 (thousandeyes)Requires: xorg-x11-server-XvfbYou could try using --skip-broken to work around the problemYou could try running: rpm -Va --nofiles --nodigest
# subscription-manager list
+-------------------------------------------+Installed Product Status+-------------------------------------------+Product Name: Red Hat Enterprise Linux ServerProduct ID: 69Version: 7.5Arch: x86_64Status: SubscribedStatus Details:Starts: 06/29/2018Ends: 06/29/2029
# yum repolist enabled
Loaded plugins: product-id, search-disabled-repos, subscription-managerrepo id repo name status!rhel-7-server-optional-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Optional (RPMs) 15,178 - required, manually enabled at Step 2!rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 20,668 - required, enabled by default!rhel-7-server-rt-rpms/7Server/x86_64 Red Hat Enterprise Linux for Real Time (RHEL 7 Server) (RPMs) 309 - enabled by default
# subscription-manager remove --all
1 local certificate has been deleted.1 subscription removed at the server.
# subscription-manager unregister
Unregistering from: subscription.rhsm.redhat.com:443/subscriptionSystem has been unregistered.
# subscription-manager clean
All local data removed
# yum history
Loaded plugins: product-id, search-disabled-repos, subscription-managerID | Login user | Date and time | Action(s) | Altered-------------------------------------------------------------------------------3 | root <root> | 2019-03-22 12:31 | Install | 123 EE2 | root <root> | 2019-03-22 12:05 | Install | 7 EE1 | System <unset> | 2019-03-22 11:49 | Install | 349history list
Use the ID determined above with yum history. The ID value may be different on your system. Observe for lines with the following format: Dep-Install package_name @repository
# yum history info 2
Loaded plugins: product-id, search-disabled-repos, subscription-managerTransaction ID : 2Begin time : Fri Mar 22 12:05:42 2019Begin rpmdb : 349:7ca0d7469815b183923749f849905184af03318cEnd time : 12:05:45 2019 (3 seconds)End rpmdb : 356:bbb6720e8cc5bb39393e4e40cfe7fec54488eec8User : root <root>Return-Code : SuccessCommand Line : -y -q install te-agentTransaction performed with:Installed rpm-4.11.3-35.el7.x86_64 @anaconda/7.6Installed subscription-manager-1.21.10-2.el7.x86_64 @anaconda/7.6Installed yum-3.4.3-161.el7.noarch @anaconda/7.6Installed yum-metadata-parser-1.1.4-10.el7.x86_64 @anaconda/7.6Packages Altered:Dep-Install apr-1.4.8-3.el7_4.1.x86_64 @rhel-7-server-rpmsDep-Install apr-util-1.5.2-6.el7.x86_64 @rhel-7-server-rpmsDep-Install c-ares-1.10.0-3.el7.x86_64 @rhel-7-server-rpmsDep-Install ldns-1.6.16-10.el7.x86_64 @rhel-7-server-rpmsDep-Install libosip2-3.5.0-1.el6.rf.x86_64 @thousandeyesDep-Install libpcap-14:1.5.3-11.el7.x86_64 @rhel-7-server-rpmsInstall te-agent-1.58.2-1.x86_64 @thousandeyesScriptlet output:1 Created symlink from /etc/systemd/system/multi-user.target.wants/te-agent.service to /usr/lib/systemd/system/te-agent.service.history info
You may also find the te-agent dependencies list for RHEL 7 in the ThousandEyes official repository, available as a text file.
Use the ID determined above with yum history. The ID value may be different on your system. Observe for lines with the following format: Dep-Install package_name @repository
# yum history info 3
Loaded plugins: product-id, search-disabled-repos, subscription-managerTransaction ID : 3Begin time : Fri Mar 22 12:31:34 2019Begin rpmdb : 356:bbb6720e8cc5bb39393e4e40cfe7fec54488eec8End time : 12:32:04 2019 (30 seconds)End rpmdb : 479:f4b148a769eace9e301c46ad24028a567c12a67fUser : root <root>Return-Code : SuccessCommand Line : -y -q install te-browserbotTransaction performed with:Installed rpm-4.11.3-35.el7.x86_64 @anaconda/7.6Installed subscription-manager-1.21.10-2.el7.x86_64 @anaconda/7.6Installed yum-3.4.3-161.el7.noarch @anaconda/7.6Installed yum-metadata-parser-1.1.4-10.el7.x86_64 @anaconda/7.6Packages Altered:Dep-Install GConf2-3.2.6-8.el7.x86_64 @rhel-7-server-rpmsDep-Install adwaita-cursor-theme-3.28.0-1.el7.noarch @rhel-7-server-rpmsDep-Install adwaita-icon-theme-3.28.0-1.el7.noarch @rhel-7-server-rpmsDep-Install at-3.1.13-24.el7.x86_64 @rhel-7-server-rpmsDep-Install at-spi2-atk-2.26.2-1.el7.x86_64 @rhel-7-server-rpmsDep-Install at-spi2-core-2.28.0-1.el7.x86_64 @rhel-7-server-rpmsDep-Install atk-2.28.1-1.el7.x86_64 @rhel-7-server-rpmsDep-Install avahi-libs-0.6.31-19.el7.x86_64 @rhel-7-server-rpmsDep-Install bc-1.06.95-13.el7.x86_64 @rhel-7-server-rpmsDep-Install cairo-1.15.12-3.el7.x86_64 @rhel-7-server-rpmsDep-Install cairo-gobject-1.15.12-3.el7.x86_64 @rhel-7-server-rpmsDep-Install colord-libs-1.3.4-1.el7.x86_64 @rhel-7-server-rpmsDep-Install copy-jdk-configs-3.3-10.el7_5.noarch @rhel-7-server-rpmsDep-Install cups-client-1:1.6.3-35.el7.x86_64 @rhel-7-server-rpmsDep-Install cups-libs-1:1.6.3-35.el7.x86_64 @rhel-7-server-rpmsDep-Install dconf-0.28.0-4.el7.x86_64 @rhel-7-server-rpmsDep-Install dejavu-fonts-common-2.33-6.el7.noarch @rhel-7-server-rpmsDep-Install dejavu-sans-fonts-2.33-6.el7.noarch @rhel-7-server-rpmsDep-Install ed-1.9-4.el7.x86_64 @rhel-7-server-rpmsDep-Install flac-libs-1.3.0-5.el7_1.x86_64 @rhel-7-server-rpmsDep-Install fontconfig-2.13.0-4.3.el7.x86_64 @rhel-7-server-rpmsDep-Install fontpackages-filesystem-1.44-8.el7.noarch @rhel-7-server-rpmsDep-Install fribidi-1.0.2-1.el7.x86_64 @rhel-7-server-rpmsDep-Install gdk-pixbuf2-2.36.12-3.el7.x86_64 @rhel-7-server-rpmsDep-Install giflib-4.1.6-9.el7.x86_64 @rhel-7-server-rpmsDep-Install glib-networking-2.56.1-1.el7.x86_64 @rhel-7-server-rpmsDep-Install gnutls-3.3.29-9.el7_6.x86_64 @rhel-7-server-rpmsDep-Install graphite2-1.3.10-1.el7_3.x86_64 @rhel-7-server-rpmsDep-Install gsettings-desktop-schemas-3.28.0-2.el7.x86_64 @rhel-7-server-rpmsDep-Install gsm-1.0.13-11.el7.x86_64 @rhel-7-server-rpmsDep-Install gtk-update-icon-cache-3.22.30-3.el7.x86_64 @rhel-7-server-rpmsDep-Install gtk2-2.24.31-1.el7.x86_64 @rhel-7-server-rpmsDep-Install gtk3-3.22.30-3.el7.x86_64 @rhel-7-server-rpmsDep-Install harfbuzz-1.7.5-2.el7.x86_64 @rhel-7-server-rpmsDep-Install hicolor-icon-theme-0.12-7.el7.noarch @rhel-7-server-rpmsDep-Install jasper-libs-1.900.1-33.el7.x86_64 @rhel-7-server-rpmsDep-Install java-1.7.0-openjdk-1:1.7.0.211-2.6.17.1.el7_6.x86_64 @rhel-7-server-rpmsDep-Install java-1.7.0-openjdk-headless-1:1.7.0.211-2.6.17.1.el7_6.x86_64 @rhel-7-server-rpmsDep-Install javapackages-tools-3.4.1-11.el7.noarch @rhel-7-server-rpmsDep-Install jbigkit-libs-2.0-11.el7.x86_64 @rhel-7-server-rpmsDep-Install json-glib-1.4.2-2.el7.x86_64 @rhel-7-server-rpmsDep-Install lcms2-2.6-3.el7.x86_64 @rhel-7-server-rpmsDep-Install libICE-1.0.9-9.el7.x86_64 @rhel-7-server-rpmsDep-Install libSM-1.2.2-2.el7.x86_64 @rhel-7-server-rpmsDep-Install libX11-1.6.5-2.el7.x86_64 @rhel-7-server-rpmsDep-Install libX11-common-1.6.5-2.el7.noarch @rhel-7-server-rpmsDep-Install libXScrnSaver-1.2.2-6.1.el7.x86_64 @rhel-7-server-rpmsDep-Install libXau-1.0.8-2.1.el7.x86_64 @rhel-7-server-rpmsDep-Install libXcomposite-0.4.4-4.1.el7.x86_64 @rhel-7-server-rpmsDep-Install libXcursor-1.1.15-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libXdamage-1.1.4-4.1.el7.x86_64 @rhel-7-server-rpmsDep-Install libXdmcp-1.1.2-6.el7.x86_64 @rhel-7-server-rpmsDep-Install libXext-1.3.3-3.el7.x86_64 @rhel-7-server-rpmsDep-Install libXfixes-5.0.3-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libXfont2-2.0.3-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libXft-2.3.2-2.el7.x86_64 @rhel-7-server-rpmsDep-Install libXi-1.7.9-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libXinerama-1.1.3-2.1.el7.x86_64 @rhel-7-server-rpmsDep-Install libXmu-1.1.2-2.el7.x86_64 @rhel-7-server-rpmsDep-Install libXrandr-1.5.1-2.el7.x86_64 @rhel-7-server-rpmsDep-Install libXrender-0.9.10-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libXt-1.1.5-3.el7.x86_64 @rhel-7-server-rpmsDep-Install libXtst-1.2.3-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libXxf86vm-1.1.4-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libasyncns-0.8-7.el7.x86_64 @rhel-7-server-rpmsDep-Install libepoxy-1.5.2-1.el7.x86_64 @rhel-7-server-rpmsDep-Install liberation-fonts-common-1:1.07.2-16.el7.noarch @rhel-7-server-rpmsDep-Install liberation-sans-fonts-1:1.07.2-16.el7.noarch @rhel-7-server-rpmsDep-Install libfontenc-1.1.3-3.el7.x86_64 @rhel-7-server-rpmsDep-Install libglvnd-1:1.0.1-0.8.git5baa1e5.el7.x86_64 @rhel-7-server-rpmsDep-Install libglvnd-egl-1:1.0.1-0.8.git5baa1e5.el7.x86_64 @rhel-7-server-rpmsDep-Install libglvnd-glx-1:1.0.1-0.8.git5baa1e5.el7.x86_64 @rhel-7-server-rpmsDep-Install libgusb-0.2.9-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libjpeg-turbo-1.2.90-6.el7.x86_64 @rhel-7-server-rpmsDep-Install libmodman-2.0.1-8.el7.x86_64 @rhel-7-server-rpmsDep-Install libogg-2:1.3.0-7.el7.x86_64 @rhel-7-server-rpmsDep-Install libproxy-0.4.11-11.el7.x86_64 @rhel-7-server-rpmsDep-Install libsndfile-1.0.25-10.el7.x86_64 @rhel-7-server-rpmsDep-Install libsoup-2.62.2-2.el7.x86_64 @rhel-7-server-rpmsDep-Install libthai-0.1.14-9.el7.x86_64 @rhel-7-server-rpmsDep-Install libtiff-4.0.3-27.el7_3.x86_64 @rhel-7-server-rpmsDep-Install libusbx-1.0.21-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libvorbis-1:1.3.3-8.el7.1.x86_64 @rhel-7-server-rpmsDep-Install libwayland-client-1.15.0-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libwayland-cursor-1.15.0-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libwayland-egl-1.15.0-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libwayland-server-1.15.0-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libxcb-1.13-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libxkbcommon-0.7.1-1.el7.x86_64 @rhel-7-server-rpmsDep-Install libxkbfile-1.0.9-3.el7.x86_64 @rhel-7-server-rpmsDep-Install libxshmfence-1.2-1.el7.x86_64 @rhel-7-server-rpmsDep-Install m4-1.4.16-10.el7.x86_64 @rhel-7-server-rpmsDep-Install mailx-12.5-19.el7.x86_64 @rhel-7-server-rpmsDep-Install mesa-libEGL-18.0.5-4.el7_6.x86_64 @rhel-7-server-rpmsDep-Install mesa-libGL-18.0.5-4.el7_6.x86_64 @rhel-7-server-rpmsDep-Install mesa-libgbm-18.0.5-4.el7_6.x86_64 @rhel-7-server-rpmsDep-Install mesa-libglapi-18.0.5-4.el7_6.x86_64 @rhel-7-server-rpmsDep-Install nettle-2.7.1-8.el7.x86_64 @rhel-7-server-rpmsDep-Install pango-1.42.4-1.el7.x86_64 @rhel-7-server-rpmsDep-Install patch-2.7.1-10.el7_5.x86_64 @rhel-7-server-rpmsDep-Install pcsc-lite-libs-1.8.8-8.el7.x86_64 @rhel-7-server-rpmsDep-Install pixman-0.34.0-1.el7.x86_64 @rhel-7-server-rpmsDep-Install psmisc-22.20-15.el7.x86_64 @rhel-7-server-rpmsDep-Install pulseaudio-libs-10.0-5.el7.x86_64 @rhel-7-server-rpmsDep-Install python-javapackages-3.4.1-11.el7.noarch @rhel-7-server-rpmsDep-Install redhat-lsb-core-4.1-27.el7.x86_64 @rhel-7-server-rpmsDep-Install redhat-lsb-submod-security-4.1-27.el7.x86_64 @rhel-7-server-rpmsDep-Install rest-0.8.1-2.el7.x86_64 @rhel-7-server-rpmsDep-Install spax-1.5.2-13.el7.x86_64 @rhel-7-server-rpmsInstall te-browserbot-1.84.2-1.x86_64 @thousandeyesDep-Install te-chromium-68.0.3440.83-1~centos7.x86_64 @thousandeyesDep-Install time-1.7-45.el7.x86_64 @rhel-7-server-rpmsDep-Install trousers-0.3.14-2.el7.x86_64 @rhel-7-server-rpmsDep-Install ttmkfdir-3.0.9-42.el7.x86_64 @rhel-7-server-rpmsDep-Install tzdata-java-2018i-1.el7.noarch @rhel-7-server-rpmsDep-Install wget-1.14-18.el7.x86_64 @rhel-7-server-rpmsDep-Install xkeyboard-config-2.24-1.el7.noarch @rhel-7-server-rpmsDep-Install xorg-x11-font-utils-1:7.5-21.el7.x86_64 @rhel-7-server-rpmsDep-Install xorg-x11-fonts-Type1-7.5-9.el7.noarch @rhel-7-server-rpmsDep-Install xorg-x11-server-Xvfb-1.20.1-5.3.el7_6.x86_64 @rhel-7-server-optional-rpmsDep-Install xorg-x11-server-common-1.20.1-5.3.el7_6.x86_64 @rhel-7-server-rpmsDep-Install xorg-x11-xauth-1:1.0.9-1.el7.x86_64 @rhel-7-server-rpmsDep-Install xorg-x11-xkb-utils-7.7-14.el7.x86_64 @rhel-7-server-rpmsScriptlet output:1 Created symlink from /etc/systemd/system/multi-user.target.wants/te-browserbot.service to /usr/lib/systemd/system/te-browserbot.service.history info
You may also find the te-browserbot dependencies list for RHEL 7 in the ThousandEyes official repository, available as a txt file.