Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PLS Help me.....Nsswitch problem on Solaris8

Status
Not open for further replies.

kiros

Technical User
Jan 10, 2003
4
0
0
JP
I already set resolv.conf and nsswitch.conf correctly. I can use nslookup to solve url to ip & I can ping ip of any host in internet.
However, I can't ping url of any host and can't smtp to mail server.

Is it nsswitch setting problem?
 
How are you trying to 'ping URL'? ping doesn't understand URLs.

Is the SMTP server on your own network or on the internet? If it's on the internet, it may not allow relaying from unknown hosts. Annihilannic.
 
I am having a similar Issue on my Solaris 8 (Intel), I have modified the resolv.conf and nsswitch.conf also the defaultrouter to point it to my gateway IP, I can browse the Internet if I know the IP address, I can NOT browse using domain names ie (Microshat.com) I am using a Server 2k to share the Cable connection and all my windows machines can browse with no problems.
Any Help will be greatly appreciated,
Thanks It wasn't me, it was someone that looks a lot like me . . . .
 
What does your "hosts" line read in /etc/nsswitch.conf?

Does nslookup somehostname work for you too? Annihilannic.
 
The Host line in my /etc/nsswitch.conf reads:
host: files dns

I can't do nslookup sun.com, I get

*** Can't find server name for address 127.0.0.1: Unspecified error
*** Defaults servers are not available
#
It wasn't me, it was someone that looks a lot like me . . . .
 
I finally GOT IT!!!

I think that the reazon was that I didn't saved the resolv.conf file in the right location (OOPPSSS)
now is working just fine, next part: NETWORK PRINTERS, any takers??
lol, thank you to all you cool guys that helped me out.
It wasn't me, it was someone that looks a lot like me . . . .
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top