Fedora Linux Support Community & Resources Center
  #1  
Old 30th May 2012, 03:57 AM
hidarikiki Offline
Registered User
 
Join Date: May 2012
Location: Orange CA
Posts: 2
windows_7ie
NFS Installed But Not Running

I have installed Fedora 14 on a Dell laptop which I am using for a host to an embedded board. I need to get NFS working so that the board can mount the file system. I installed NFS using the command su -c 'yum -y install nfs-utils system-config-nfs'. I think this went well. I confirmed this with rpm -q nfs-utils and it prints back nfs-utils-1.2.5-5.fc16.i686, so I think it is OK. So far so good. For the other package I get system-config-nfs-1.3.51-2.fc15.noarch.

I set up an exports file in /etc.

Next I tried to use the NFS by typing su -c 'service nfs restart' and I get "Failed to issue method call: Unit nfs.service failed to load: No such file or directory. See system logs and 'systemctl status nfs.service' for details.

systemctl status nfs.service returns " Loaded: error (Reason: No suh file or directory) Active: inactive (dead). So it looks to me like it is not running at all. I have also tried start and stop. Start does the same thing, interestingly stop seems to at least hit a valid call.

I also tried re-installing the NFS utilities and I get the same thing. Running install again returns "Nothing to do".

I got most of this information from this page http://fedoraproject.org/wiki/Admini...uide_Draft/NFS which seems like it should be a reliable source of information.

At this point, I am pretty much out of ideas. If I could fix this that would be great. If not, then I'm thinking of trashing this version of Fedora and going with a later one. Got any ideas?

Thanks!
Reply With Quote
  #2  
Old 30th May 2012, 04:20 AM
marko's Avatar
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 5,448
linuxfirefox
Re: NFS Installed But Not Running

It says "no such file or directory" because the nfs service is called "nfs-server.service"
Quote:
systemctl enable nfs-server.service
systemctl start nfs-server.service
A good way to see the listing of all the possible systemd unit names is to run:
Quote:

systemctl -a list-units --full
ps. you can also still use the old style 'service' command but just use the new name:

example:
Quote:
service nfs-server status

Last edited by marko; 30th May 2012 at 04:26 AM.
Reply With Quote
  #3  
Old 30th May 2012, 04:33 AM
stevea's Avatar
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,300
linuxfirefox
Re: NFS Installed But Not Running

You need to have rpcbind service running.
Can you post your /etc/exports ?

Are you sure that's F14 ? Your system is using systemd and there is no /lib/systemd/system/nfs.service

What does this get you ? (as root)
systemctl enable nfs-server.service
systemctl start nfs-server.service
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe
Reply With Quote
  #4  
Old 30th May 2012, 08:08 PM
hidarikiki Offline
Registered User
 
Join Date: May 2012
Location: Orange CA
Posts: 2
windows_98_nt_2000ie
Thumbs up Re: NFS Installed But Not Running

First of all, thank you marko and stevea. NFS is running. The root file system is still not being mounted, but at least one problem has been cleared.

systemctl enable nfs-server.service and systemctl start nfs-server.service silently return. status nfs-server.service shows that NFS is running - active (running) is printed in green.

By looking at /etc/redhat-release I have determined that I am running Fedora 16. Seems like a key piece of informations. Oops.

Here is my /etc/exports (minus comments)

/home/shawn *(rw,sync, no_subtree_check,no_root_squash)

There target is configured to boot from /home/target_fs. There is a link home/target_fs -> /home/shawn/target_fs.

Originally, I looked into rpcbind as the source of my problem, but found the more basic problem of no NFS. Probably it is not running.

I have disabled the firewall and SELinux.

---------- Post added at 12:08 PM ---------- Previous post was at 10:46 AM ----------

It mounts the root file system from the host!

Getting NFS running was important. I fiddled with the cable and it works now.

Thanks again!
Reply With Quote
Reply

Tags
installed, nfs, running

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
[SOLVED] php installed with yum, but not running settingsun Servers & Networking 10 26th October 2011 02:45 PM
Installed/Running OS ISO muhammad ammar Using Fedora 3 5th August 2011 06:41 AM
Running installed programs rgrwtrs Using Fedora 2 12th March 2008 10:56 PM
Sun Java; installed, running, but no applets Pille456 Using Fedora 0 12th March 2008 08:51 PM
Internet not running with FRESH installed FC6 wyss84 Servers & Networking 27 9th April 2007 01:17 PM


Current GMT-time: 04:01 (Tuesday, 21-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