LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-05-2012, 07:51 AM   #16
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221

Quote:
Originally Posted by dorlack View Post
[jweath02@cs ~]$ ls -l / | grep mnt
drwxr-xr-x. 3 root root 4096 Jan 3 21:29 mnt
[jweath02@cs ~]$ ls -l /mnt
total 1
drwx------. 2 4294967294 4294967294 64 Jan 4 08:43 tmp
[jweath02@cs ~]$
you were getting permission denied may be because of the permission.

I don't understand the owner of this tmp directory but you can try changing th ownership and permission and give a try to mounting

Code:
#chown root:root /mnt/tmp
#chmod 777 /mnt/tmp
 
Old 01-05-2012, 08:05 AM   #17
dorlack
Member
 
Registered: Oct 2009
Location: Cambridge MA
Distribution: Any Linux
Posts: 122

Original Poster
Rep: Reputation: 2
The NFS server us running on a Windows machine...
 
Old 01-05-2012, 08:06 AM   #18
dorlack
Member
 
Registered: Oct 2009
Location: Cambridge MA
Distribution: Any Linux
Posts: 122

Original Poster
Rep: Reputation: 2
[root@cs /]# iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
ACCEPT icmp -- anywhere anywhere
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:ssh
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target prot opt source destination
REJECT all -- anywhere anywhere reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target prot opt source destination



IP tables on the client is posted above.

No firewall config, this is a fresh install of RHEL 6.2 WS
 
Old 01-05-2012, 08:09 AM   #19
dorlack
Member
 
Registered: Oct 2009
Location: Cambridge MA
Distribution: Any Linux
Posts: 122

Original Poster
Rep: Reputation: 2
[root@cs /]# chown root:root /mnt/tmp
chown: changing ownership of `/mnt/tmp': Permission denied
[root@cs /]# chmod 777 /mnt/tmp
chmod: changing permissions of `/mnt/tmp': Permission denied
[root@cs /]#
 
Old 01-05-2012, 08:11 AM   #20
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Never worked with NFS server on windows

check the firewall on windows and on your linux machine
 
Old 01-05-2012, 08:14 AM   #21
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
stop the firewall and try mounting

Code:
#service iptables stop
 
Old 01-05-2012, 08:19 AM   #22
dorlack
Member
 
Registered: Oct 2009
Location: Cambridge MA
Distribution: Any Linux
Posts: 122

Original Poster
Rep: Reputation: 2
[root@cs /]# service iptables stop
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
[root@cs /]# mount -t nfs 10.67.36.34:/RF7800N_NFS? /NFS
mount.nfs: access denied by server while mounting (null)
[root@cs /]# mount -t nfs 10.67.36.34:/RF7800N_NFS /NFS
mount.nfs: access denied by server while mounting (null)
[root@cs /]# mount -t nfs 10.67.36.34:/RF7800N_NFS /NFS
mount.nfs: access denied by server while mounting (null)
 
Old 01-05-2012, 08:23 AM   #23
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,194
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
Quote:
Originally Posted by dorlack View Post
[root@cs /]# service iptables stop
iptables: Flushing firewall rules: [ OK ]
iptables: Setting chains to policy ACCEPT: filter [ OK ]
iptables: Unloading modules: [ OK ]
[root@cs /]# mount -t nfs 10.67.36.34:/RF7800N_NFS? /NFS
mount.nfs: access denied by server while mounting (null)
[root@cs /]# mount -t nfs 10.67.36.34:/RF7800N_NFS /NFS
mount.nfs: access denied by server while mounting (null)
[root@cs /]# mount -t nfs 10.67.36.34:/RF7800N_NFS /NFS
mount.nfs: access denied by server while mounting (null)
you are using different names while mounting?

you said the server is on windows?
I don't think I would be able to help with windows stuff but here are some links might be helpful

http://social.technet.microsoft.com/...-f4bf40de9c8d/

http://support.microsoft.com/kb/324089
 
Old 01-05-2012, 08:31 AM   #24
dorlack
Member
 
Registered: Oct 2009
Location: Cambridge MA
Distribution: Any Linux
Posts: 122

Original Poster
Rep: Reputation: 2
I was sent /RF7800N_NFS?, I was trying it without ? just in case. My goal is to rule out the linux box and point the issue back to the Windows server.
 
Old 01-05-2012, 10:00 AM   #25
dorlack
Member
 
Registered: Oct 2009
Location: Cambridge MA
Distribution: Any Linux
Posts: 122

Original Poster
Rep: Reputation: 2
So any reason why I am unable to get to /mnt/tmp ?

**Permission denied**

This is on client end, correct.
 
Old 01-05-2012, 10:15 AM   #26
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Hey, make new account with uid = 4294967294 in linux box
 
Old 01-05-2012, 11:28 AM   #27
dorlack
Member
 
Registered: Oct 2009
Location: Cambridge MA
Distribution: Any Linux
Posts: 122

Original Poster
Rep: Reputation: 2
???
 
Old 01-05-2012, 11:40 AM   #28
kbscores
Member
 
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Blog Entries: 9

Rep: Reputation: 32
Couple of things -

From looks of it NFS is linux mount point correct? make sure before mounting to do a chmod 777 on that directory. Ultimately filesharing permissions will be handled else where so having it open doesn't matter.

Second - if you are able to mount device than odds are there is a UID/GID issue on windows side. Even though it says device is open to everyone the mount itself is controlled by UID/GID on windows side. So if you keep getting permission denied check permissions on both folder AND verify UID 0 has permission to access device FROM WINDOWS side.
 
Old 01-05-2012, 11:58 AM   #29
dorlack
Member
 
Registered: Oct 2009
Location: Cambridge MA
Distribution: Any Linux
Posts: 122

Original Poster
Rep: Reputation: 2
This is what was given to me.

rfcafs24/RF7800N_NFS?

Server name and mount.

Perhaps I mixed something up?
 
Old 01-05-2012, 12:01 PM   #30
dorlack
Member
 
Registered: Oct 2009
Location: Cambridge MA
Distribution: Any Linux
Posts: 122

Original Poster
Rep: Reputation: 2
Also I am getting permission denied when trying to run chmod 777 on mnt/tmp and /NFS
 
  


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
how to mount a nfs mount from linux client to AIX nfs server dennyqian AIX 13 04-11-2016 11:30 PM
[SOLVED] NFS mount fails (times out): NFS server is in DMZ, NFS client is in intranet Hiroshi Linux - Networking 2 05-24-2010 10:22 AM
[SOLVED] mount.nfs: mount to NFS server 'rpcbind' failed w1k0 Slackware 4 03-30-2010 03:45 PM
mount.nfs: mount to NFS server 'jesse' failed: timed out, retrying keupie Linux - Networking 3 06-05-2009 07:03 PM
NFS mount mount.nfs: access denied by server while mounting knockout_artist Linux - Newbie 2 11-26-2008 02:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:10 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration