Archive for the ‘Uncategorized’ Category

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)

h1

/etc/hosts on UNIX box

June 24, 2008

If you are having a problem resolving hosts on a UNIX box even when you do have a /etc/hosts file configured with the hosts which are not there on the DNS server, check to make sure that you have a /etc/nsswitch.conf file. I know that by default a few UNIX systems like HP-UX do have it as a sample file but are renamed to something else. A ls -al nsswitch* will get you a list of all files which start with nsswitch. Copy one of them to /etc/nsswitch.conf and edit the line which starts with hosts:

hosts:         files [NOTFOUND=continue UNAVAIL=continue TRYAGAIN=continue] dns

This will ensure that your hosts will be resolved first by looking into /etc/hosts and if not found there the DNS server will be used. This can be very useful in the even the DNS server crashes or is unavailable for any reason.

h1

Going to Liberty

January 19, 2008

Tina and me and our close friends, Piyush and Deepthi are going together to Liberty mountain resort for skiing…. that should be a lot of fun…. almost all of us are first-timers… so don’t laugh if we break our bones and do something stupid! hehe… will keep you guys posted…

h1

Google Apps

January 18, 2008

This is really cool! Now I can manage my custom domain email and a lot of stuff using google…. Now, one can get “Gmail”, “Docs”, “Chats”, “Calendar” and a bunch of other stuff which used to be available to google users for one’s own custom domain… how cool is that :)

You know what the sad part is: this is one of the thousand ways google is enveloping your life… The day is not far away when most tech savvy people will be managing most aspects of their life using google one way or another….

But instead of being a doomsday predictor let me come to the bright side of it… Google is making out life increasingly simple to manage….

So don’t be surprised when you are surfing the internet tomorrow (of course searching using google and checking email using gmail and so-on and so-forth) and you come across a new service which helps you in……. well…… something interesting…… like……

…To be continued…

h1

The start….

January 18, 2008

Well, well, well, here is a blog from somebody claiming to be a “javatarian”. My first blog! Sounds exciting. Not sure what this freaky word “javatarian” means? Neither am I. This word definitely does not exist in a dictionary (at least not that I am aware of). Hopefully my blogs over the years justify it!