This is just a wild guess, but just this afternoon somebody within Sun
came to me with this exact problem.
I had him do "getent hosts `hostname`" and nothing was returned.
So looking at /etc/nsswitch.conf, I found that his host map was using
NIS and not falling back to files because it had that annoying
"[NOTFOUND=return]" directive first. Upon removing that, he was fine.
In other words, changing:
hosts: nis [NOTFOUND=return] files
to:
hosts: nis files
Solved the issue (i.e. his hostname was not in NIS, it was only in
/etc/hosts).
-Bob
ottomeister wrote:
On Mon, Jul 28, 2008 at 6:39 AM, sriram rane <[EMAIL PROTECTED]> wrote:
I am trying to configure SunRay Server on Solaris x86 platform. when I run a
uttadm -A 172.17.80.0 I will get an error saying
Error: unable to get information on primary interface
utadm has failed to figure out which of the machine's interfaces
has been configured with the IP address that corresponds to
the machine's hostname.
The way it tries to figure this out is to compare the first word in
every /etc/hostname.* file against the result of the 'hostname'
command. If none of the /etc/hostname.* files match then
utadm fails.
Please post the results of running the following commands
on this system:
/bin/hostname
/bin/nawk 'FNR=1 {printf("%s: %s\n",FILENAME,$0)}' /etc/hostname.*
OttoM.
__
ottomeister
Disclaimer: These are my opinions. I do not speak for my employer.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users