All of lore.kernel.org
 help / color / mirror / Atom feed
* NFS server replacement troubles
@ 2002-10-08 14:28 tswaine
  2002-10-08 16:27 ` Benjamin LaHaise
  2002-10-09  9:38 ` Neil Brown
  0 siblings, 2 replies; 6+ messages in thread
From: tswaine @ 2002-10-08 14:28 UTC (permalink / raw)
  To: nfs

I currently have a SCO NFS server, however I'm replacing it with Redhat
Linux.
I have taking down the box replaced it and NFS fails. The hostname, ip, etc.
is 
the same on the new machine.
New box info....
	Stock Redhat Linux 6.2
	kernel 2.2.14-6.0.1 on i686
	partition being exported is Reiser filesystem

Before new box was put in to production its hostname was different.
Exporting was fine, NFS worked properly, however as soon as box
is brought up under new name NFS fails, errors(see below ).

Snapshot of errors.......

Starting portmapper: [  OK  ]
master:/var/lib/nfs 23# /etc/rc.d/init.d/nfs start
Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno
= Connection refused
[FAILED]
Starting NFS mountd: Cannot register service: RPC: Unable to receive; errno
= Connection refused
mountd: unable to register (mountd, 1, udp).
[FAILED]
Starting NFS daemon: nfssvc: Connection refused
[FAILED]
Starting NFS services:  [  OK  ]


I have restarted portmapper and nfs with no success, unmount nfs on all
connected machines, still no workee....
Any help would be appreciated...
Thanks.


Troy L. Swaine
System Administrator / Engineer



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: NFS server replacement troubles
@ 2002-10-08 17:10 tswaine
  0 siblings, 0 replies; 6+ messages in thread
From: tswaine @ 2002-10-08 17:10 UTC (permalink / raw)
  To: bcrl; +Cc: nfs

Thanks for your reply, but I have to use 6.2 with that
kernel for my specific application. It short it seems the
system works till I replace the hostname/machine. Also the
clients are a mix of Redhat 6.2/7.2 with 2.2.14-6.0.1/
2.4.9-31 respectively.


-----Original Message-----
From: Benjamin LaHaise [mailto:bcrl@redhat.com]
Sent: Tuesday, October 08, 2002 12:28 PM
To: tswaine@prosodiemail.com
Cc: nfs@lists.sourceforge.net
Subject: Re: [NFS] NFS server replacement troubles


On Tue, Oct 08, 2002 at 10:28:52AM -0400, tswaine@prosodiemail.com wrote:
> 	Stock Redhat Linux 6.2
> 	kernel 2.2.14-6.0.1 on i686
> 	partition being exported is Reiser filesystem

That kernel is utterly ancient.  At the very least you should upgrade to the

newer errata that were released for 6.2 to fix security issues in the kernel

and userland, but preferably you should just replace the box with one
running 
7.3, as 6.2 is pretty much end of life.  Numerous bugs in NFS, reiserfs and 
the core kernel have been fixed since 2.2.14 was released almost 2 years
ago.

		-ben


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 6+ messages in thread
* RE: NFS server replacement troubles
@ 2002-10-09 11:20 tswaine
  2002-10-11  6:22 ` Neil Brown
  0 siblings, 1 reply; 6+ messages in thread
From: tswaine @ 2002-10-09 11:20 UTC (permalink / raw)
  To: neilb, tswaine; +Cc: nfs

Thanks Neil but I looked at that also. My exports file looks like
this....

/somedir (rw)

Allowing anyone to connect. Also my hosts.allow is...

ALL: ALL

Allowing everyone also. Right after the new box comes online 
and fails(when it worked with a different hostname). Something
gets corrupted in nfs. No matter what I do, nfs will not work.
I have tried replacing binaries ( rpc.* )with no avail.

Could it be stale clients that were not unmounted before the switch?

Thanks....

-----Original Message-----
From: Neil Brown [mailto:neilb@cse.unsw.edu.au]
Sent: Wednesday, October 09, 2002 5:38 AM
To: tswaine@prosodiemail.com
Cc: nfs@lists.sourceforge.net
Subject: Re: [NFS] NFS server replacement troubles


On Tuesday October 8, tswaine@prosodiemail.com wrote:
> I currently have a SCO NFS server, however I'm replacing it with Redhat
> Linux.
> I have taking down the box replaced it and NFS fails. The hostname, ip,
etc.
> is 
> the same on the new machine.
> New box info....
> 	Stock Redhat Linux 6.2
> 	kernel 2.2.14-6.0.1 on i686
> 	partition being exported is Reiser filesystem
> 
> Before new box was put in to production its hostname was different.
> Exporting was fine, NFS worked properly, however as soon as box
> is brought up under new name NFS fails, errors(see below ).
> 
> Snapshot of errors.......
> 
> Starting portmapper: [  OK  ]
> master:/var/lib/nfs 23# /etc/rc.d/init.d/nfs start
> Starting NFS quotas: Cannot register service: RPC: Unable to receive;
errno
> = Connection refused
> [FAILED]
> Starting NFS mountd: Cannot register service: RPC: Unable to receive;
errno
> = Connection refused

At a guess, I would say tcpwrappers problem.  Maybe you have to old
host-name in /etc/hosts.allow, or something like that??

NeilBrown

> mountd: unable to register (mountd, 1, udp).
> [FAILED]
> Starting NFS daemon: nfssvc: Connection refused
> [FAILED]
> Starting NFS services:  [  OK  ]
> 
> 
> I have restarted portmapper and nfs with no success, unmount nfs on all
> connected machines, still no workee....
> Any help would be appreciated...
> Thanks.
> 
> 
> Troy L. Swaine
> System Administrator / Engineer
> 
> 
> 
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-10-11  6:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-08 14:28 NFS server replacement troubles tswaine
2002-10-08 16:27 ` Benjamin LaHaise
2002-10-09  9:38 ` Neil Brown
  -- strict thread matches above, loose matches on Subject: below --
2002-10-08 17:10 tswaine
2002-10-09 11:20 tswaine
2002-10-11  6:22 ` Neil Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.