Ivan Yakushev Valued Contributor.
Valued Contributor.
5409 views

Install SmartConnector 7.7.0 to Linux via CLI

Jump to solution

Good day, everyone!
Can someone provide a step-by-step guide how to install smartconnector to CentOS via CLI? My system doesn't have GUI, so i tried to use smartconnector installer with "-i console" parameter, but installation process breaks with:

[arcsight@arc-con-02 ~]$ ./ArcSight-7.7.0.8036.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...


=======================================================

Installer User Interface Mode Not Supported

Unable to load and to prepare the installer in console or silent mode.

What prerequisites I need to complete for a successful installation?

Labels (1)
0 Likes
1 Solution

Accepted Solutions
Marijo Mandic Acclaimed Contributor.
Acclaimed Contributor.

Re: Install SmartConnector 7.7.0 to Linux via CLI

Jump to solution

Hello,

1) My usual steps to install:
a) Install minimal install of CentOS / RHEL (I check that SmartConnector framework supports this version)
b) yum -y install zip unzip net-tools
c) transfer the SmartConnector framework to /tmp as root user:
/tmp/ArcSight-7.7.0.8036.0-Collectors-Linux64.bin
d) Go to /tmp and enable execute and run setup:
chmod +x ArcSight-7.7.0.8036.0-Collectors-Linux64.bin
./ArcSight-7.7.0.8036.0-Collectors-Linux64.bin
e) Now you will have CLI based setup

2) In your case I can see that you are using "ArcSight-7.7.0.8036.0-Connector-Linux.bin" and this is 32bit version of SmartConnector framework, please notice the name in my example.

3) OS is 64bit and you do not have required 32bit libaries by default so I you can do following (EoL of 32bit SmartConnectors is 04/2018):
a) download "ArcSight-7.7.0.8036.0-Collectors-Linux64.bin" and it will install without issue
b) install 32bit libraries like following:
yum -y install compat-libstdc++ compat-libstdc++*i686 compat-db compat-db*i686 zip unzip net-tools

4) You can install also as "arcsight" user but to have as service at end of setup you will have to run service setup command as root (it will be noted in the setup of SmartConnector).

Regards,

Marijo

10 Replies
Honored Contributor.. Karlo_Luiten Honored Contributor..
Honored Contributor..

Re: Install SmartConnector 7.7.0 to Linux via CLI

Jump to solution

Please try unset DISPLAY first and then run without arguments. Or run with -c as the only argument.

Established Member.. eafanasov
Established Member..

Re: Install SmartConnector 7.7.0 to Linux via CLI

Jump to solution

thank you, Karlo

0 Likes
Marijo Mandic Acclaimed Contributor.
Acclaimed Contributor.

Re: Install SmartConnector 7.7.0 to Linux via CLI

Jump to solution

Hello,

1) My usual steps to install:
a) Install minimal install of CentOS / RHEL (I check that SmartConnector framework supports this version)
b) yum -y install zip unzip net-tools
c) transfer the SmartConnector framework to /tmp as root user:
/tmp/ArcSight-7.7.0.8036.0-Collectors-Linux64.bin
d) Go to /tmp and enable execute and run setup:
chmod +x ArcSight-7.7.0.8036.0-Collectors-Linux64.bin
./ArcSight-7.7.0.8036.0-Collectors-Linux64.bin
e) Now you will have CLI based setup

2) In your case I can see that you are using "ArcSight-7.7.0.8036.0-Connector-Linux.bin" and this is 32bit version of SmartConnector framework, please notice the name in my example.

3) OS is 64bit and you do not have required 32bit libaries by default so I you can do following (EoL of 32bit SmartConnectors is 04/2018):
a) download "ArcSight-7.7.0.8036.0-Collectors-Linux64.bin" and it will install without issue
b) install 32bit libraries like following:
yum -y install compat-libstdc++ compat-libstdc++*i686 compat-db compat-db*i686 zip unzip net-tools

4) You can install also as "arcsight" user but to have as service at end of setup you will have to run service setup command as root (it will be noted in the setup of SmartConnector).

Regards,

Marijo

Outstanding Contributor.. andrew.dalbor Outstanding Contributor..
Outstanding Contributor..

Re: Install SmartConnector 7.7.0 to Linux via CLI

Jump to solution

Thanks for the __regexToken suggestion Marijo.

That ended up being what I needed to get it to parse correctly.

Maybe this will help someone else also

token[0].type=String

event.deviceCustomString3=__regexToken(location,"^\\[(\\-?\\d+\\.\\d+?),\\-?\\d+\\.\\d+?\\]$")
event.deviceCustomString3Label=__stringConstant("Latitude")
event.deviceCustomString4=__regexToken(location,"^\\[\\-?\\d+\\.\\d+?,(\\-?\\d+\\.\\d+?)\\]$")
event.deviceCustomString4Label=__stringConstant("Longitude")

Ivan Yakushev Valued Contributor.
Valued Contributor.

Re: Install SmartConnector 7.7.0 to Linux via CLI

Jump to solution

Thanks, marijo, that's exactly what I need!

0 Likes
Marijo Mandic Acclaimed Contributor.
Acclaimed Contributor.

Re: Install SmartConnector 7.7.0 to Linux via CLI

Jump to solution

You are welcome 🙂

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: Install SmartConnector 7.7.0 to Linux via CLI

Jump to solution

I have a similar problem I've seen with Logger 6.5.1 and ArcMC 2.7.1 installs on minimal installs of CentOS 7.3 and 7.4. At one point i was able to get it installed on CentOS 7.4 using these teww commands, but now it's not working. There's some mention of this in the install guide but it's not complete and unclear. 😞

unset DISPLAY
DISPLAY=""
export DISPLAY

[root@logger ~]# ./ArcSight-logger-6.5.1.8154.0.bin -i console

Graphical installers are not supported by the VM. The console mode will be used instead...


=======================================================

Installer User Interface Mode Not Supported

Unable to load and to prepare the installer in console or silent mode.

=======================================================

0 Likes
Marijo Mandic Acclaimed Contributor.
Acclaimed Contributor.

Re: Install SmartConnector 7.7.0 to Linux via CLI

Jump to solution

Hello,

1) I have Logger 6.5.1 CentOS 7.4.
2) I installed minimal install (created "arcsight" user during install)
3) After the install I modified:
a) /etc/security/limits.d/20-nproc.conf
(added following entries other I commented out)
* soft nproc 10240
* hard nproc 10240
* soft nofile 65536
* hard nofile 65536
b) /etc/systemd/logind.conf
uncommented "RemoveIPC=no", other settings are commented out
4) Now I moved the Logger installer (ArcSight-logger-6.5.1.8154.0.bin) and license to with root user:
/tmp/
chmod +x ArcSight-logger-6.5.1.8154.0.bin
5) Now I installed additional things (they are useful and for example "zip", "net-tools" is needed when making snapshot via GUI):
yum install zip unzip net-tools tcpdump openssl
6) Now I rebooted
7) Once OS is up and running I would go to /tmp and execute with root (it would start install in CLI mode without any issue):
./ArcSight-logger-6.5.1.8154.0.bin

This method (more or less, depending what is the documented prerequisite) did not fail me since Logger 6.3 at least 🙂

Regards,

Marijo

0 Likes
Micro Focus Expert
Micro Focus Expert

Re: Install SmartConnector 7.7.0 to Linux via CLI

Jump to solution

Thanks, I did everyhing as you stated with steps 1 to 3. I only installed unzip, but will try with the other packages you listed. I used "Server with a GUI" to get around this (under a time crunch).

0 Likes
bblankbby1
Frequent Visitor.

Re: Install SmartConnector 7.7.0 to Linux via CLI

Jump to solution

I've attempted all of the "fixes" in the thread and none of them fix my issue.  I also tried setting the IATEMPDIR variable and exporting it.  I've remounted /tmp as executable... Still - nothing.  Are there log files somewhere with the installation instead of just a generic "Unable to load and to prepare the installer in console of silent mode." error?  

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.