Page 44 of 53 FirstFirst ... 344243444546 ... LastLast
Results 431 to 440 of 521

Thread: HOWTO: NFS Server/Client

  1. #431
    Join Date
    Feb 2010
    Beans
    9

    Re: HOWTO: NFS Server/Client

    What is UID and GID ?
    I'll try to find information about it and post feedback here.

  2. #432
    Join Date
    Jun 2006
    Location
    Victoria, BC Canada
    Beans
    93
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: NFS Server/Client

    Thanks to all for this great How-To and all the resposes but I need a bit more help ...

    All was going well until I tried to restart portmapper:
    Code:
    ~$ sudo /etc/init.d/portmap restart
    Rather than invoking init scripts through /etc/init.d, use the service(8)
    utility, e.g. service portmap restart
    
    Since the script you are attempting to invoke has been converted to an
    Upstart job, you may also use the restart(8) utility, e.g. restart portmap
    portmap start/running, process 4632
    Can someone please explain this to me? What do I need to do to restart the portmapper without having to reboot my machine?

  3. #433
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,280
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: HOWTO: NFS Server/Client

    Quote Originally Posted by mfdc1969 View Post
    Thanks to all for this great How-To and all the resposes but I need a bit more help ...

    All was going well until I tried to restart portmapper:
    Code:
    ~$ sudo /etc/init.d/portmap restart
    Rather than invoking init scripts through /etc/init.d, use the service(8)
    utility, e.g. service portmap restart
    
    Since the script you are attempting to invoke has been converted to an
    Upstart job, you may also use the restart(8) utility, e.g. restart portmap
    portmap start/running, process 4632
    Can someone please explain this to me? What do I need to do to restart the portmapper without having to reboot my machine?
    many times the terminal will tell you what to do or at least hint at what to do. in this case, if you would have fully read the message and took time to TRY to understand it and you would have known what to do. the line that's critical is this one from your terminal output,

    "Rather than invoking init scripts through /etc/init.d, use the service(8) utility, e.g. service portmap restart"

    so from reading the example it gave you, you would run:
    Code:
    sudo service portmap restart

  4. #434
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,280
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: HOWTO: NFS Server/Client

    UID = User ID number (the users identification number on that system)

    GID = Group ID number (the groups identification number on that system)

    most ubuntu installs that I have seen, the first user account created in UID and GID = 1000

    here's a great article on how different UID and GID's can cause havoc.

    http://lists.debian.org/debian-user/.../msg00131.html

  5. #435
    Join Date
    Jun 2006
    Location
    Victoria, BC Canada
    Beans
    93
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: NFS Server/Client

    Thanks.

  6. #436
    Join Date
    Feb 2010
    Beans
    9

    Re: HOWTO: NFS Server/Client

    Doing
    chmod 777 /volume1/ -R
    solved all my problems.

  7. #437
    Join Date
    May 2006
    Location
    Milwaukee,WI
    Beans
    6,280
    Distro
    Xubuntu 14.04 Trusty Tahr

    Re: HOWTO: NFS Server/Client

    Quote Originally Posted by red71 View Post
    Doing
    chmod 777 /volume1/ -R
    solved all my problems.
    sure, making an entire volume and everything in it recursively read, write, and executable for the owner, the group, AND EVERYONE would solve any issues you were having. Very insecure.

  8. #438
    Join Date
    Feb 2010
    Beans
    9

    Re: HOWTO: NFS Server/Client

    What would be a better solution ?

  9. #439
    Join Date
    Apr 2008
    Location
    NC
    Beans
    144
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HOWTO: NFS Server/Client

    If you google what each of the digits stands for, there's different levels of security.

    The first 7 represents rw to the owner
    the second 7 reprents rw to the group
    the third 7 represents rw to everyone else..

    Try something like 755, that will add a bit more security to your files and how they can be controlled.

  10. #440
    Join Date
    Apr 2010
    Beans
    2

    Re: HOWTO: NFS Server/Client

    I'm trying to make this work on ec2. Every thing seems to be working per the instructions, except for the strange "sudo /etc/init.d/nfs-common restart" instruction.

    However when I try to actual run the mount I get this:

    > sudo mount 10.243.63.192:/gfx /gfx
    mount.nfs: mount system call failed
    Exit 32

    In the logs I see:

    kernel: [ 2603.445904] RPC: Registered udp transport module.
    kernel: [ 2603.445907] RPC: Registered tcp transport module.
    kernel: [ 2663.528428] rpcbind: server 10.243.63.192 not responding, timed out

    I don't know what could be blocking the comunication. Any ideas?

    Thanks

Page 44 of 53 FirstFirst ... 344243444546 ... LastLast

Bookmarks

Posting Permissions

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