LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-08-2008, 11:46 PM   #1
wevl
LQ Newbie
 
Registered: Jun 2008
Posts: 16

Rep: Reputation: 0
Slack 12.1 NFS server broken??


I am thinking that the NFS server in 12.1 is broken.

Initially, rpc.portmap and rpc.statd are running. Of course when I try to
mount my Slack 12.1 box (Slack_26) on another machine, I get a response like:
mount: RPC: Program not registered

If I manually start rpc.mountd, "ps aux | grep rpc" shows that it is now running, but attempting again to mount the 12.1 box results in:
mount: slack_26:/ failed, reason given by server: Permission denied

My /etc/exports is the same as I have used for years:
/etc/exports on slack_26
# See exports(5) for a description.
# This file contains a list of all directories exported to other computers.
# It is used by rpc.nfsd and rpc.mountd.
/ *.vlcs.net

Both machines have each other in /etc/hosts.

/etc/hosts.deny and /etc/hosts.allow are empty - as I have always done.

Is anyone else able to NFS mount a Slack 12.1 machine?

Wayne
 
Old 06-09-2008, 12:14 AM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Yes works with no problems here.

What does `rpcinfo -p` show?

Did you chmod +x and start both rc.rpc and rc.nfsd?
 
Old 06-09-2008, 12:20 AM   #3
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Works fine here

Be sure to chmod +x rc.nfsd, and start both rc.nfsd and rc.rpc. I happen to have both nfsd and rpc ran at start because all of our machines both mount and serve nfs shares.

Your exports looks strange to me. Maybe I'm reading it wrong You're exporting your entire / directory to hosts *.vlcs.net, with no options specified? From your posting, there doesn't appear to be a space between / and *.vlcs.net. You can manually run
Code:
/etc/rc.d/rc.nfsd restart
and see if any errors are given on your nfs server.

mRgOBLIN types faster than I
 
Old 06-09-2008, 01:25 PM   #4
wevl
LQ Newbie
 
Registered: Jun 2008
Posts: 16

Original Poster
Rep: Reputation: 0
Problem solved: Thanks.

You guys were right on it. Apparently Slack 12.1 installer does not mark rc.nfsd even if nfs or rpc (whichever it is) is selected in the system configuration portion of installation, while earlier Slacks that I have used did. I have never had to manually make rc.nfsd executable before.

I also got sloppy. After the first installation didn't work, wiped the disk and reinstalled to make sure that I selected rpc or nfs (whichever it is) in system configuration, but this time I forgot to include (rw) options in my /etc/exports.

My /etc/exports does have spaces or a tab between / *.vlcs.net, but when copying from emacs into the posting, the tab or spaces didn't make it.

Thanks again for your most excellent help.

Wayne
 
Old 06-09-2008, 09:37 PM   #5
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

During the install you are given the opportunity to enable services. You either do it there or 'chmod +X' the service(s) you desire after the installation.

Plus you could always run 'pkgtool' to rerun the desired script.
 
  


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
nfs and portmap of 5/17 broken -current TNWestTex Slackware 1 05-21-2007 05:06 PM
Broken NFS Links: Server seems laggy Swakoo Linux - Networking 3 07-14-2006 02:21 AM
broken NFS mount need configuration advice bobbens Debian 6 10-29-2005 04:22 PM
Using PLIP to install Slack 10 - NFS broken db391 Linux - Laptop and Netbook 0 09-13-2004 06:33 AM
NFS broken IMustBe Stupid Linux - Networking 6 11-12-2002 09:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:22 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
Open Source Consulting | Domain Registration