Re: NFS fails to start

Kenneth Lundström <[email protected]>
Newsgroups gmane.linux.redhat.k12osn
Message-ID <[email protected]>
Hmmm, I'm running CentOS 6.4 on the server. I thought I was using 6.3 
but maybe one thing I did at some stage was a yum upgrade. The other 
server is running 6.3. Could this maybe be the problem?

Client boot on Scientific.


Kenneth

> Hmm. what version OS are you running? CentOS/ScientificLinux/RHEL 5 or 6?
>
> 'chkconfig nfs on' will run nfs at bootup.
>
>
> On Wed, May 1, 2013 at 4:29 PM, Kenneth Lundström 
> <[email protected] <mailto:[email protected]>> wrote:
>
>     Hi,
>
>     changed and no change :=) I even rebooted the server but no luck.
>     The strange thing is that NFS is not set to be automatically
>     started. So I guess something I have installed on the server has
>     turned of NFS and somehow makes NFS not to work.
>
>     I even tried to compare with the other working server but no luck.
>
>
>     Kenneth
>
>>     change:
>>
>>     # Turn off v4 protocol support
>>     #RPCNFSDARGS="-N 4"
>>
>>
>>     to:
>>
>>     # Turn off v4 protocol support
>>     RPCNFSDARGS="-N 4"
>>
>>     to disable NFSv4
>>
>>
>>
>>     On Wed, May 1, 2013 at 3:27 PM, Kenneth Lundström
>>     <[email protected]
>>     <mailto:[email protected]>> wrote:
>>
>>         Hi,
>>
>>         when I look at the /etc/sysconfig/nfs all rows are commented
>>         out.
>>
>>         Any other way of finding out what version is in use?
>>
>>
>>         Kenneth
>>
>>>         OK. Look in /etc/sysconfig/nfs and see what version of NFS
>>>         is being used. If NFSv4 is on, your /etc/exports is wrong.
>>>         Change settings to use NFSv3 in that location and restart nfs.
>>>
>>>
>>>         On Wed, May 1, 2013 at 2:36 PM, Kenneth Lundström
>>>         <[email protected]
>>>         <mailto:[email protected]>> wrote:
>>>
>>>             Hi,
>>>
>>>             /etc/exports:
>>>             /opt/ltsp *(ro,async,no_root_squash)
>>>
>>>             getenforce: Disabled
>>>
>>>
>>>             Kenneth
>>>
>>>>             please publish the /etc/exports file on the broken
>>>>             server as well as the output of getenforce
>>>>
>>>>
>>>>             On Wed, May 1, 2013 at 2:10 PM, Kenneth Lundström
>>>>             <[email protected]
>>>>             <mailto:[email protected]>> 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] <mailto:[email protected]>
>>>>                 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]  <mailto:[email protected]>
>>>>             https://www.redhat.com/mailman/listinfo/k12osn
>>>>             For more info see<http://www.k12os.org>  <http://www.k12os.org>
>>>
>>>
>>>             _______________________________________________
>>>             K12OSN mailing list
>>>             [email protected] <mailto:[email protected]>
>>>             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]  <mailto:[email protected]>
>>>         https://www.redhat.com/mailman/listinfo/k12osn
>>>         For more info see<http://www.k12os.org>  <http://www.k12os.org>
>>
>>
>>         _______________________________________________
>>         K12OSN mailing list
>>         [email protected] <mailto:[email protected]>
>>         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]  <mailto:[email protected]>
>>     https://www.redhat.com/mailman/listinfo/k12osn
>>     For more info see<http://www.k12os.org>  <http://www.k12os.org>
>
>
>     _______________________________________________
>     K12OSN mailing list
>     [email protected] <mailto:[email protected]>
>     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>

_______________________________________________
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.