Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #61  
Old 14th September 2006, 07:14 AM
yjiang Offline
Registered User
 
Join Date: Apr 2006
Posts: 31
thanks, that explains why my nfs didn't work after i restart the computer.
Reply With Quote
  #62  
Old 14th September 2006, 08:13 PM
Dubious Dave Offline
Registered User
 
Join Date: Feb 2006
Location: Tampa, Fl. USA
Posts: 323
Inthai2002,... could you provide more detail on the changes required. I'm not that good with this stuff yet. Thanks.
__________________
The only thing more dangerous than action without thought is thought without action.
Reply With Quote
  #63  
Old 26th September 2006, 07:23 PM
lnthai2002 Offline
Registered User
 
Join Date: Mar 2005
Posts: 81
open terminal, login as root, type
system-config-nfs
click on server settings and type the ports you want to use for mountd,fslock, stat. The ports i am using are: 4003(TCP and UDP) for mountd, 4000 (tcp) for statd, 4001(tcp and udp) for fslock. then click OK
THEN use system-config-security to open these ports a bove.
On fedora 5, using port 4002 for mountd is not stable because after a while, iptable automatically close port 4002(unknow reason, but on my system, everytime i reboot, port 4002 is closed)
Reply With Quote
  #64  
Old 5th October 2006, 01:00 AM
newmab Offline
Registered User
 
Join Date: Oct 2006
Posts: 12
Hello everyone,
I've enjoyed following your posts about setting up nfs server. So I thought I would give it a shot.
Everything works great, mounts up, then when I go to navigate the mounted directory the server locks up tight.
Can't even switch to a new terminal to login and reboot.

Any help would be greatly appreciated!!
Reply With Quote
  #65  
Old 5th October 2006, 09:35 AM
mhelal Offline
Registered User
 
Join Date: Jul 2006
Posts: 25
Hi

on the server, after running exportfs, I am getting :

bash: exportfs: command not found

and if I skip that, on the client, I get:

mount: mount to NFS server 'ip address xxx' failed: System Error: Connection refused.

Thank you for your help,

Manal
Reply With Quote
  #66  
Old 5th October 2006, 12:44 PM
Dubious Dave Offline
Registered User
 
Join Date: Feb 2006
Location: Tampa, Fl. USA
Posts: 323
newmab, Don't know what your problem is, maybe someone else can help there. You might try providing more detail.

mhelal, Typically, a 'command not found' error is because the path to the command file location does not have correct relative position. In other words, you need to be logged in as root and with root's path environment setup properly. Try logging in to root with 'su -' .
__________________
The only thing more dangerous than action without thought is thought without action.
Reply With Quote
  #67  
Old 5th October 2006, 06:12 PM
yjiang Offline
Registered User
 
Join Date: Apr 2006
Posts: 31
either run /usr/sbin/exportfs or reboot
try to mount again, see what happen
Reply With Quote
  #68  
Old 5th October 2006, 09:36 PM
lnthai2002 Offline
Registered User
 
Join Date: Mar 2005
Posts: 81
Quote:
Originally Posted by newmab
Hello everyone,
I've enjoyed following your posts about setting up nfs server. So I thought I would give it a shot.
Everything works great, mounts up, then when I go to navigate the mounted directory the server locks up tight.
Can't even switch to a new terminal to login and reboot.

Any help would be greatly appreciated!!
Can you give more detail?
From client or server you access the share directory so that the server locks up? What directory are you sharing? What permission do you have on the share? Do you use NFS with any directory service?
I use LDAP with NFS and the mount directory is /home on server. So far i can login to client and server at the same time BUT, on the client any user managed by LDAP doesn not have his/her destop function properly. After login, i see a backgound image and that's it, no taskbar. nothing. If you have the same problem like me then let's hope someone else found a solution
Reply With Quote
  #69  
Old 5th October 2006, 11:51 PM
newmab Offline
Registered User
 
Join Date: Oct 2006
Posts: 12
When I access the share directory "/home/backup" on the server from the client the server locks up.
No keyboard no mouse. I've made sure to give the shared directory 777 permission as well as the directory I mount it with on the client. If that makes any sense. After a little research in some other threads I found that someone having the same problem reverted back to an older kernel and had no more problems. I believe they were running with 2.6.17-1.2187_FC5 kernel from Fedora updates. The same kernel I am running. So I think I will try the same thing.
It also mentioned making sure you update all Xorg files. Hope that helps!

Last edited by newmab; 6th October 2006 at 02:39 AM.
Reply With Quote
  #70  
Old 6th October 2006, 02:44 AM
newmab Offline
Registered User
 
Join Date: Oct 2006
Posts: 12
Well so far so good. I went back to 2.6.17-1.2145_FC5 kernel and no problems as of yet.
I also am using the nvidia kernel module from the livna repository. So I had to fall back on the proper module for that kernel also.
Reply With Quote
  #71  
Old 17th October 2006, 07:26 AM
mhelal Offline
Registered User
 
Join Date: Jul 2006
Posts: 25
I took a long break sorry.
I followed the steps, and solved the path problem I had before, and when I reboot, I get this message, and then the mounting fails,

Starting NFS quotas: Cannot register service: RPC: Unable to receive; errno = Connection refused
rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp).
[FAILED]

I appreciate your help,

thanks,

Manal
Reply With Quote
  #72  
Old 16th November 2006, 04:53 PM
nlkrio's Avatar
nlkrio Offline
Registered User
 
Join Date: Jun 2005
Location: Athens-Greece
Posts: 1,331
I have two desktop pcs,one running fc4 and the other fc5.Each of them has one network card.
I have a adsl connection (modem/router speedtouch 530) then a 3com five port switch and then connected to each pc lan in order both of them have internet connection.I want to use NFS.
Do i need to buy other two network cards and a crossover cable or I just have to follow the steps from this how to?
Thanks a lot
__________________
Drink more beer but never drive !!!
:) :p :eek:
Reply With Quote
  #73  
Old 17th November 2006, 09:06 AM
dmizer Offline
Registered User
 
Join Date: Jun 2006
Posts: 41
i can't get this one sorted.

fc5 server and debian client. my debian client can use NFS to connect to my ubuntu server with no problems, but when i try to browse the fc5 shares, i always get "permission denied"

Code:
$ rpcinfo -p 10.2.2.2
   program vers proto   port
    100000    2   tcp    111  portmapper
    100000    2   udp    111  portmapper
    100024    1   udp  32768  status
    100024    1   tcp  38712  status
    100011    1   udp    904  rquotad
    100011    2   udp    904  rquotad
    100011    1   tcp    907  rquotad
    100011    2   tcp    907  rquotad
    100003    2   udp   2049  nfs
    100003    3   udp   2049  nfs
    100003    4   udp   2049  nfs
    100003    2   tcp   2049  nfs
    100003    3   tcp   2049  nfs
    100003    4   tcp   2049  nfs
    100021    1   udp  32770  nlockmgr
    100021    3   udp  32770  nlockmgr
    100021    4   udp  32770  nlockmgr
    100021    1   tcp  54069  nlockmgr
    100021    3   tcp  54069  nlockmgr
    100021    4   tcp  54069  nlockmgr
    100005    1   udp    928  mountd
    100005    1   tcp    931  mountd
    100005    2   udp    928  mountd
    100005    2   tcp    931  mountd
    100005    3   udp    928  mountd
    100005    3   tcp    931  mountd
i've made sure that the mount directory has been chmoded to 777, and the mount doesn't fail:
Code:
$ sudo ls /media/honshu
Backup              howto.rtf     mnt           phone numbers.txt
Desktop             ifsig.txt     P3170001.jpg  pics
essential-20060611  ifsig.txt~    P3170002.jpg  Public
fmmike              index.html    P3170003.jpg  from windows
index.html~         P8040075.JPG  vmware        japanese.txt
P8130031.JPG        work
i simply can't access any of the files with normal user permissions so when i open with nautilus, i get a permission denied message.

i have both iptables and selinux disabled on the server because the server does not have any access to the wan.

i've commented out the /etc/hosts.deny file, and manually added the /var/lib/nfs/v4recovery directory as per the posts in this thread.

my hosts.allow is set for one ip only, and my /etc/exports reads as follows:
Code:
/home/dmizer                            10.2.2.1(rw,async,no_root_squash)
i'm running the 2.6.18-1.2200.fc5 kernel

what'd i miss?

Last edited by dmizer; 17th November 2006 at 12:34 PM.
Reply With Quote
  #74  
Old 18th November 2006, 12:25 AM
Nels664868's Avatar
Nels664868 Offline
Registered User
 
Join Date: May 2005
Location: Greensboro, NC
Age: 52
Posts: 149
@dmizer
hosts.allow should be
Code:
ALL:LOCAL
ALL:10.2.2/24
host.deny
Code:
ALL:ALL
you missed /etc/exports
Code:
/home/dmizer                            10.2.2.1(rw,async,no_root_squash)
after editing these files type
Code:
exportfs -a
if you edit your /etc/hosts file then the computers on your network can be called by name ie...
Code:
10.2.2.1  dmized.computer dmized
@nlkrio

the equment you have is good


nels
__________________
AMD64 2800+, nForce3 250, 768M, FC6
AMD XP2000+,Via K400, 512M, FC6
Pegasos II, G4 1.0Ghz, 512M, 7x boot Morphos1.4.5/Debian 5.1/YD 4.01/FC6/FC10/Ubuntu9.4/Freevo
AMD Athlon 1.0Ghz, GA 7ZM, 512M, FC6
PowerMac QuickSilver, G4 733Mhz, 768M, OSX 10.4, FC6
Reply With Quote
  #75  
Old 19th November 2006, 01:20 PM
nlkrio's Avatar
nlkrio Offline
Registered User
 
Join Date: Jun 2005
Location: Athens-Greece
Posts: 1,331
Thanks Nels664868,and I have another question my router uses 10.0.0.138,my pc1 should be 10.0.0.1 and pc2 10.0.0.2 and mask ?
__________________
Drink more beer but never drive !!!
:) :p :eek:
Reply With Quote
Reply

Tags
fc5, nfs, setup, shares

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Dvico Fusion HDTV initial setup and Mythtv Setup holden-nut Using Fedora 3 18th November 2006 05:33 AM
Can't see shares in win xp box newusermike Servers & Networking 5 12th June 2006 09:57 PM
Windows shares visible in Linux but Linux shares not visible in Windows (argh!) CitizenAim Servers & Networking 4 24th May 2005 09:18 PM
Setup scripts to map the Windows shares to Linux mvelasco2 Servers & Networking 1 21st April 2005 08:16 AM


Current GMT-time: 16:24 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat