<div dir="ltr"><div><div><div><div><div><div>OK. time to pull a final test run before I pull out my hair.<br><br></div><div>Open two terminal sessions on the server<br></div><div><br></div>on terminal one run:<br>setenforce 0<br>
</div><div>tail -f /var/log/messages /var/log/secure<br></div><div><br></div><div>on terminal 2 run:<br></div><div>echo "BEGIN TEST HERE" >> /var/log/messages<br></div>service nfs stop<br></div>service nfs start<br>
</div>exportfs<br></div>nfsstat<br><br></div>Once you run the echo on terminal2 you should see the tail update. post what you see back here after the echo, please as well and anything from the later commands (especially the nfsstat).<br>
<div><div><br><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 1, 2013 at 4:48 PM, Kenneth Lundström <span dir="ltr"><<a href="mailto:kenneth.lundstrom@nudata.fi" target="_blank">kenneth.lundstrom@nudata.fi</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>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?<br>
<br>
Client boot on Scientific.<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
Kenneth<br>
<br>
</font></span></div><div><div class="h5">
<blockquote type="cite">
<div dir="ltr">
<div>Hmm. what version OS are you running?
CentOS/ScientificLinux/RHEL 5 or 6?<br>
<br>
</div>
'chkconfig nfs on' will run nfs at bootup.<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
On Wed, May 1, 2013 at 4:29 PM, Kenneth Lundström <span dir="ltr"><<a href="mailto:kenneth.lundstrom@nudata.fi" target="_blank">kenneth.lundstrom@nudata.fi</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hi,<br>
<br>
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. <br>
<br>
I even tried to compare with the other working server
but no luck. <br>
<span><font color="#888888"> <br>
<br>
Kenneth<br>
<br>
</font></span></div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">
<div>
<div>change:<br>
<br>
# Turn off v4 protocol support<br>
#RPCNFSDARGS="-N 4"<br>
<br>
<br>
</div>
to:<br>
<br>
# Turn off v4 protocol support<br>
RPCNFSDARGS="-N 4"<br>
<br>
</div>
to disable NFSv4<br>
<div><br>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Wed, May 1, 2013 at
3:27 PM, Kenneth Lundström <span dir="ltr"><<a href="mailto:kenneth.lundstrom@nudata.fi" target="_blank">kenneth.lundstrom@nudata.fi</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hi,<br>
<br>
when I look at the /etc/sysconfig/nfs all
rows are commented out. <br>
<br>
Any other way of finding out what version
is in use?<span><font color="#888888"><br>
<br>
<br>
Kenneth<br>
<br>
</font></span></div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">
<div>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.<br>
</div>
</div>
<div class="gmail_extra"> <br>
<br>
<div class="gmail_quote">On Wed, May
1, 2013 at 2:36 PM, Kenneth
Lundström <span dir="ltr"><<a href="mailto:kenneth.lundstrom@nudata.fi" target="_blank">kenneth.lundstrom@nudata.fi</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>Hi,<br>
<br>
/etc/exports:<br>
/opt/ltsp
*(ro,async,no_root_squash)<br>
<br>
getenforce: Disabled<span><font color="#888888"><br>
<br>
<br>
Kenneth<br>
<br>
</font></span></div>
<div>
<div>
<blockquote type="cite">
<div dir="ltr">please
publish the
/etc/exports file on
the broken server as
well as the output of
getenforce<br>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On
Wed, May 1, 2013 at
2:10 PM, Kenneth
Lundström <span dir="ltr"><<a href="mailto:kenneth.lundstrom@nudata.fi" target="_blank">kenneth.lundstrom@nudata.fi</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello
LTSP users,<br>
<br>
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.<br>
<br>
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.<br>
<br>
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:<br>
<br>
exportfs:
/opt/ltsp does not
support NFS export<br>
<br>
I tried googling
it but couldn't
find anything that
would work for me.<br>
<br>
Any ideas where to
start searching. I
think it has
something to do
with me setting up
the homes folder
mounting.<br>
<br>
<br>
Kenneth<br>
<br>
<br>
_______________________________________________<br>
K12OSN mailing
list<br>
<a href="mailto:K12OSN@redhat.com" target="_blank">K12OSN@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
For more info see
<<a href="http://www.k12os.org" target="_blank">http://www.k12os.org</a>><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
-- <br>
James P. Kinney III<br>
<i><i><i><i><br>
</i></i></i></i>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.<br>
- Speech 11/23/1900
Mark Twain<br>
<i><i><i><i><br>
<a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br>
<a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
K12OSN mailing list
<a href="mailto:K12OSN@redhat.com" target="_blank">K12OSN@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank">https://www.redhat.com/mailman/listinfo/k12osn</a>
For more info see <a href="http://www.k12os.org" target="_blank"><http://www.k12os.org></a></pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
K12OSN mailing list<br>
<a href="mailto:K12OSN@redhat.com" target="_blank">K12OSN@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
For more info see <<a href="http://www.k12os.org" target="_blank">http://www.k12os.org</a>><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
-- <br>
James P. Kinney III<br>
<i><i><i><i><br>
</i></i></i></i>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.<br>
- Speech 11/23/1900 Mark Twain<br>
<i><i><i><i><br>
<a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br>
<a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i> </div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
K12OSN mailing list
<a href="mailto:K12OSN@redhat.com" target="_blank">K12OSN@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank">https://www.redhat.com/mailman/listinfo/k12osn</a>
For more info see <a href="http://www.k12os.org" target="_blank"><http://www.k12os.org></a></pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
K12OSN mailing list<br>
<a href="mailto:K12OSN@redhat.com" target="_blank">K12OSN@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
For more info see <<a href="http://www.k12os.org" target="_blank">http://www.k12os.org</a>><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
-- <br>
James P. Kinney III<br>
<i><i><i><i><br>
</i></i></i></i>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.<br>
- Speech 11/23/1900 Mark Twain<br>
<i><i><i><i><br>
<a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br>
<a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i> </div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
K12OSN mailing list
<a href="mailto:K12OSN@redhat.com" target="_blank">K12OSN@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank">https://www.redhat.com/mailman/listinfo/k12osn</a>
For more info see <a href="http://www.k12os.org" target="_blank"><http://www.k12os.org></a></pre>
</blockquote>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
K12OSN mailing list<br>
<a href="mailto:K12OSN@redhat.com" target="_blank">K12OSN@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
For more info see <<a href="http://www.k12os.org" target="_blank">http://www.k12os.org</a>><br>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
-- <br>
James P. Kinney III<br>
<i><i><i><i><br>
</i></i></i></i>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.<br>
- Speech 11/23/1900 Mark Twain<br>
<i><i><i><i><br>
<a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br>
<a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i>
</div>
<br>
<fieldset></fieldset>
<br>
<pre>_______________________________________________
K12OSN mailing list
<a href="mailto:K12OSN@redhat.com" target="_blank">K12OSN@redhat.com</a>
<a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank">https://www.redhat.com/mailman/listinfo/k12osn</a>
For more info see <a href="http://www.k12os.org" target="_blank"><http://www.k12os.org></a></pre>
</blockquote>
<br>
</div></div></div>
<br>_______________________________________________<br>
K12OSN mailing list<br>
<a href="mailto:K12OSN@redhat.com">K12OSN@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/k12osn" target="_blank">https://www.redhat.com/mailman/listinfo/k12osn</a><br>
For more info see <<a href="http://www.k12os.org" target="_blank">http://www.k12os.org</a>><br></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br><i><i><i><i><br></i></i></i></i>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.<br>
- Speech 11/23/1900 Mark Twain<br><i><i><i><i><br><a href="http://electjimkinney.org" target="_blank">http://electjimkinney.org</a><br><a href="http://heretothereideas.blogspot.com/" target="_blank">http://heretothereideas.blogspot.com/</a><br>
</i></i></i></i>
</div>