Absent Member.
Absent Member.
1463 views

Can't install Linux connector on RedHat 6.4 based OS

Greetings,

I am trying to install the ArcSight linux connector on a system running Centos 6.4 (2.6.32-358.6.2.el6.x86_64 #1 SMP) and I am trying to run the installer in console mode.  I have not found an installation guide or help in the installer, so I used my best guesses based off what I found in other forum posts.  The most recent RedHat release I can find mention of is 6.2, I know Centos is not officially supported, but it never hurts to ask.

When I run the installer I get this output, and nothing more:

# /var/tmp/ArcSight-6.0.7.6901.0-Connector-Linux.bin -i console

Preparing to install...

Extracting the JRE from the installer archive...

Unpacking the JRE...

Extracting the installation resources from the installer archive...

Configuring the installer for this system's environment...

Launching installer...

/var/tmp/ArcSight-6.0.7.6901.0-Connector-Linux.bin: /root/install.dir.30655/Linux/resource/jre/bin/java: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory

./ArcSight-6.0.7.6901.0-Connector-Linux.bin: line 3319: /tmp/install.dir.30655/Linux/resource/jre/bin/java: Success

I see the error about a bad ELF interpreter, and it is correct; that version is not installed and definitely not in the lib directory.  I made a simlink  to the current ld-linux.so at the path the installer is looking for and it only changed one line of the output:


# /var/tmp/ArcSight-6.0.7.6901.0-Connector-Linux.bin -i console

Preparing to install...

Extracting the JRE from the installer archive...

Unpacking the JRE...

Extracting the installation resources from the installer archive...

Configuring the installer for this system's environment...

Launching installer...

./ArcSight-6.0.7.6901.0-Connector-Linux.bin: line 3319: /tmp/install.dir.30462/Linux/resource/jre/bin/java: Accessing a corrupted shared library

./ArcSight-6.0.7.6901.0-Connector-Linux.bin: line 3319: /tmp/install.dir.30462/Linux/resource/jre/bin/java: Success

Both report launching the installer as a success, but I don't get any further prompts or configuration steps.

Labels (1)
0 Likes
9 Replies
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

Hi there,

You can solve that problem by doing:

yum install glibc*

centos - Error on application install: /lib/ld-linux.so.2: bad ELF interpreter: No such file or directory - Unix & L…

You will be able to successfully install connector on CentOS 6.5.

Next problem will be "Graphical installers are not supported by VM" Im currently at it but with no luck.

You can do console installation and it will succeed.

After that you will be asked to launch ./runagentsetup.sh

by doing that I get this:

[root@10 bin]# ./runagentsetup.sh -i console

Assuming ARCSIGHT_HOME: /home/gm/arcsight/smartconnectors/current

Assuming JAVA_HOME: /home/gm/arcsight/smartconnectors/current/jre

ArcSight Agent Setup starting...

Connector Setup Wizard starting in mode [console]

[Fri Jan 24 11:03:09 EET 2014] [INFO ] Checking for a running instance of connector...

[Fri Jan 24 11:03:21 EET 2014] [INFO ] Starting up connector...

Connector Setup

---------------

Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class java.awt.Toolkit

  at java.awt.Color.<clinit>(Color.java:263)

  at com.arcsight.wizard.swing.a.h.<clinit>(h.java:61)

  at com.arcsight.wizard.console.WizardRadioPanelImpl.setText(WizardRadioPanelImpl.java:269)

  at com.arcsight.wizard.d.f$0.<init>(f$0.java:43)

  at com.arcsight.wizard.d.f.a(f.java:33)

  at com.arcsight.wizard.d.b.a(b.java:124)

  at com.arcsight.wizard.d.b.b(b.java:273)

  at com.arcsight.wizard.d.b.f(b.java:169)

  at com.arcsight.wizard.t.a(t.java:312)

  at com.arcsight.wizard.t.run(t.java:247)

  at com.arcsight.wizard.d.b.run(b.java:551)

  at com.arcsight.wizard.d.b.run(b.java:531)

  at com.arcsight.wizard.d.l.run(l.java:91)

  at com.arcsight.agent.jd.b.run(b.java:660)

  at com.arcsight.agent.jd.b.run(b.java:635)

  at com.arcsight.agent.jd.b.main(b.java:843)

  at com.arcsight.agent.jd.d.main(d.java:2517)

I can successfully install linux superconnector on that machine with no problems...

Help?

0 Likes
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

I get exactly the same error on CentOS 6.5. Will keep investigating.

0 Likes
Commodore
Commodore

Try running "yum install ld-linux.so.2" as root

0 Likes
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

Hi Jeremy

Previously, has run "yum -y install libc.so.6". Tried your suggestion:

[root@localhost Desktop]# yum install ld-linux.so.2

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

* base: centos.mirror.uber.com.au

* extras: centos.mirror.crucial.com.au

* updates: centos.mirror.uber.com.au

base                                                     | 3.7 kB     00:00    

extras                                                   | 3.4 kB     00:00    

updates                                                  | 3.4 kB     00:00    

Setting up Install Process

Package glibc-2.12-1.132.el6.i686 already installed and latest version

Nothing to do

Ran ./runagentsetup.sh again, same problem.

0 Likes
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

The following libraries required for 32-bits SmartConnector installation in RHEL 6.x or CentOS 6.x:-

  1. glibc-2.12-1.47.el6.i686.rpm (not for display, but it’s needed)
  2. libX11-1.3-2.el6.i686.rpm
  3. libXau-1.0.5-1.el6.i686.rpm
  4. libxcb-1.5-1.el6.i686.rpm
  5. libXext-1.1-3.el6.i686.rpm
  6. libXi-1.3-3.el6.i686.rpm
  7. libXtst-1.0.99.2-3.el6.i686.rpm
0 Likes
Absent Member.
Absent Member.

I had the same issue. I looked into my /lib64 directory and saw that the it had files and symlinks. However, I looked at the /lib directory and it just had folders. The smartconnector is referencing the /lib directory and if there is no lib files, you will not be able to compile/execute applications, hence the reason why you are getting the error.

Resolution:

I blow away the vm and reinstalled (I modified the OS so much it was better to start over). But this time, during the installation, I made sure I selected the "compatibility libraries." That package loaded the necessary libraries in /lib. From there on, I was able to install the SmartConnector with no problems.  

0 Likes
Cadet 2nd Class Cadet 2nd Class
Cadet 2nd Class

Hi,

I did it just now, selected basic server, desktop, compatibility libraries. Still I can't get the graphical interface or connector for that matter working.

0 Likes
Absent Member.
Absent Member.

Try

yum install libXtst.i686

yum install glibc.i686


See if that works. Also, Do you have any library files in /lib directory.

0 Likes
Absent Member.
Absent Member.

Strange considering the Connector Appliances run RHEL and we used to build ESM boxes from Centos

releases, but of course *NIX is finicy.  It does look like the solution has been posted though I see a lot of solutions

that have worked in the past, like using yum to install glibc and other necessary Packages.  It seems like there might

be part of a complete path missing from one of the errors.

Good Luck, let us know, David H.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.