Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th July 2012, 04:19 AM
jlpierce Offline
Registered User
 
Join Date: Jul 2012
Location: Pekin, Indiana
Posts: 78
linuxopera
Fedora 17 no NFS Functionality

Hello,

I have moved to Fedora 17 on 3 internal computers, all 3 were fresh installations. However, now I have no NFS server functionality.

I have enabled the nfs-server.service with systemctl and this is what happens when I start it with:


systemctl start nfs-server.service

and check the status with:

systemctl status nfs-server.service

nfs-server.service - NFS Server
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled)
Active: active (exited) since Fri, 06 Jul 2012 21:40:26 -0400; 1h 34min ago
Process: 3936 ExecStartPost=/usr/lib/nfs-utils/scripts/nfs-server.postconfig (code=exited, status=0/SUCCESS)
Process: 3923 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS ${RPCNFSDCOUNT} (code=exited, status=0/SUCCESS)
Process: 3920 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
Process: 3917 ExecStartPre=/usr/lib/nfs-utils/scripts/nfs-server.preconfig (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/nfs-server.service


At this point there are no mounts and no other computer mount a share.

This is the last 2 lines of the output from dmesg:


[ 6088.501748] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 6088.501787] NFSD: starting 90-second grace period


Any assistance with this issue would be greatly appreciated.

Thanks
Reply With Quote
  #2  
Old 7th July 2012, 04:46 AM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: Fedora 17 no NFS Functionality

Quote:
Originally Posted by jlpierce View Post
Hello,

I have moved to Fedora 17 on 3 internal computers, all 3 were fresh installations. However, now I have no NFS server functionality.

I have enabled the nfs-server.service with systemctl and this is what happens when I start it with:


systemctl start nfs-server.service

and check the status with:

systemctl status nfs-server.service

nfs-server.service - NFS Server
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled)
Active: active (exited) since Fri, 06 Jul 2012 21:40:26 -0400; 1h 34min ago
Process: 3936 ExecStartPost=/usr/lib/nfs-utils/scripts/nfs-server.postconfig (code=exited, status=0/SUCCESS)
Process: 3923 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS ${RPCNFSDCOUNT} (code=exited, status=0/SUCCESS)
Process: 3920 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
Process: 3917 ExecStartPre=/usr/lib/nfs-utils/scripts/nfs-server.preconfig (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/nfs-server.service

This looks normal. Nothing wrong there. The nfs-server is running.

Quote:
At this point there are no mounts and no other computer mount a share.

This is the last 2 lines of the output from dmesg:


[ 6088.501748] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory
[ 6088.501787] NFSD: starting 90-second grace period


Any assistance with this issue would be greatly appreciated.

Thanks
That also looks normal.

Did you set up your /etc/exports? What does it look like?

Did you allow access through the firewall?

How are you trying to mount your nfs shares on the client?
Reply With Quote
  #3  
Old 7th July 2012, 05:14 AM
jlpierce Offline
Registered User
 
Join Date: Jul 2012
Location: Pekin, Indiana
Posts: 78
linuxopera
Re: Fedora 17 no NFS Functionality

This is the /etc/exports file:

/music 192.168.1.*/24(rw,insecure,sync,no_root_squash)


I tried as root the following mount command:

mount -t nfs 192.168.1.30:/music /media/music

the /media/music directory exists as well.

Also, the firewall is turned off as well as selinux.

However, I do not believe that the server is running, notice the exited part in the following line:

Active: active (exited) since Fri, 06 Jul 2012 21:40:26 -0400; 1h 34min ago


I know there was some discussion around a missing var-run.mount dependency, but that issue has not surfaced here.

Thanks

---------- Post added at 11:04 PM ---------- Previous post was at 10:53 PM ----------

Follow up:

As a follow up to the part about the server not running, if I do a status check on the mysqld server I get this:

Active: active (running) since Fri, 06 Jul 2012 19:59:21 -0400; 4h 4min ago

There is also a PID associated with the server. I am not sure if that helps.

Again, thanks for the response.

---------- Post added at 11:14 PM ---------- Previous post was at 11:04 PM ----------

This might also be relevant, it is from the tail of /var/log/messages

Jul 7 00:09:56 linbooka systemd[1]: nfs-mountd.service: main process exited, code=exited, status=1
Jul 7 00:09:56 linbooka systemd[1]: Unit nfs-mountd.service entered failed state.
Jul 7 00:09:56 linbooka kernel: [15039.323440] nfsd: last server has exited, flushing export cache
Jul 7 00:10:02 linbooka kernel: [15045.661047] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery directory

Hope this might help.
Reply With Quote
  #4  
Old 7th July 2012, 06:30 AM
knesenko's Avatar
knesenko Offline
Registered User
 
Join Date: Jul 2008
Location: IL
Age: 27
Posts: 142
linuxfirefox
Re: Fedora 17 no NFS Functionality

Check this liune in /etc/exports : /music 192.168.1.*/24(rw,insecure,sync,no_root_squash) - looks like a syntax issue here.
AFAIK wildcards are not allowed on ip addresses. Please try this:
/music 192.168.1.0/24(rw,insecure,sync,no_root_squash)
__________________
My website: http://www.geekacad.com/
Best regards ,
Kiril Nesenko
Reply With Quote
  #5  
Old 7th July 2012, 10:42 AM
jlpierce Offline
Registered User
 
Join Date: Jul 2012
Location: Pekin, Indiana
Posts: 78
linuxopera
Re: Fedora 17 no NFS Functionality

I appreciate the feedback, but still no joy. I changed the exports to the suggested line and still this:

Active: active (exited) since Sat, 07 Jul 2012 05:40:07 -0400; 3s ago

This is really puzzling to me, I have never had this much issue getting NFS to work.
Reply With Quote
  #6  
Old 7th July 2012, 01:25 PM
DBelton's Avatar
DBelton Offline
Administrator
 
Join Date: Aug 2009
Posts: 6,612
linuxfirefox
Re: Fedora 17 no NFS Functionality

It is normal for it to show exited.

Here is what mine shows and it's up and running:

Code:
[root@tower11 ~]# systemctl status nfs-server.service
nfs-server.service - NFS Server
	  Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled)
	  Active: active (exited) since Fri, 06 Jul 2012 10:44:57 -0500; 20h ago
	 Process: 745 ExecStartPost=/usr/lib/nfs-utils/scripts/nfs-server.postconfig (code=exited, status=0/SUCCESS)
	 Process: 726 ExecStart=/usr/sbin/rpc.nfsd $RPCNFSDARGS ${RPCNFSDCOUNT} (code=exited, status=0/SUCCESS)
	 Process: 718 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
	 Process: 707 ExecStartPre=/usr/lib/nfs-utils/scripts/nfs-server.preconfig (code=exited, status=0/SUCCESS)
	  CGroup: name=systemd:/system/nfs-server.service
[root@tower11 etc]# exportfs
/nfs4exports  	192.168.1.0/24
/nfs4exports/Drive_C
		192.168.1.0/24
/nfs4exports/Drive_D
		192.168.1.0/24
/nfs4exports/Drive_E
		192.168.1.0/24
/nfs4exports/Drive_F
		192.168.1.0/24
/nfs4exports/Drive_G
		192.168.1.0/24
/nfs4exports/Drive_H
		192.168.1.0/24
/nfs4exports/Drive_I
		192.168.1.0/24
[root@tower11 etc]#
Using the exportfs command, that shows you what is actually being shared by nfs.
Reply With Quote
  #7  
Old 7th July 2012, 03:13 PM
jlpierce Offline
Registered User
 
Join Date: Jul 2012
Location: Pekin, Indiana
Posts: 78
linuxopera
Re: Fedora 17 no NFS Functionality

Ok, I miss spoke and did not give the system enough time to mount the exported file system.

It now mounts correctly as expected. It turned out to the be the exports file and that wildcard * I had there. Thanks for that information, I could have sworn that I had a wildcard in my previous configurations.

Thanks again for that assistance.
Reply With Quote
Reply

Tags
fedora, functionality, nfs

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Lockdown desktop functionality, Fedora 16 gsannes Security and Privacy 1 25th February 2012 09:36 AM
Lockdown desktop functionality, Fedora 16 gsannes Security and Privacy 1 22nd February 2012 02:04 PM
Fedora 15 - Desktop functionality eventually hangs after switching users smaress Using Fedora 4 28th October 2011 11:13 PM
No live bookmark functionality in Fedora 10 bundled Firefox pigbellamy Using Fedora 0 4th January 2009 11:14 PM
Xen - Functionality Question IanWaring Fedora Focus 2 18th February 2006 12:27 AM


Current GMT-time: 07:03 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat