LinHES Forums http://forums.linhes.org/ |
|
[SOLVED]cant get NFS to work between backend/frontend http://forums.linhes.org/viewtopic.php?f=21&t=22084 |
Page 1 of 1 |
Author: | goonzo [ Thu Apr 07, 2011 3:01 pm ] |
Post subject: | [SOLVED]cant get NFS to work between backend/frontend |
I installed the NFS packages according to https://wiki.archlinux.org/index.php/Nfs but when trying to start portmap i get the following results. (i first tried installing rpcbind but it wasnt found so i continued with portmap instead. does it matter?) Code: [root@linhesserver ~]# /etc/rc.d/portmap start
:: Starting Portmap [FAIL] [root@linhesserver ~]# and of course when trying to start nfslock and nfsd it complains that portmap is not started. Am I missing something? using linhes 6.04.00 |
Author: | nbdwt73 [ Thu Apr 07, 2011 7:49 pm ] |
Post subject: | |
Have you added the services yet? $ sudo add_service.sh nfsd $ sudo add_service.sh nfslock $ sudo add_service.sh netfs (this one may be there already) Then you have to set your /etc/exports correctly (per wiki) and then: sudo exportfs –r -v Make sure you restart NFS (/etc/rc.d/nfsd restart) Then run: rpcinfo -p (IP_ADDRESS) to confirm nfs is running Should see something like: program vers proto port 100000 2 tcp 111 portmapper 100000 2 udp 111 portmapper 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100003 4 udp 2049 nfs 100021 1 udp 43151 nlockmgr 100021 3 udp 43151 nlockmgr 100021 4 udp 43151 nlockmgr 100021 1 tcp 56351 nlockmgr 100021 3 tcp 56351 nlockmgr 100021 4 tcp 56351 nlockmgr 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100003 4 tcp 2049 nfs 100005 1 udp 52063 mountd 100005 1 tcp 58820 mountd 100005 2 udp 52063 mountd 100005 2 tcp 58820 mountd 100005 3 udp 52063 mountd 100005 3 tcp 58820 mountd 100024 1 udp 59162 status 100024 1 tcp 52195 status |
Author: | goonzo [ Thu Apr 07, 2011 9:09 pm ] |
Post subject: | |
i ran the add_service scripts Code: $ sudo add_service.sh nfsd $ sudo add_service.sh nfslock $ sudo add_service.sh netfs and added the three daemons in /etc/rc.conf Code: DAEMONS=(fbsplash !syslog-ng !hotplug !pcmcia network !mysqld !dbus !avahi-daemon portmap nfslock nfsd)
and after a restart i was able to reach the exports from my frontend. thanx! |
Author: | goonzo [ Thu Apr 07, 2011 9:33 pm ] |
Post subject: | |
had a similar problem with samba that it didnt start at boot even though I added it to the DAEMON list. but after running add_service.sh smbd it did start during boot! ![]() |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |