Solaris 10 Agent Issue

by May 13, 2014

Hi, in troubleshooting an agent issue, I’m seeing the following:

 

 

#su – nobody

#telnet localhost 9998

Trying 127.0.0.1…

Connected to localhost.

Escape character is ‘^]’.

uptimeagent: can’t open start directory: Permission denied

CRITICAL – Killed by closedown() timeout

Connection to localhost closed by foreign host.

#

 

This was running fine but I had to apply some Solaris patches so obviously something changed with respect to security. 

 

Here is a listing of the files:

 

#ls -al /opt/uptime-agent/bin

total 432

drwxr–r–   9 nobody   nobody      1024 May 12 16:21 .

drwxr–r–   6 nobody   nobody       512 May 12 16:21 ..

-rw-r


   1 nobody   nobody        45 Dec 14  2011 .uptmpasswd

drwxr–r–   2 nobody   nobody       512 May 12 16:21 32s

drwxr–r–   2 nobody   nobody       512 May 12 16:21 5.10

drwxr–r–   2 nobody   nobody       512 May 12 16:21 5.6

drwxr–r–   2 nobody   nobody       512 May 12 16:21 5.7

drwxr–r–   2 nobody   nobody       512 May 12 16:21 5.8

drwxr–r–   2 nobody   nobody       512 May 12 16:21 5.9

drwxr–r–   2 nobody   nobody       512 May 12 16:21 64s

-rwxr–r–   1 nobody   nobody      5632 May 12 16:21 abstime

-rwxr–r–   1 nobody   nobody       713 Dec 14  2011 bsdsysv

-rwsr-xr–   1 root     nobody     13472 May 12 16:21 bsdsysv_sol

-rwxr–r–   1 nobody   nobody      6624 May 12 16:21 kstat

-rwxr–r–   1 nobody   nobody     17412 Dec 14  2011 perfparse.sh

-rwxr–r–   1 nobody   nobody     15152 May 12 16:21 psinfo

-rwxr–r–   1 nobody   nobody     10403 Dec 14  2011 sysinfo.sh

-rwxr–r–   1 nobody   nobody     47616 May 12 16:21 uptimeagent

-rw-r–r–   1 nobody   nobody        33 Dec 14  2011 uptimeagent-release.txt

-rwxr–r–   1 nobody   nobody       108 Dec 14  2011 vmw

-rws–x—   1 root     nobody     17128 May 12 16:21 vxdg

-rws–x—   1 root     nobody     17128 May 12 16:21 vxdisk

-rws–x—   1 root     nobody     17128 May 12 16:21 vxdmpadm

-rws–x—   1 root     nobody     17128 May 12 16:21 vxprint

-rws–x—   1 root     nobody     17128 May 12 16:21 vxstat

 

 

It looks like they are appropriately owned.  Here is the SMF:

 

#inetadm -l network/uptimeagent/tcp

SCOPE    NAME=VALUE

         name=”uptimeagent”

         endpoint_type=”stream”

         proto=”tcp”

         isrpc=FALSE

         wait=FALSE

         exec=”/opt/uptime-agent/bin/uptimeagent”

         user=”nobody”

default  bind_addr=””

default  bind_fail_max=-1

default  bind_fail_interval=-1

default  max_con_rate=-1

default  max_copies=-1

default  con_rate_offline=-1

default  failrate_cnt=40

default  failrate_interval=60

default  inherit_env=TRUE

default  tcp_trace=FALSE

default  tcp_wrappers=FALSE

default  connection_backlog=10

 

Should bind_addr actually be something rather than nul?

 

I also tried restarting the service in smf, that didn’t change any of the above.

 

Thanks for any assistance,

 

Kevin