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
Forums
Discussions
Discussions
Discussions
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
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
03-15-2007 01:40 AM
03-15-2007 01:40 AM
1. Renamed the hostname of the machine and gave it a new IP address.
2. Gave the user a new name (but kept his UID the same) in /etc/password and changed it in /etc/group to reflect the passwd file.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 02:02 AM
03-15-2007 02:02 AM
Re: NIS NFS
have you tried to push the NIS maps again (/var/yp/ypmake) ?
Can you tell us more about hardware (server, clients) software/application?
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 02:02 AM
03-15-2007 02:02 AM
Re: NIS NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 02:38 AM
03-15-2007 02:38 AM
Re: NIS NFS
Master: SUN Orgin 300 - IRIX 6.5
Slave: HP C8000 - HP-UX 11.11
Clients are:
HP c8000
HP c3750
IBX p275
SGI Octane2
Applications are CATIA v4/v5, UG, and Ideas.
No Automounting. Only using NIS for passwd and groups.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 02:46 AM
03-15-2007 02:46 AM
Re: NIS NFS
Have you pushed the maps?
You have to find the SUN-specific command for ypmake.
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 03:03 AM
03-15-2007 03:03 AM
Re: NIS NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 03:09 AM
03-15-2007 03:09 AM
Re: NIS NFS
'ypwhich' at the client
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 03:14 AM
03-15-2007 03:14 AM
Re: NIS NFS
ypcat passwd -or- ypcat group
It looks fine. When I try to start the application from the NFS directory it seems to hang up.
Some clients see the HP and others see the SGI. What makes no sense to me is that after changing the machine's ip address and the users alias for their UID it worked.
Can NIS mess with the NFS lock files?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 03:18 AM
03-15-2007 03:18 AM
Re: NIS NFS
does a 'ls -l' works for the application directory?
Are there log files written to the directory?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 03:20 AM
03-15-2007 03:20 AM
Re: NIS NFS
Which particular clients had the problems? One thing to try is killing the pwgrd daemons on the clients (you don't really need it anyway).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 04:36 AM
03-15-2007 04:36 AM
Re: NIS NFS
ls -l works in all of the directories.
No log files that I can see.
A.Clay,
Clients only have the bare hosts, passwd and group file.
Only MASTER and SERVER have complete hosts, passwd and group.
So far only the HPs have had this problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 04:42 AM
03-15-2007 04:42 AM
Re: NIS NFS
have you added a '+' at the end of passwd, group and hosts?
V.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 04:48 AM
03-15-2007 04:48 AM
Re: NIS NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 05:31 AM
03-15-2007 05:31 AM
Re: NIS NFS
could you please check/send
/etc/nsswitch.conf
for the order of the name resolution?
Espec. hosts, passwd and group are of interest.
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 05:51 AM
03-15-2007 05:51 AM
Re: NIS NFS
hosts: files nis
Clients are:
hosts: files nis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 08:44 AM
03-15-2007 08:44 AM
Re: NIS NFS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 08:20 PM
03-15-2007 08:20 PM
Re: NIS NFS
sorry, from my experience the master server doesn't need a '+' at the end.
Am I wrong?
Or can you test it without the '+'.
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 09:32 PM
03-15-2007 09:32 PM
Re: NIS NFS
the '+' is effective only in compatibility mode.
Please send out of /etc/nsswitch.conf the entries for
passwd:
group:
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2007 11:14 PM
03-15-2007 11:14 PM
Re: NIS NFS
automount(dynamic): nis (nis_enumerate_key)
#bootparams: files nis
capability: files nis
clearance: files nis
ethers: files nis
group: files nis
hosts: files nis dns
mac: files nis
mail(null_extend_key): ndbm(file=/etc/aliases) nis
netgroup: nis
#netid.byname: nis
networks: files nis
passwd: files(compat) [notfound=return] nis
protocols: nis [success=return] files
rpc: files nis
services: files nis
shadow(mode=0700): files
SLAVE SERVERS /etc/nsswitch.conf
passwd: files nis
group: files nis
hosts: files nis
networks: files nis
protocols: files nis
rpc: files nis
publickey: files nis
netgroup: files nis
automount: files
aliases: files
services: files
CLIENTS /etc/nsswitch.conf
passwd: files nis
group: files nis
hosts: files nis
networks: files nis
protocols: files nis
rpc: files nis
publickey: files nis
netgroup: files nis
automount: files nis
aliases: files nis
services: files nis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2007 12:54 AM
03-16-2007 12:54 AM
Re: NIS NFS
you have to decide, wether using compatibility mode or not; an entry
passwd: files(compat) [notfound=return] nis
is NOT valid, IMHO.
Either use (which I recommend)
passwd: files nis
or
passwd: files(compat)
The simple 'files nis' order will not require any modifications of local files /etc/passwd and lookup non-local entries in the NIS map automatically.
A 'compat' entry is required ONLY for merging NIS data with local ones out of /etc/passwd like
+user:::::/bin/false
But than an additional nis lookup, configured via /etc/nsswitch.conf make no sense (at least: or creating trouble).
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2007 01:15 AM
03-20-2007 01:15 AM
Re: NIS NFS
I changed the NIS MASTER SERVER's /etc/nsswitch.conf to look like the SLAVE server by only using (file nis) and rebooted them both (Master then Slave) this morning.
I have just noticed that from the SLAVE it has trouble resolving the hostname when I try to rlogin to a client by IP address of coarse works fine.
If I ypcat hosts, it replies the hosts list from the MASTER correctly.
If I ping it resolves fine, but if I telnet or rlogin to a hostname it hangs for a minute and will eventually login after a minute or so.
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2007 02:23 AM
03-20-2007 02:23 AM
Re: NIS NFS
though I think it had been much 'time for points' yet ...
http://forums1.itrc.hp.com/service/forums/helptips.do?#33
...
- What is the output on a SLAVE of the command
nslookup hostname
- What do you mean by 'the ping resolves fine'?
Did the ping get an IP address or a hostname?
Resolving of names does not differ between ping, telnet, rlogin ...
- Is there a difference when you login via telnet as a user with a local HOME directory or a NFS mounted HOME?
- Are NFS mounts performed via automount a as static entries in /etc/mnttab?
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2007 03:15 AM
03-20-2007 03:15 AM
Re: NIS NFS
# nslookup hp35
Using /etc/hosts on: cadsvr
looking up FILES
Name: hp35
Address: 10.51.34.197
Aliases: shaunm
<- What do you mean by 'the ping resolves
Ping resolves the ip address from the name.
# ping hp35
PING hp35: 64 byte packets
64 bytes from 10.51.34.197: icmp_seq=0. time=0. ms
See above...
May not, but in this senario ping resolves fast while telnet and rlogin are slow.
<- Is there a difference when you login via
I am on the NIS SLAVE which is also the SAN/NFS server. All directories are local to it. If I go to a client it has no problem with rlogin, telnet and ping.
<- Are NFS mounts performed via automount a
All mounts are via static entries in the /etc/fstab for the clients and the server are mounts to the SAN drives.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-20-2007 03:47 AM
03-20-2007 03:47 AM
Re: NIS NFS
1) You see the hostname resolutions is successful done form /etc/hosts - no access to a NIS map is done.
2) If you say 'telnet/rlogin is slow':
You may count only the time until
telnet otherhost
presents its login-prompt. Does the login process take so much time or the presentation of the login prompt?
3) Local/Remote dirs:
Are there disks mounted on the host NOT belonging to the SAN? Maybe the OS disk(s)?
If the root login has still '/' as HOME, is the root login slow as well?
mfG Peter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2007 12:03 AM
03-21-2007 12:03 AM
Re: NIS NFS
<1) You see the hostname resolutions is
Here is a different host that I added only to the MASTER NIS Server.
# nslookup eric
Using /etc/hosts on: cadsvr
looking up FILES
Trying NIS
Name: eric
Address: 10.51.34.13
<2) If you say 'telnet/rlogin is slow':
When I type rlogin or telnet, nothing happens until 35-45 seconds later, then it presents the prompt. After that it is fine.
3) Local/Remote dirs:
Are there disks mounted on the host NOT belonging to the SAN? Maybe the OS disk(s)?
If the root login has still '/' as HOME, is the root login slow as well?
If I am logged in as root on / or as another user on a different disk it still takes 35-45 seconds to get the login prompt.
If I login into a client or the MASTER NIS server it is fine logging into this SLAVE server or other machines.