Sponsored Content
Operating Systems Linux Ubuntu [UBUNTU] mount.nfs fails in Ubuntu / Works on Red Hat!!! Post 302445075 by alan on Friday 13th of August 2010 04:26:50 PM
Old 08-13-2010
[UBUNTU] mount.nfs fails in Ubuntu / Works on Red Hat!!!

Gurus,

I want log in locally to my Lucid (10.04) workstation and have my code saved over the network on my samba account

At work, all developers have samba user ids and when we were running Red Hat, we went thru the following procedure to get setup.

* open a shell session to NFS server and execute the “id” command to get my samba user information.

Code:
$> ssh –l alberto our_nfs_server
$> id
uid=7090(alberto) gid=100(users) groups=100(users)

* Create locally a login on my Linux workstation with the same login and uid.

Code:
$>sudo useradd –u 7090 –g 100 –d /home/alberto –s /bin/bash alberto

* Define a password for my created login.
Code:
$>sudo passwd alberto

* Change permissions on the /home/alberto directory. Example:
Code:
$>sudo chown alberto:100 /home/alberto

* Place this line at end of fstab:
Code:
      our_nfs_server:/d0/homedirs/alberto /home/alberto nfs defaults 0 0

* Mount the local directory
Code:
$>sudo mount -a

Code:
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount.nfs: access denied by server while mounting our_nfs_server:/d0/homedirs/alberto

It does not work at all!!?? However, the same procedure on a RedHat workstation works fine. No errors.

We want to move all of our workstations/servers to Ubuntu so any help is welcome.

Thank you!!!

Al.
 

9 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Unusual NFS mount problem on only ONE client: Red Hat WS Rel 3

This is an unusual situation where I have an NFS server currently serving out MULTIPLE clients over several variants of Linux and UNIX successfully (world permissions) except for a SINGLE client. Even the other Linux (SuSE) clients in the same room are mounting successfully with defaults without... (6 Replies)
Discussion started by: neelpert1
6 Replies

2. Ubuntu

make Ubuntu and Red Hat boot partitions

Is it possible to make multiboot partitions of Ubuntu and red hat Linux? (4 Replies)
Discussion started by: sito
4 Replies

3. Ubuntu

WGET in Ubuntu( vistual img ) vs Red Hat

Hi I need to fetch a file using wget command. In read Hat I have the file I need without any problem while in Ubuntu ( installed on a virtual image ) it doesn't work. More precisely my wget need to fetch a page from a web site with secure authentication so teh syntax I am using is wget... (7 Replies)
Discussion started by: manustone
7 Replies

4. Red Hat

"ERROR : failed to mount nfs source" Red Hat Kickstart

Hi There, I have been googling for this error and try solution provided but still not avail to resolve Kickstart Issue. Any expert have encounter this problem? Thanks. Regards, Regmaster (4 Replies)
Discussion started by: regmaster
4 Replies

5. Ubuntu

ufsdump from Solaris to ubuntu fails with bad file descriptor

Hi All I have a dedicated backup server running ubuntu 10.04, which has recently been rebuilt (same OS, just different h/w) This is used to receive ufsdump output from a number of Solaris servers, using the following syntax: ufsdump 1uf :/path/to/backup/file /fs/to/be/backed/up This has... (1 Reply)
Discussion started by: in2deep
1 Replies

6. Shell Programming and Scripting

sed command works on Fedora/Ubuntu, but doesn't work in Mac

Hi, I have a question. I define a function using sed command: replace() { searchterm=$1 replaceterm=$2 sed -e "s/$searchterm/$replaceterm/ig" $3 > $WORK'tempfile.tmp' mv $WORK'tempfile.tmp' $3 } Then I call replace 'test = 0' 'test = 1' $myfileThis code works well in... (1 Reply)
Discussion started by: Dark2Bright
1 Replies

7. Shell Programming and Scripting

sed command works on Fedora/Ubuntu, but doesn't work in Mac

Hi, I have a question. I define a function using sed command: replace() { searchterm=$1 replaceterm=$2 sed -e "s/$searchterm/$replaceterm/ig" $3 > $WORK'tempfile.tmp' mv $WORK'tempfile.tmp' $3 } Then I call replace 'test = 0' 'test = 1' $myfile This code... (1 Reply)
Discussion started by: Dark2Bright
1 Replies

8. Shell Programming and Scripting

Red Hat and Ubuntu shell scripting

Are basic scripts in awk or bash or perl or other shell scripting languages the same in RHEL red hat as ubuntu? (1 Reply)
Discussion started by: cmccabe
1 Replies

9. UNIX for Beginners Questions & Answers

Another one line command where I'd like to determine if Ubuntu or Red Hat when running command

Hello Forum, I'm making very good progress on my report thanks to the very helpful people on this forum. I've been able to successfully create my report for my Red Hat servers. But I do have a few ubuntu servers in the mix and I'd like to capture some data from them when an ssh connection is... (8 Replies)
Discussion started by: greavette
8 Replies
RHN_CHECK(8)							   Red Hat, Inc.						      RHN_CHECK(8)

NAME
rhn_check - Check for and execute queued actions on RHN. SYNOPSIS
rhn_check [options] DESCRIPTION
rhn_check is a client program that connects to Red Hat Network (or a Red Hat Network Satellite) and receives queued actions for this par- ticular system. After receiving the actions, rhn_check will then process them, and return the results to Red Hat Network. OPTIONS
-v, --verbose Increase the debugging output. --proxy=PROXY Specify an http proxy to use. --proxyUser=PROXYUSER Specify a username to use for an authenticated proxy. This option must be used in conjunction with proxyPassword. --proxyPassword=PROXYPASSWORD Specify a password to use for an authenticated proxy. This option must be used in conjunction with proxyUser. --version Show the program's version number and exit. -h, --help Show a help message and exit. FILES
/etc/sysconfig/rhn/systemid The digital server ID for this machine if the system has been registered onto Red Hat Network. This file does not exist otherwise. /etc/sysconfig/rhn/up2date The common configuration file used by RHN client programs. SEE ALSO
rhn_register(8), rhnreg_ks(8), rhnsd(8), rhn-profile-sync(8), rhnplugin(8), up2date(5). AUTHORS
See the AUTHORS file included with this software. This manual page was written by James Bowes <jbowes@redhat.com> BUGS
Report bugs to <http://bugzilla.redhat.com>. COPYRIGHT
Copyright (C) 1999-2010 Red Hat, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU- LAR PURPOSE. Linux 2010 August 30 RHN_CHECK(8)
All times are GMT -4. The time now is 06:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy