Could not start Agent - log message: invalid dictionary entry

Hello.

I have installed SunMC 3.6 on my host containing Solaris 8.

When attempting to load the system, all processes load as expected except for the agent. The agent.log error message is:

invalid dictionary entry: internal outBoundTrap in base-agent.x(221) at token '?'.

I've looked at previous postings in the forum. This seems to be a different problem.

Thanks in advance.

Michael

Here is an example session:

root@wcs01:SUNWsymon/sbin#uname -a

SunOS wcs01 5.8 Generic_108528-29 sun4u sparc SUNW,Sun-Fire-V210

root@wcs01:SUNWsymon/sbin#./es-start -A

infoApril 26, 2006 3:52:44 AM main: Successfull in setting up firewall support

Java server started successfully.

Grouping service started successfully.

Could not start Agent.

Topology service started successfully.

Trap-handler service started successfully.

Configuration service started successfully.

Event-handler service started successfully.

Metadata service started successfully.

Web server started successfully.

root@wcs01:SUNWsymon/sbin#./es-start -ai

infoApr 26 03:55:09 agent Sun Management Center Version: 3.6, Build: 18, H491, (c) 2003 Sun Microsystems, Inc.

infoApr 26 03:55:09 agent registering import actions

infoApr 26 03:55:09 agent loading standard services

infoApr 26 03:55:09 agent standard services load complete

infoApr 26 03:55:09 agent agent host and port: wcs01:60161

infoApr 26 03:55:09 agent trap handler destination host and port: wcs01:162

infoApr 26 03:55:09 agent event trap destination host and port: wcs01:163

syslogApr 26 03:55:09 agent invalid dictionary entry: internal outBoundTrap in base-agent.x(221) at token '?'

syslogApr 26 03:55:09 agent *** aborting execution ***

[1849 byte] By [michaelkz] at [2007-11-26 6:46:24]
# 1

I've found the answer to this problem in the subtext of a previous Post by Mike Kirk:

http://forum.sun.com/jive/thread.jspa?forumID=317&threadID=92088

It seems that the SunMC es-start script relies stronlgy on the structure of /etc/hosts.

/etc/hosts is required to contain the hostname immediately after the IP address of the host. It is also necessary that both the host name and the host IP be present in /etc/hosts only once.

So for example, on hostname wcs01, this will NOT work for sunMC (the agent will NOT load):

root@wcs01:#cat /etc/hosts.old

127.0.0.1 localhost wcs01 loghost

192.168.1.106 pdanchor01

192.168.1.106 wcs01.bge0 wcs01.bge0.convergin

This can easily be fixed to work, like this:

root@wcs01:#cat /etc/hosts

127.0.0.1 localhost loghost

192.168.1.106 wcs01 wcs01.bge0 wcs01.bge0.convergin pdanchor01

michaelkz at 2007-7-6 15:07:42 > top of Java-index,Administration Tools,Sun Management Center...