Re: NFS fails to start

Jim Kinney <[email protected]>
Newsgroups gmane.linux.redhat.k12osn
Message-ID <CAEo=5PzTF1rBkNHvQQhMFGUv8efKb0yqWQsiw=YKsrgANXDfAg@mail.gmail.com>
check contents of /etc/auto.misc for /opt/ltsp. Comment it out if found

In fact do a:

grep -R ltsp /etc/*

and see where ltsp is referenced.

Also do a

lsmod | grep nfs

and make sure the you get something like:
nfsd                  274672  13
auth_rpcgss            48594  1 nfsd
nfs_acl                12741  1 nfsd
lockd                  93540  1 nfsd
sunrpc                256499  29 nfsd,auth_rpcgss,lockd,nfs_acl


If no nfsd, then BINGO! Just run modprobe nfsd and service nfsd restart




On Wed, May 1, 2013 at 7:47 PM, Kenneth Lundström <
[email protected]> wrote:

> Hi,
>
> the problem is not the /home folders, that works fine. The /etc/exports I
> have shown is on the new server, the clients can't mount the /opt/ltsp and
> can't boot at all, anymore.
>
>
> Kenneth
>
>
>  -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> I think you might be looking in the wrong place. An ltsp server exports
>> NFS to the thin clients so they can boot their OS. If you want to export
>> /home from your old server, you will need to set it up and make sure the
>> new server is mounting it. To me it looks like you aren't even exporting
>> /home. If you want to authenticate from the old server as well (so you
>> won't have to add all your users to the new system again, you need to have
>> it using NIS or LDAP or samba, and set the new server to authenticate users
>> from there, assuming they aren't local (to the server) users (like root).
>>
>> On May 1, 2013, at 1:10 PM, Kenneth Lundström wrote:
>>
>>  Hello LTSP users,
>>>
>>> a couple of months before Christmas I installed a couple of LTSP
>>> servers. One was commissioned before Christmas and is working great. The
>>> second I delivered to another place a couple of weeks ago, finally. This
>>> site already have one LTSP from before and I was planing on replacing it.
>>> Using it as an fileserver for homes folders.
>>>
>>> I setup it up and clients find it and they work. Then I proceed to mount
>>> the home folder via NFS and get them mounted. I leave the place and next
>>> they I get an call that they can't login anymore. I try to find the error
>>> via SSH but can't. So I switch back to using the old server again.
>>>
>>> Now I come so far that I know that NFS doesn't start for some strange
>>> reason. If I do a /etc/init.d/nfs restart I get an error saying:
>>>
>>> exportfs: /opt/ltsp does not support NFS export
>>>
>>> I tried googling it but couldn't find anything that would work for me.
>>>
>>> Any ideas where to start searching. I think it has something to do with
>>> me setting up the homes folder mounting.
>>>
>>>
>>> Kenneth
>>>
>>>
>>> ______________________________**_________________
>>> K12OSN mailing list
>>> [email protected]
>>> https://www.redhat.com/**mailman/listinfo/k12osn<https://www.redhat.com/mailman/listinfo/k12osn>
>>> For more info see <http://www.k12os.org>
>>>
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
>> Comment: GPGTools - http://gpgtools.org
>>
>> iEYEARECAAYFAlGBpV4ACgkQxWV7OP**a/g5F4HQCfQkLPEg6qfF/**jdDMDeW0d5nIu
>> mmYAn3GO5doKLNuuMWqgIUMbkkbEQn**uw
>> =jV6F
>> -----END PGP SIGNATURE-----
>>
>> ______________________________**_________________
>> K12OSN mailing list
>> [email protected]
>> https://www.redhat.com/**mailman/listinfo/k12osn<https://www.redhat.com/mailman/listinfo/k12osn>
>> For more info see <http://www.k12os.org>
>>
>
>
> ______________________________**_________________
> K12OSN mailing list
> [email protected]
> https://www.redhat.com/**mailman/listinfo/k12osn<https://www.redhat.com/mailman/listinfo/k12osn>
> For more info see <http://www.k12os.org>
>



-- 
-- 
James P. Kinney III
*
*Every time you stop a school, you will have to build a jail. What you gain
at one end you lose at the other. It's like feeding a dog on his own tail.
It won't fatten the dog.
- Speech 11/23/1900 Mark Twain
*
http://electjimkinney.org
http://heretothereideas.blogspot.com/
*

_______________________________________________
K12OSN mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.