Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

NFS not working - "writing fds to kernel failed"

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
14 posts • Page 1 of 1
Author
Message
dsegel
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Fri Jan 31, 2003 8:41 pm

NFS not working - "writing fds to kernel failed"

  • Quote

Post by dsegel » Mon Jun 11, 2007 12:18 am

I get these errors when I start NFS on a new AMD64 X2 system I'm building:

Code: Select all

Jun 10 17:13:24 [rpc.statd] Version 1.0.11 Starting
Jun 10 17:13:24 [nfsd] nfssvc: writing fds to kernel failed: errno 0 (Success)
I haven't been able to find out anything useful by searching for the error, and I'm a bit confused by the wording in any case (Success?).

When I try to mount the shared directories I get a "Connection refused" error.

My /etc/exports file looks like this:

Code: Select all

/home/share/ 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
Any tips on what I should try next?
Top
vaxbrat
l33t
l33t
User avatar
Posts: 731
Joined: Wed Oct 05, 2005 3:59 am
Location: DC Burbs

running services

  • Quote

Post by vaxbrat » Mon Jun 11, 2007 12:37 am

What does this show?

Code: Select all

rc-status
Are you running a firewall on this server?
Top
didymos
Advocate
Advocate
User avatar
Posts: 4798
Joined: Mon Oct 10, 2005 2:09 am
Location: California

  • Quote

Post by didymos » Mon Jun 11, 2007 12:56 am

What kernel version do you have? Also, have you tried updating nfs-utils?
Thomas S. Howard
Top
dsegel
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Fri Jan 31, 2003 8:41 pm

  • Quote

Post by dsegel » Mon Jun 11, 2007 2:34 am

rc-status output:

Code: Select all

Runlevel: default
 gkrellmd                                                                                   [ started  ]
 hdparm                                                                                     [ started  ]
 lm_sensors                                                                                 [ started  ]
 local                                                                                      [ started  ]
 metalog                                                                                    [ started  ]
 net.eth0                                                                                   [ started  ]
 netmount                                                                                   [ started  ]
 nfs                                                                                        [ started  ]
 ntp-client                                                                                 [ started  ]
 ntpd                                                                                       [ started  ]
 postfix                                                                                    [ started  ]
 samba                                                                                      [ started  ]
 smartd                                                                                     [ started  ]
 sshd                                                                                       [ started  ]
 uptimed                                                                                    [ started  ]
 vixie-cron                                                                                 [ started  ]
NFS starts up, puts the original error message I posted into the system logs, and then just sits there. The nfsd processes (8 of them) are still running, but not accepting any connections.

Kernel is:

2.6.19-gentoo-r5 #4 SMP Sun Jun 10 16:06:29 PDT 2007 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ AuthenticAMD GNU/Linux

No firewall on this machine or between it and the client.

nfs-utils and nfsd are the latest stable versions in portage. I may try ~x86 next.
Top
didymos
Advocate
Advocate
User avatar
Posts: 4798
Joined: Mon Oct 10, 2005 2:09 am
Location: California

  • Quote

Post by didymos » Mon Jun 11, 2007 3:03 am

The reason I asked on the version is that rpc.statd start-up message you posted had 1.0.11 as the version number, but the only ebuilds with double-digit minor versions in portage are for 1.0.10 and 1.0.12.
Thomas S. Howard
Top
dsegel
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Fri Jan 31, 2003 8:41 pm

  • Quote

Post by dsegel » Mon Jun 11, 2007 4:01 am

It seems to be that way for the current (1.0.12) version. I just downgraded to 1.0.10 and it has the same problem. I also tried 1.1.0 (unstable) and it didn't work either.

I have another Gentoo system right next to this one and nfs runs fine on it. I'm beginning to think it has something to do with 64-bit, but I haven't explored that enough to know what to look for.
Top
dsegel
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Fri Jan 31, 2003 8:41 pm

  • Quote

Post by dsegel » Tue Jun 12, 2007 12:33 am

A short update: I still don't know what's causing the original NFS error, but it's not what was preventing the client system from mounting the exported filesystems - that turned out to be a DNS error.
Top
qriff
n00b
n00b
Posts: 73
Joined: Thu Dec 04, 2003 2:46 am

  • Quote

Post by qriff » Fri Jun 15, 2007 12:59 pm

*bump*

Having same problem, things work but getting syslog errors.

Code: Select all

Jun 15 15:35:02 nfsd[24526]: nfssvc: writing fds to kernel failed: errno 0 (Success)
Jun 15 15:35:02 nfsd[24526]: nfssvc: writing fds to kernel failed: errno 0 (Success)
Top
Chris_Hird
n00b
n00b
Posts: 19
Joined: Mon Feb 17, 2003 9:39 pm
Location: Ontario Canada
Contact:
Contact Chris_Hird
Website

  • Quote

Post by Chris_Hird » Tue Jun 19, 2007 1:58 pm

dsegel wrote:rc-status output:

Code: Select all

Runlevel: default
 gkrellmd                                                                                   [ started  ]
 hdparm                                                                                     [ started  ]
 lm_sensors                                                                                 [ started  ]
 local                                                                                      [ started  ]
 metalog                                                                                    [ started  ]
 net.eth0                                                                                   [ started  ]
 netmount                                                                                   [ started  ]
 nfs                                                                                        [ started  ]
 ntp-client                                                                                 [ started  ]
 ntpd                                                                                       [ started  ]
 postfix                                                                                    [ started  ]
 samba                                                                                      [ started  ]
 smartd                                                                                     [ started  ]
 sshd                                                                                       [ started  ]
 uptimed                                                                                    [ started  ]
 vixie-cron                                                                                 [ started  ]
NFS starts up, puts the original error message I posted into the system logs, and then just sits there. The nfsd processes (8 of them) are still running, but not accepting any connections.

Kernel is:

2.6.19-gentoo-r5 #4 SMP Sun Jun 10 16:06:29 PDT 2007 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+ AuthenticAMD GNU/Linux

No firewall on this machine or between it and the client.

nfs-utils and nfsd are the latest stable versions in portage. I may try ~x86 next.
Looks like portmap is not running? I think this could be the problem.

Chris...
If only they knew that
Top
Chris_Hird
n00b
n00b
Posts: 19
Joined: Mon Feb 17, 2003 9:39 pm
Location: Ontario Canada
Contact:
Contact Chris_Hird
Website

  • Quote

Post by Chris_Hird » Tue Jun 19, 2007 7:17 pm

I have the portmapper running but still have the same problem as the above?

I did find this post on another forum and wondered if we have a similar problem I am running 2.6.20-r8
http://www.nabble.com/Bug-416066:-nfss ... 9220.html
Chris...
If only they knew that
Top
mlebek
Tux's lil' helper
Tux's lil' helper
Posts: 125
Joined: Sun Mar 07, 2004 10:46 am

  • Quote

Post by mlebek » Thu Jun 28, 2007 8:18 am

Try this /etc/export entry, is this working?:

Code: Select all

/home/share/ (rw,sync,no_root_squash,no_subtree_check)
Top
col
l33t
l33t
User avatar
Posts: 820
Joined: Wed May 08, 2002 3:31 pm
Location: Melbourne - Australia

  • Quote

Post by col » Mon Jul 02, 2007 4:43 am

I fixed this by removing kerberos support in nfs-utils & re-installing nfs-utils without it.
Top
snIP3r
l33t
l33t
Posts: 866
Joined: Fri May 21, 2004 6:21 pm
Location: germany

  • Quote

Post by snIP3r » Mon Jul 09, 2007 10:38 am

col wrote:I fixed this by removing kerberos support in nfs-utils & re-installing nfs-utils without it.
hi!

i have the same problem. but also compiling nfs-utils without kerberos support didnt fix it for me...

snIP3r
Intel i3-4130T on ASUS P9D-X
Kernel 6.6.52-gentoo SMP
-----------------------------------------------
if your problem is fixed please add something like [solved] to the topic!
Top
Alakhai
Apprentice
Apprentice
User avatar
Posts: 151
Joined: Thu Oct 16, 2003 4:27 pm

  • Quote

Post by Alakhai » Tue Jul 24, 2007 11:42 pm

I have the same problem trying to mount from a subnet to a "uppernet"
i explain i have 23.254* ip and a router that has a consecutive ip, it has a subnet 192.168.0.0/24
with my laptop i try to mount nfs on the 23 etc ip but it answer me the same of your...
in export and hosts.allow i set router ip and subnet
from same laptop the same day i successfully mounted a nfs from a same subnet

edit: i just tested both pc on same network fixing the proper config file, but i recive the same error
Gentoo Linux 64Bit User
Top
Post Reply

14 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic