ypserv problem
Hi,
I've got a quite classical situation: linux server (suse 9.1) holding accounts and homes with yp and nfs+automount. Sometimes loggin in from a solaris client is very slow, even if it works. Watching the logs, I found a few lines like the followings:
Sep 16 10:49:22 mammuth ypserv[2024]: refused connect from X.X.X.X:32793 to
procedureypproc_match (nis_domain.gamma,passwd.byuid;-1)
I've searched the internet for this problem, but I didn't find a solution. I've noticed that the problem seems to be related only to the sun clients, even if sometimes the server itself is slow accepting interactive sessions on the console. My nsswitch.conf file on the server contains:
passwd: files nis
shadow: files nis
group: files nis
and the same on the suns. The machine is the nis master server, no slaves are configured now. The fact very strange is that, even if all the machine have a name and the dns works fine, in the log I found iP addresses and not names. Even placing the host name in the /etc/hosts file does not solve the problem. Any suggestion?
Thanks,
Luca
Signature · 3 lines
Luca Ferrari, Gamma Due s.r.l. e-mail: [email protected]
Quoted 9 lines · On Thursday 16 September 2004 09:02 your cat walking on the keyboard wrote:
Hi,
I've got a quite classical situation: linux server (suse 9.1) holding accounts and homes with yp and nfs+automount. Sometimes loggin in from a solaris client is very slow, even if it works. Watching the logs, I found a few lines like the followings:Sep 16 10:49:22 mammuth ypserv[2024]: refused connect from X.X.X.X:32793 to
procedureypproc_match(nis_domain.gamma,passwd.byuid;-1)
Quoted 13 lines
I've searched the internet for this problem, but I didn't find a solution. I've noticed that the problem seems to be related only to the sun clients, even if sometimes the server itself is slow accepting interactive sessions on the console. My nsswitch.conf file on the server contains:
passwd: files nis
shadow: files nis
group: files nis
and the same on the suns. The machine is the nis master server, no slaves are configured now. The fact very strange is that, even if all the machine have a name and the dns works fine, in the log I found iP addresses and not names. Even placing the host name in the/etc/hostsfile does not solve the problem. Any suggestion?
I've found another issue: on Linux clients using gnome, the user logs in but the window system seems to be frozen. The .gnome-errors file contains lines like the following:
GLib-WARNING **: getpwuid_r(): failed due to: No such user 4136.
Gdk-WARNING **: locale not supported by C library
The user id is correct, and the gnome running on solaris works fine. I believe this is related to the problem described in the previous mail.
Luca
Signature · 2 lines
Luca Ferrari, [email protected]