h1

smcwebserver remote access

October 8, 2008

After installing Sun Directory server, one would jump on to start cacaoadm (the common agent container administrator) using “cacaoadm start” and then would go ahead and start smcwebserver using “smcwebserver start”. One issue which I recently found is that sometimes smcwebserver does not allow remote access which means that you need to access http://hostname:6789/ on the physical host on which it is installed (a netstat -na | grep 6789 will show that it accepts connections only from 127.0.0.1, the loopback address). To resolve this issue and allow access from remote hosts issue the following 2 commands:

svccfg -s svc:/system/webconsole \setprop options/tcp_listen = true

svcadm refresh svc:/system/webconsole

Of course once this is done don’t forget to restart smcwebserver (smcwebserver restart)

Leave a Comment