Find the answer to your Linux question:
Results 1 to 2 of 2
I use a startup and hangup scripts both of which call the appropriate ppp activity. I want to shut down NFS and RPC when on the web so added a ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Mar 2008
    Posts
    287

    Using ppp startup


    I use a startup and hangup scripts both of which call the appropriate ppp activity.
    I want to shut down NFS and RPC when on the web so added a couple of lines.
    sh /etc/rc.d/rc.nfsd stop and sh /etc/rc.d/rc.rpc stop when I start the modem
    That seems to go OK, but when I use:
    sh /etc/rc.d/rc.rpc start and sh /etc/rc.d/rc.nfsd start (order is manditory), I get:
    mount: nfsd already mounted or /proc/fs/nfs busy
    mount: according to mtab, nfsd is already mounted on /proc/fs/nfs
    Starting NFSserver daemons:
    /use/sbin/exports -r
    /usr/sbin/rpc.nfsd 8
    /usr/sbin/rpc.mountd
    My man page does not have a "-r" for exports. What does it mean?
    Did I not get NFS stopped?
    Why does /proc/fs/nfs apparently continue to run?
    or
    Did I stop NFS and the commands automatically try to remount?
    A little help please?

  2. #2
    Linux User
    Join Date
    Mar 2008
    Posts
    287
    The approach of /etc/rc.d/rc.nfsd stop is correct and does work when the line is spelled correctly -- too much to do too little sleep

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •