Highlighted
Absent Member.
Absent Member.
1613 views

SmartConnector 6.0.5.6782.0 runagentsetup.sh Issues on CentOS 6.5

Jump to solution

Greetings all,

I am completely brand new to ArcSight and am setting a virtual lab to learn more about it.

ESM 6.51c (all we have access to right now) suite so Manager, Console, Command Center, Web, and Logger

I have a smart connector installed and working properly in a Windows box.

The issue I am having is trying to run the runagentsetup.sh after installing SmartConnector 6.0.5.6782.0 on CentOS 6.5 to collect our syslog data and forward it on. 

Installation appears to have been fine but when run the agent setup we get the following errors:

[arcsight@CentLogs bin]$ ./runagentsetup.sh

Assuming ARCSIGHT_HOME: /home/arcsight/ArcSightSmartConnectors/current

Assuming JAVA_HOME: /home/arcsight/ArcSightSmartConnectors/current/jre

ArcSight Agent Setup starting...

Connector Setup Wizard starting in mode [CONSOLE]

[Thu Jun 02 09:43:16 EDT 2016] [INFO ] Checking for a running instance of connector...

[Thu Jun 02 09:43:16 EDT 2016] [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.f.f$0.<init>(f$0.java:43)

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

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

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

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

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

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

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

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

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

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

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

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

  at com.arcsight.agent.j.h.main(h.java:2517)

PRESS <ENTER> TO EXIT THE INSTALLER:

Any and all help would be appreciated, thanks!

Labels (3)
0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.
Absent Member.

Run

unset DISPLAY

Before running the installer. It's a bug.

View solution in original post

0 Likes
8 Replies
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Firstly, thats a really old version of the connectors, I would download the latest version as a starting point!

It also looks like that when you run the setup it can't access the display or you dont have rights to display. I could be wrong on this, but it seems that you can't do this for some reason. I would double check if you are running on Xwindows and if you can't adjust, just run "./arcsight agentsetup -i console" instead. It does the same but runs in the console mode so you can make changes / setup from there.

It could be an issue with 32 vs 64 bit libraries and installer - so if you are getting the latest versions of the connector, download both and try each one - you might find its a missing library that is stopping you from installing. Usually its a case of running the 32 bit version on a 64 bit OS that doesnt have the backward compatibility libraries in place.

0 Likes
Highlighted
Absent Member.
Absent Member.

Thanks for the reply Paul, I do realize it's older but it's all I have at the moment.  I will try and see if I'm able to get the newer versions of SmartConnectors. I even installed a completely new CentOS6.5 VM as well. I did try running ./arcsight agentsetup -i console and received a different error.  See below:

./arcsight agentsetup -i console

Assuming ARCSIGHT_HOME: /opt/arcsight/connectors/syslog_linux/current

Assuming JAVA_HOME: /opt/arcsight/connectors/syslog_linux/current/jre

ArcSight Agent Setup starting...

Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/arcsight/connectors/syslog_linux/current/jre/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory

  at java.lang.ClassLoader$NativeLibrary.load(Native Method)

  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)

  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1703)

  at java.lang.Runtime.load0(Runtime.java:770)

  at java.lang.System.load(System.java:1003)

  at java.lang.ClassLoader$NativeLibrary.load(Native Method)

  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1807)

  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1724)

  at java.lang.Runtime.loadLibrary0(Runtime.java:823)

  at java.lang.System.loadLibrary(System.java:1028)

  at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)

  at java.security.AccessController.doPrivileged(Native Method)

  at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)

  at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)

  at java.awt.Component.<clinit>(Component.java:566)

  at com.arcsight.agent.fg.a.a.askYesNoQuestion(a.java:33)

  at com.arcsight.agent.j.h.main(h.java:2523)

0 Likes
Highlighted
Absent Member.
Absent Member.

Run

unset DISPLAY

Before running the installer. It's a bug.

View solution in original post

0 Likes
Highlighted
Absent Member.
Absent Member.

This is an old version which is likely to be 2 years back. Version 6.0.5 doesn't support platform OS of centos 6.5. Get a newer version.

0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

Hi,

regardless of the old & unsupported version, you are probably missing the 32 bit compat libs and libawt on your 64 bit Dead Rat...

see redhat - RHEL 6 x64: running 32 bit applications - Server Fault  for some hints.

Joachim

0 Likes
Highlighted
Absent Member.
Absent Member.

That did the trick, thanks!

0 Likes
Highlighted
Absent Member.
Absent Member.

Thanks for the input, I already had the 32libs installed.

0 Likes
Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Hi ,

try this steps.

[arcsight@esm arcsight]$ unset DISPLAY

[arcsight@esm arcsight]$

[arcsight@esm arcsight]$ /opt/arcsight/console6.8C/current/bin/runconsolesetup.sh

It will work..

Cheers

Gayan

Mr
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.