- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hostname: ping unknown host sa1
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
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
тАО12-16-2005 08:40 AM
тАО12-16-2005 08:40 AM
i have 2 servers
server a
server b
if i do a ping from server a to b is respondig o.k but if i do a ping from server b to a not tresponding ...
why?
i already verified hosts file and is o.k
Thanks, Manuales.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 08:45 AM
тАО12-16-2005 08:45 AM
SolutionShould have something like:
hosts: files [NOTFOUND=CONTINUE] dns
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 08:52 AM
тАО12-16-2005 08:52 AM
Re: hostname: ping unknown host sa1
Hi:
not exist etc/nsswitch.conf
must i create it?
Thanks, Manuales.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 08:59 AM
тАО12-16-2005 08:59 AM
Re: hostname: ping unknown host sa1
cp /usr/newconfig/etc/nsswitch.files /etc/nsswitch.conf
then vi it and add the DNS part from above...
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 09:10 AM
тАО12-16-2005 09:10 AM
Re: hostname: ping unknown host sa1
i already create nsswitch on /etc folder in server A and server B
they are:
hosts: dns nis files
services: nis files
protocols: nis files
networks: nis files
rpc: nis files
netgroup: nis files
and now?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 09:13 AM
тАО12-16-2005 09:13 AM
Re: hostname: ping unknown host sa1
nslookup servera
If it resolves, try your ping.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 09:20 AM
тАО12-16-2005 09:20 AM
Re: hostname: ping unknown host sa1
A standard /etc/nsswitch.conf looks like following:
aliases: files [NOTFOUND=return UNAVAIL=continue]
automount: files [NOTFOUND=return UNAVAIL=continue]
group: files [NOTFOUND=return UNAVAIL=continue]
hosts: files [NOTFOUND=continue UNAVAIL=continue] dns [NOTFOUND=return UNAVAIL=continue TRYAGAIN=return]
netgroup: files [NOTFOUND=return UNAVAIL=continue]
networks: files [NOTFOUND=return UNAVAIL=continue]
passwd: files [NOTFOUND=return UNAVAIL=continue]
protocols: files [NOTFOUND=return UNAVAIL=continue]
publickey: files[NOTFOUND=return UNAVAIL=continue]
rpc: files [NOTFOUND=return UNAVAIL=continue]
services: files [NOTFOUND=return UNAVAIL=continue]
-----------------------------------------
Check for ping after you check both the files /etc/nsswitch.conf and /etc/resolv.conf.
Also check /etc/hosts file of server B , to make sure hostname and IP mentioned correctly.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 09:50 AM
тАО12-16-2005 09:50 AM
Re: hostname: ping unknown host sa1
thanks, now i can execute correctly ping command with new nsswitch.conf
Now this problem was because when i wanted
to mount a NFS (filesystem from another server)i had problem about hostname with /etc/hosts.
look next:
server a has a filesystem /usr/user1
server b nedds see filesystem /usr/user1 from server a, this is with NFS, i had configured nfs in server a and server b but when i tryied to mount NFS filesystem from server a can not mout it
this is the message:
sa1:/sbin/init.d->./nfs.core start
starting NFS CORE networking
starting up the portmapper
/usr/sbin/portmap
sa1:/sbin/init.d->./nfs.client start
starting NFS CLIENT networking
starting up the portmapper
portmap already started, using pid: 22815
starting up the BIO daemons
/usr/sbin/biod 4
Reading in /etc/exports
starting up the Status Monitor daemon
rpc.statd already started, using pid: 1102
starting up the Lock Manager daemon
rpc.lockd already started, using pid: 1108
starting up the Automount daemon
/usr/sbin/automount -f /etc/auto_master
mounting remote NFS file systems ...
sa1:: RPC_PROG_NOT_REGISTERED
FAILURE CODE: 1
Mount failed! Possible local filesystem mount.
If local filesystem, then nfs.server will mount it.
Why is happening this??
Thanks, Manuales.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 11:33 AM
тАО12-16-2005 11:33 AM
Re: hostname: ping unknown host sa1
Manuales.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 11:34 AM
тАО12-16-2005 11:34 AM
Re: hostname: ping unknown host sa1
You should start in this order (reverse to stop):
nfs.core start
nfs.server start
nfs.client start
Also check /etc/rc.config.d/nfsconf
Server should be set to 1
Also - you are trying to automount - what is in /etc/auto_master and auto.direct?
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 12:08 PM
тАО12-16-2005 12:08 PM
Re: hostname: ping unknown host sa1
http://docs.hp.com/en/5991-1154/ch02.html
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-16-2005 12:33 PM
тАО12-16-2005 12:33 PM
Re: hostname: ping unknown host sa1
In short , you have to put the filesystem that you are sharing on /etc/exports and do # exportfs -a
And mount it on the other server , using :
# mkdir /mount_point
# mount
exportsever_name:/filesystem /mount_pont
Also check /etc/rc.config.d/nfsconf
and check this:
NFS_CLIENT=1
AUTOMOUNT=1
START_MOUNTD=1
AUTOFS=1
--------------
Cheers ,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2005 06:59 AM
тАО12-17-2005 06:59 AM
Re: hostname: ping unknown host sa1
Run exportfs -a
Check that your NFS is running on the target system
Mount the source_server:/
007