The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > SUN Solaris
Google UNIX.COM


SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
common network problem under Solaris 10 ? Siffleu SUN Solaris 5 05-09-2008 08:53 AM
Linux network configuration problem robple11 Linux 2 04-17-2005 04:53 PM
Network configuration in Solaris 8 Ask Me UNIX for Dummies Questions & Answers 8 02-22-2002 05:23 PM
solaris network problem hessam IP Networking 4 01-30-2002 11:36 AM
problem with Solaris in Network configuration premkumar UNIX for Dummies Questions & Answers 4 10-10-2001 10:49 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-09-2007
Registered User
 

Join Date: Nov 2005
Posts: 127
Solaris 10 network configuration problem with zone

I am seeking help from the gurus in this forum and hope that I can find answers soon. Anyone who provide the answers will be greatly appreciated.

I have a sparc box with Solaris 10 on it. We install Solaris with zone structure. One global zone and two other zone. I installed Oracle DB on global zone successfully. But Oracle DBconsile couldn't find correct IP address mapping with hostname or qualified hostname.domain. I did some steps to test like this:

1. login box as root user

2. $>hostname, I got correct hostname.domain

3.$>nslookup 190.90.80.20 (IP address), I got
Server: 190.90.90.34
Address: 190.90.90.34 # 35
Server can't find 20.80.90.190 in-addr.arpa: NXDOMAIN
(my box's hostname and IP didn't show up here)

4.$>nslookup hostname, I got
Server: 190.90.90.35
Address: 190.90.90.35 # 35
Server can't find hostname: SERVFAIL

5.$>nslookup hostname.domain.com, I got
Server: 190.90.90.35
Address: 190.90.90.35 # 35
Server can't find hostname.domain.com: NXDOMAIN.

I think this might be caused by network configuration during zone installation. So how could I fix this problem? Please advise me with details.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-09-2007
zazzybob's Avatar
Registered Geek
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
So you have a PTR record configured in DNS somewhere for this server?

Otherwise nslookup will fail - that's expected.
Reply With Quote
  #3 (permalink)  
Old 10-10-2007
Registered User
 

Join Date: Nov 2005
Posts: 127
zazzybob:

Thanks for your advice. But I didn't understand 'PTR record configured in DNS'. Could you please give more details or examples?
Reply With Quote
  #4 (permalink)  
Old 10-10-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
Are your IP address and server name configured in the DNS server you are using?
Reply With Quote
  #5 (permalink)  
Old 10-11-2007
Registered User
 

Join Date: Nov 2005
Posts: 127
porter:

Frankly speaking, I am not sure. I am going to check. But I did nslookup on Solaris server. The hostname and IP on server couldn't be mapped correctly. I have added server's IP and hostname on the host file at my local machine(my laptop). I can ping server either by IP or hostname successfully. Now problem is on the server. Please comment on it. Thanks.
Reply With Quote
  #6 (permalink)  
Old 10-11-2007
Registered User
 

Join Date: Jan 2007
Posts: 2,965
On your server have you checked the nsswitch.conf file and made sure it looks in both file and dns?

Solaris - nsswitch.conf (4)
Reply With Quote
  #7 (permalink)  
Old 10-12-2007
Registered User
 

Join Date: Nov 2005
Posts: 127
Porter:

Thanks for your advice and link. I have checked /etc/nsswitch.conf and /etc/nsswitch.dns files. They all list as: hosts files dns. I may need to enter DNS server IP into /etc/resolv.conf.

Last edited by duke0001; 10-12-2007 at 07:12 AM.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:10 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0