Agent not displayed in console after installation

Question

After installing the UCE Management Server, UCE Console and several UCE Agents, I can only see some of the agents on the console.

Answer

Once an agent is installed on a host, it scans the host's inventory. If custom or unknown software packages are identified by the agent, the local rule generation process will begin.

Local rule generation is the process whereby dependancy and conflict rules are built locally for custom software packages by the UCE Rules Server.

This process prevents conflicts and broken dependancies between custom and Aduva certified software packages. This ensures maximimum system stability as well as allowing integration of custom software packages to UCE allowing software management of the entire system.

Local rule generation may take a few minutes during which time the agent will not be visible on the console.

In order to check this you may perform the following:

On the UCE Management Serever Machine, execute:

'top' and identify the process 'rules-gen'.

If this process is present, indeed rules generation has not yet completed. You should see the agent on the console within a few minutes. This may, however, take a while if many custom software packages are indentified.

If this process is not present, check the status of the agent process:

On the agent host, execute the following as root:

/etc/init.d/director_agent status

If the agent is running, you should recieve an output similar to the output below:

director_agent.bin (pid xxxx xxxx xxxx) is running...

The pid will of course be unique for each machine and each process.

In the instance whereby the output is as follows:

director_agent.bin is stopped

Execute the following:

/etc/init.d/director_agent start

Once the process has started, you may check it by executing:

/etc/init.d/director_agent status

If the agent process is still active, you should see it register on the console within a few minutes or after local rules generation has completed.

If the agent is stopped again, please contact sn Aduva support representative for further assistance.

[2221 byte] By [ForumModerator] at [2007-11-26 7:45:51]
# 1
handy to know.
ForumModerator at 2007-7-6 19:58:13 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 2
this has been posted into the Tech FAQ so this ine will be deleted.
ForumModerator at 2007-7-6 19:58:13 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 3
testing forum for email notifications
ForumModerator at 2007-7-6 19:58:13 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 4
testing once again.
ForumModerator at 2007-7-6 19:58:13 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 5
once again from a different account
swmanutd at 2007-7-6 19:58:13 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 6
it seems to be the moderator accoun that has problems as the last email was received.lets try again
ForumModerator at 2007-7-6 19:58:13 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 7
test
Cal at 2007-7-6 19:58:13 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 8

I have 2 hosts that are in this same situation. They show up in the console on the right hand side under "Components->Local->Local Pkgs (Installed), but they don't show up on the left hand side in my Hosts window. And "Hosts->Add Host" is greyed out, as is "Hosts->Delete Host/Group". rules-gen is not running on my SDS server.And the agent is running ok on both of them. They both happen to be Solaris 9 hosts, but I have other Solaris 9 hosts showing up ok.

This is with UCE 1.0.

dougsc at 2007-7-6 19:58:13 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 9
Hi DougHave a look in the /opt/local/uce/agent/logs/error.log of each of the disconnected agents to see what errors appear and paste them here.ThanksIvor
ivort at 2007-7-6 19:58:13 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 10

Here are the error_logs for the currently running uce_agent.bin:

[1310] (08/07 13:10:35) Info: Setting Username and Password (User=<>, Pass<**>).

[1310] (08/07 13:10:36) INFO: Enabling SSL communication.

[1310] (08/07 13:10:36) Info: Enabling Authentication mechanism (User=<>, Pass<**>).

[1310] (08/07 13:10:36) INFO: Using output file = /opt/local/uce/agent//config_files/.temp_si.1310_i1aWJc .

[1310] (08/07 13:10:36) INFO: Setting Url to download: https://ita-v60b:8002///channels.xml.sig

[1310] (08/07 13:10:37) Info: Setting Username and Password (User=<>, Pass<**>).

[1310] (08/07 13:10:37) INFO: Enabling SSL communication.

[1310] (08/07 13:10:37) Info: Enabling Authentication mechanism (User=<>, Pass<**>).

[1310] (08/07 13:10:37) INFO: Using output file = /opt/local/uce/agent//config_files/.temp_si.1310_k1aWJc .

[1310] (08/07 13:10:37) INFO: Setting Url to download: https://ita-v60b:8002/blobs/scripts/SOLARIS_9_0_SPARC_detect.sh.sig

[1310] (08/07 13:10:39) INFO: Current channel is: Solaris 9

[1310] (08/07 13:10:39) INFO: Enabling SSL communication.

[1310] (08/07 13:10:39) INFO: Setting Url to download: https://ita-v60b:8002/config_files/SOLARIS_9_0_SPARC/agent.tgz

[1310] (08/07 13:10:39) Info: Enabling Authentication mechanism (User=<>, Pass<**>).

[1310] (08/07 13:10:41) Info: Setting Username and Password (User=<>, Pass<**>).

[1310] (08/07 13:10:41) INFO: Enabling SSL communication.

[1310] (08/07 13:10:41) Info: Enabling Authentication mechanism (User=<>, Pass<**>).

[1310] (08/07 13:10:41) INFO: Using output file = /opt/local/uce/agent//config_files/.temp_si.1310_m1aWJc .

[1310] (08/07 13:10:41) INFO: Setting Url to download: https://ita-v60b:8002/config_files/SOLARIS_9_0_SPARC/agent.tgz.sig

[1310] (08/07 13:10:43) ShouldGetFile /opt/local/uce/agent//config_files/agent.tgz return with signature equals

[1310] (08/07 13:11:00) Failed executing job id %1 .

[1310] (08/07 13:11:25) INFO. Trying to download blob id = 46009135 .

[1310] (08/07 13:11:25) INFO. Trying to download blob id = 46009136 .

[1310] (08/07 13:11:25) Completed refresh of Knowledge Base.

[1310] (08/07 13:11:26) Rules update successfully completed.

dougsc at 2007-7-6 19:58:13 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 11
I also turned on debug and have a debug.log available, but it is too big to cut-n-paste.
dougsc at 2007-7-6 19:58:13 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 12
Hi DougAccording to the last 2 lines of the pasted log, the agent should indeed have registered succesfully and be visible in the console.Please check your /opt/local/uce/agent/bin/.uce.bin to check that indeed the agent is 'pointing' to the correct SDS.Ivor
ivort at 2007-7-6 19:58:13 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...
# 13
Assume you meant .uce.rc:.uce.rc:( all ) ( invisible.engine.__general.distrizor_host, "ita-v60b" );.uce.rc:( all ) ( invisible.server.__general.server_name, "ita-v60b" );ita-v60b is indeed the right server should there be more entries than that?
dougsc at 2007-7-6 19:58:13 > top of Java-index,Administration Tools,Sun Update Connection-Enterprise Forum...