LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-04-2005, 01:41 AM   #1
wastingtime
Member
 
Registered: Sep 2004
Posts: 86

Rep: Reputation: 17
error exporting nfs directories


Gentoo 2004.2 (2.4.26 kernel) server has been running for 9 months now.
Today rebooting a client (same kernel) got "mount: RPC: Timed out" errors

Turns out the server stopped exporting the nfs shares.

Running
/etc/init.d/nfs restart
I get
"Error exporting NFS directories"

Other servers (mail, samba, apache) all work fine; that is, no connectivity problem.
Have not made any changes to the server.
Rebooting the server has not helped.

Interesting to note that after restarting nfs on the server and trying again on the clinet I get

bash-2.05b# mount /mnt/public
mount: server1:/shares/public failed, reason given by server: Permission denied
bash-2.05b# mount /mnt/public
mount: RPC: Timed out

content of /etc/exports

/shares/documents *(rw,sync,all_squash,anonuid=1000,anongid=100)
/shares/public *(rw,sync,all_squash,anonuid=1000,anongid=100)

I noticed that if I remove the contents of
/var/lib/nfs/etab and /var/lib/nfs/rmtab

NFS restart with no problem

after that the fisrt mount from the client (either one) works but the second one times out.
at that point if I try to restart NFS it fails like before


Any idea?

Last edited by wastingtime; 06-04-2005 at 10:05 AM.
 
Old 06-04-2005, 04:22 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980Reputation: 1980
an invliad entry in /etc/exports would be the obvious culprit, but you've not shown us te content of it...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Error accessing and retriving directories via NFS. emilsa Linux - Networking 0 07-15-2005 08:43 AM
Exporting mounted CD-ROM or DVD through NFS pistachio Linux - Networking 11 07-12-2005 08:01 AM
exporting one NFS folder to another NFS and exporting it.... stellarmarine1 Linux - Networking 3 09-20-2004 06:54 AM
exporting root filesystem via NFS jakiel Linux - Newbie 1 07-18-2003 03:32 AM
Exporting (via NFS) smbmount'ed shares joeschmoe Linux - Networking 1 11-02-2001 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 02:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration