LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-26-2006, 11:18 AM   #1
poctob
LQ Newbie
 
Registered: Feb 2006
Location: USA
Posts: 10

Rep: Reputation: 0
NFS/Network issue


Hi, I got an issue with NFS shares after latest upgrade :
I have two PCs that both run Ubuntu Breezy
192.168.1.102 Server
192.168.1.106 Client
One is NFS sever with two shares
here is a /etc/exports:

#/etc/exports: the access control list for filesystems which may be exported
# to NFS clients. See exports(5).
/home/alex/ 192.168.1.106(rw,sync)

/usr/backups/ 192.168.1.106(rw,sync)

Both shares have same owner and permissions, I can mount first share just fine on the client machine, second share I get:
mount 192.168.1.102:/usr/backups/ failed, reason given by server: Permission denied

Even more I can not ping my client from the server, I get destination host unreachable error. I cannot ssh into client from server with the same error, but I can ssh into server from the client, then while still logged in through ssh I can ping and ssh back into the client with no problems. Still can't mount second share though. Also I have an XP box that pings both ways with client and server without any issues. Any takers?
 
Old 02-26-2006, 12:20 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 65
What is the permissions on /usr/backups?
Make them the same as /home/alex. Do something like this.
chown -R alex /usr/backups
ghgrp -R alex /usr/backups

and if needed

chown -R 777 /usr/backups

Restart nfs service after changes.

Brian1
 
Old 02-26-2006, 02:24 PM   #3
poctob
LQ Newbie
 
Registered: Feb 2006
Location: USA
Posts: 10

Original Poster
Rep: Reputation: 0
All permissions and owners are exactly the same.
 
Old 02-26-2006, 02:58 PM   #4
poctob
LQ Newbie
 
Registered: Feb 2006
Location: USA
Posts: 10

Original Poster
Rep: Reputation: 0
Problem solved! This might sound weird, but on the client pc I have a wireless interface that was picking up neighbors wireless router which assigned it the same address as my server (192.168.1.102). When I mounted first nfs share it mounted /home/alex which is the same on the client and server, since client doesn't have second share I was getting permission denied. What strange that even after I disabled my wireless card, ifconfig was showing ip address of 192.168.1.106 but everything else was still mapping into 192.168.1.102. So when I tried to connect via ssh I connected back to the same PC.
 
  


Reply



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 automount issue after reboot chickie Linux - Enterprise 2 01-10-2006 03:37 PM
Xandros mount point for Windows Network & NFS Network jaagut Linux - Distributions 1 09-14-2005 07:21 AM
NFS Connection Issue gamradtk Linux - Networking 0 09-10-2005 11:19 AM
Nautilis NFS write issue roy4lty Fedora 0 12-22-2004 08:56 PM
nfs and smbfs issue iquadri1 Linux - Networking 3 09-07-2001 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:05 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