Problems starting SunMC Agent 3.6 under Solaris 10

Hi folks,

I just did a test installation of the new SunMC 3.6 Server which worked fine. Afterwards, I did a fresh install of the 3.6 agent on a Sun Enterprise 420R running Solaris 10. I installed the agent in the global zone.

At the end of the setup, when the system asks me if I want to start the agent, which I affirmed. But this didn't work, system says just laconically "Could not start agent". Unfortunately, I can't even find the logs, since there is no log subdirectory under /var/opt/SUNWsymon. Have they moved this under Solaris 10?

Any ideas somebody how to dig into this?

Regards,

Peter

[637 byte] By [Petur] at [2007-11-26 6:01:32]
# 1

Hi Peter,

> At the end of the setup, when the system asks me if I

> want to start the agent, which I affirmed. But this

> didn't work, system says just laconically "Could not

> start agent". Unfortunately, I can't even find the

> logs, since there is no log subdirectory under

> /var/opt/SUNWsymon. Have they moved this under

> Solaris 10?

This sounds a lot like a post just a few days ago:

http://forum.sun.com/thread.jspa?threadID=27785&tstart=0

What do you see when you start the Agent with this command:

/opt/SUNWsymon/sbin/es-start -ai

?

Regards,

Mike.Kirk@HalcyonInc.com

Aronek at 2007-7-6 13:23:52 > top of Java-index,Administration Tools,Sun Management Center...
# 2

Hi Mike,

> This sounds a lot like a post just a few days ago:

> http://forum.sun.com/thread.jspa?threadID=27785&tstart=0

Well, yes and no...I read this thread and I found some similarities but it's not the same problem. Besides, this was Solaris 8, I've 10 and my guess is that it has something to do with Sol10.

> What do you see when you start the Agent with this command:

> /opt/SUNWsymon/sbin/es-start -ai

No error...I end up in a prompt:

bash-3.00# /opt/SUNWsymon/sbin/es-start -ai

infoDec 05 17:48:19 agent Sun Management Center Version: 3.6, Build: 18, H491, (c) 2003 Sun Microsystems, Inc.

infoDec 05 17:48:19 agent registering import actions

infoDec 05 17:48:19 agent loading standard services

infoDec 05 17:48:19 agent standard services load complete

infoDec 05 17:48:19 agent agent host and port: cngaer:1161

infoDec 05 17:48:19 agent trap handler destination host and port: SunMC_server:162

infoDec 05 17:48:19 agent event trap destination host and port: SunMC_server:163

agent:>

I've really no idea what to enter at this prompt. A simple "help" doesn't give me anything but I got something from "ls"

agent:> ls

classes templates _config config services iso shadow contexts rules

Petur at 2007-7-6 13:23:52 > top of Java-index,Administration Tools,Sun Management Center...
# 3

> > What do you see when you start the Agent with this

> command:

>

> > /opt/SUNWsymon/sbin/es-start -ai

>

> No error...I end up in a prompt:

>

<snip>

> agent:>

>

> I've really no idea what to enter at this prompt. A

> simple "help" doesn't give me anything but I got

> something from "ls"

That's exactly what you're supposed to see: are you sure there isn't a /var/opt/SUNWsymon/log/agent.log file?

The "i" as a start flag means "interactive". Think of it as having a shell prompt inside the running SunMC Agent: you'd only ever use it as a developer.

You can just break out of it and try starting the Agent normally:

/opt/SUNWsymon/sbin/es-start -a

...then look for it's process with "ps -ef | grep esd". If you see something like "esd - init agent" then it's running.

Regards,

Mike.Kirk@HalcyonInc.com

Aronek at 2007-7-6 13:23:52 > top of Java-index,Administration Tools,Sun Management Center...
# 4

> That's exactly what you're supposed to see: are you sure there isn't a /var/opt/SUNWsymon/log/agent.log file?

That's what I thought ;-)

Something must have created the log directory yesterday evening. I'm totaly sure there wasn't a log file before. Anyway, a agent start does not log anything. I've just tried to start the agent as you recommended but it ended up again in "Could not start agent" and no log entry at all.

Petur at 2007-7-6 13:23:52 > top of Java-index,Administration Tools,Sun Management Center...
# 5
Hi all,I experienced the same problem. I launched the agent successully with command:./es-start -A.Hope it helpful.
xxshen at 2007-7-6 13:23:52 > top of Java-index,Administration Tools,Sun Management Center...
# 6

Well, I remember that I had very similar problems.

Not all dependencies are checked during installation.

These are the packages which I installed additional to

core to get everthing working ... of course there are

packages which are not related to SMC ...

package SUNWbash

package SUNWdoc

package SUNWman

package SUNWntpr

package SUNWntpu

package SUNWsprot

package SUNWbind

package SUNWbindr

package SUNWless

package SUNWctpls

package SUNWmfrun

package SUNWxwrtl

package SUNWxwice

package SUNWxwfnt

package SUNWxwplr

package SUNWxwplt

package SUNWj5rt

package SUNWj5rtx

package SUNWj5man

package SUNWj5cfg

package SUNWadmap

package SUNWadmc

package SUNWadmfr

package SUNWadmfw

package SUNWadmj

package SUNWadmlib-sysid

package SUNWadmr

package SUNWscpu

package SUNWscpr

furtmueller at 2007-7-6 13:23:52 > top of Java-index,Administration Tools,Sun Management Center...
# 7
hi , try svcs -x and check the log , /opt/SUNWsyon/sbin/es-start -i or -y ,my smc agent sometime like that.
hadi74 at 2007-7-6 13:23:52 > top of Java-index,Administration Tools,Sun Management Center...
# 8

Hi,

I have installed the SMC3.5 on solaris 8.

By some problems while uninstalling the SMC3.0 always crash.

Also when I reinstalled and imported topology I am not able to talk to my agents except a few.

Also when i reboot machine I see only agent process coming up.

Rest processes are not automatically started.

Can someone tell me some details.

Thanks

Amber_Jain at 2007-7-6 13:23:52 > top of Java-index,Administration Tools,Sun Management Center...