Highlighted
Absent Member.. Absent Member..
Absent Member..
234 views

manual unix agent installation error

Jump to solution

Hi,

 

Please help me to find out  the issue in  unix agent installation manually on Linux servers. I am seeing errors while executing agentinstall.sh script.

 

I have done below steps 

 

1. copy aix packages and cerficates on the Linux serers

 

2. created  directory ---- /var/opt/Linux_UD_Agent

 

3. given read, write, execute  permission to directory

 

4. copy Agent package /certficates/ agentinstall.sh script to Linux_UD_Agent directory

 

3. created Data directory  to store scan files---- under /var/inux_UD_Data

 

4. $HOME  variable kept at default root path

 

5 $TEMPDIR variable kept at default temp path.

 

As per PDF the gien command is 

You can use parameters in a command line interface to customize the discovery installation as
follows:
filename [--help] [--url0 ipaddress] [--url1 ipaddress] [--url2 ipaddress] [--port number] [--timeout
seconds] [--cert path] [--usage] [--softwareutilization] [--softwareutilizationonly] [--period days]
[--home path] [--upgrade] [--uninstall] [--clean] [--temp] [--user] [--group] packagename
--isnative

 

 

 

and tried to execute bel ow  command line to install the agent but script is not getting executed.

 

 

 

[root@bramble /]#
[root@bramble /]#
[root@bramble /]# sh /var/opt/LINUX_UD_Agent/agentinstall.sh 10.9.80.181
7738 86400 /var/opt/LINUX_UD_Agent/ softwareutilization 365 /var/opt/LINUX
_UD_Agent/ /tmp root root
StartTime=Mon Apr 28 13:57:30 IST 2014
Check platform ...
linux
Set up file to store error code ...
Check user privilege ...
Parse parameters ...
Failed. Can not find the agent package file:10.9.80.181
EndTime=Mon Apr 28 13:57:30 IST 2014
[root@bramble /]#
[root@bramble /]#
[root@bramble /]# sh /var/opt/LINUX_UD_Agent/agentinstall.sh 86400
/var/opt/LINUX_UD_Agent/ softwareutilization 365 /var/opt/LINUX_UD_Agent/ /tmp root
root
StartTime=Mon Apr 28 13:57:51 IST 2014
Check platform ...
linux
Set up file to store error code ...
Check user privilege ...
Parse parameters ...
Failed. Can not find the agent package file: 86400
EndTime=Mon Apr 28 13:57:51 IST 2014

 

 

 

Let me know what is wrong here??? what  is --isnative and what value I need to mention there??

 

 

with regards,

Nick

0 Likes
1 Solution

Accepted Solutions
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: manual unix agent installation error

Jump to solution

Hi Nick,

 

The reason why you are encountering such problem is because you are using the incorrect command to install the Agent, the command should be:

./var/opt/LINUX_UD_Agent/agentinstall.sh --url0 10.9.80.181   --port 7738 --timeout
  86400 --cert /var/opt/LINUX_UD_Agent/ --softwareutilization --period 365   --home /var/opt/LINUX_UD_Agent/ --temp/tmp hp-ud-agent-linux-x86.rpm

Hope this helps,

Ana Acosta-Diaz

"HP Support
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution."

Click the KUDOS star on the left to say 'Thanks'

View solution in original post

0 Likes
3 Replies
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: manual unix agent installation error

Jump to solution

Hi Nick,

 

The reason why you are encountering such problem is because you are using the incorrect command to install the Agent, the command should be:

./var/opt/LINUX_UD_Agent/agentinstall.sh --url0 10.9.80.181   --port 7738 --timeout
  86400 --cert /var/opt/LINUX_UD_Agent/ --softwareutilization --period 365   --home /var/opt/LINUX_UD_Agent/ --temp/tmp hp-ud-agent-linux-x86.rpm

Hope this helps,

Ana Acosta-Diaz

"HP Support
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution."

Click the KUDOS star on the left to say 'Thanks'

View solution in original post

0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: manual unix agent installation error

Jump to solution

Hello Nick2345,


Another alternative solution is to edit installagent.sh file and to save your settings within.
Please find the following rows and fill a callhome server IP address. Finally just run the shell script ‘agentinstall.sh’ file.

 

# User parameters
ARG_URL0=
ARG_URL1=
ARG_URL2=
ARG_PORT="2738"
ARG_TIMEOUT="86400"

...

 

Best Regards,

Nikola

------------------------
Nikola Todorov
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
0 Likes
Highlighted
Absent Member.. Absent Member..
Absent Member..

Re: manual unix agent installation error

Jump to solution

Him Ana/Nikola,

 

Thanks for the quick reply.  I folowed the steps as mentioned and it worked.  Now comand is working without any issue.

 

 

 

Thanks a lot.

 

with regards,

Nick

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.