Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2008 09:23 AM
тАО01-27-2008 09:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2008 09:57 AM
тАО01-27-2008 09:57 AM
Re: hostname
if you cannot ping the server fromyour client ; then you cannot resolve the hostname,
1. register that hostname in dns
or,
2. write hostname ip to your client hosts table.
Hasan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2008 10:58 AM
тАО01-27-2008 10:58 AM
Re: hostname
i checked it from windows o/s i am pinging
my server but i can ping only ip not hostname
i checked hosname in /etc/hosts file also
i checked /etc/nsswitch.conf file
entry is perfectly ok
but i am not getting what was the reason yet
it is very urgent to me
pleaseeeeeeeeeeee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2008 11:19 AM
тАО01-27-2008 11:19 AM
Re: hostname
are you trying to ping your unix server from your pc ? or vice versa ?
Hasan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-27-2008 01:03 PM
тАО01-27-2008 01:03 PM
Re: hostname
The hosts: line in the nsswitch.conf should read:
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns
That way, if the new hostname is put into /etc/hosts, will be resolved. User the nsquery command to see how a hostname is resolved:
nsquery hosts somehostname
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2008 04:37 AM
тАО01-28-2008 04:37 AM
Re: hostname
> my server but i can ping only ip not hostname
> i checked hosname in /etc/hosts file also
> i checked /etc/nsswitch.conf file
> entry is perfectly ok
The windows PC can not resolve the hostname of your UNIX server. You need to put the hostname/IP of the UNIX server in the name resolution service that your PC is using.
Your PC could be using a DNS server or a WINS server for name resolution.
On the PC open a CMD window (DOS window) and run the command "ipconfig /all" and look at the lines for "DNS servers" "Primary WINS server" "secondary WINS Server"
If any of those are defined, you have to put the UNIX hostname/IP in those servers so that your PC can resolve the UNIX hostname.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2008 09:16 AM
тАО01-28-2008 09:16 AM
Re: hostname
i am pining from my pc to unix server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-28-2008 09:41 AM
тАО01-28-2008 09:41 AM
Re: hostname
ipconfig/all from cmd prompt will tell you where your DNS server is. Ask the admin of that server to add your FQDN to that server.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2008 11:14 PM
тАО01-30-2008 11:14 PM
Re: hostname
what is the output of the nslookup
nslookup hostname
you need to put /etc/resolv.conf file on your system please provide the output of
/etc/resolv.conf and /etc/nsswitch.conf
Regards
Safar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-01-2008 10:24 PM
тАО02-01-2008 10:24 PM
Re: hostname
and nslooup ip output is also u can see below
# cat /etc/resolv.conf
nameserver 10.65.60.100
# nslookup 10.65.65.11
Using /etc/hosts on: society1
looking up FILES
Name: society1
Address: 10.65.65.11
# cat /etc/nsswitch.conf
#
# /etc/nsswitch.hp_defaults:
#
# @(#)B11.23_LR
#
# An example file that could be copied over to /etc/nsswitch.conf; it
# uses NIS (YP) in conjunction with files.
#
passwd: compat
group: compat
hosts: files [NOTFOUND=return] nis [NOTFOUND=return]
ipnodes: dns [NOTFOUND=return] files
networks: nis [NOTFOUND=return] files
protocols: nis [NOTFOUND=return] files
rpc: nis [NOTFOUND=return] files
publickey: nis [NOTFOUND=return] files
netgroup: nis [NOTFOUND=return] files
automount: files nis
aliases: files nis
services: nis [NOTFOUND=return] files
#