Page 1 of 1

How to install Linux Agent without communicating with RHN?

Posted: Fri Jun 21, 2013 4:49 am
by peter.cheng
My linux server has Red Hat support subscription but the server does not have Internet access.
When I try to install the Linux Agent for V5-6, an error below is prompted during installation (stopped at stage at 1-prereqs).

*********************************************************************************
Running './1-prereqs'...
Installing prerequistes...
Loaded plugins: rhnplugin, security
There was an error communicating with RHN.
RHN support will be disabled.
Error communicating with server. The message was:
timed out
*********************************************************************************

Does any expert here know how to install the linux agent without communicating with RHN?

Re: How to install Linux Agent without communicating with RH

Posted: Fri Jun 21, 2013 2:48 pm
by slansing
Do you have the following packages installed on the system?

Code: Select all

install autoconf gcc glibc libmcrypt-devel make openssl-devel sudo sysstat xinetd bc
They are all required, if so, then open the "fullinstall" file within the "linux-nrpe-agent" folder you extracted.

Comment out the following lines:

Code: Select all

run_sub ./0-yum noupdate
run_sub ./1-prereqs
Like so:

Code: Select all

#run_sub ./0-yum noupdate
#run_sub ./1-prereqs
Then save the file make sure you are in the linux-nrpe-agent folder and run:

Code: Select all

touch installed.prereqs

./fullinstall
This should work fine.