Tiny Core Base > Corepure64
Bug? NFS server needs two starts
CNK:
The intended text of this post is in the attachment. After 1/2hr trying to post it and not being able to pin down what part triggers "500 error" pages from the forum (not the code snippets, as it turns out), it's this or nothing.
Here's the first paragraph because it seems to be safe on its own:
--- Quote ---I recently set up an NFS server on my TC Pure64 v. 12.0 system, and had a lot of trouble with NFS mounts failing (timing out). I eventually discovered that I needed to run the init script at /usr/local/etc/init.d/nfs-server twice, after which connections would work correctly.
--- End quote ---
Paul_123:
Are you sure your network device is up and configured before starting?
CNK:
--- Quote from: Paul_123 on September 06, 2021, 08:23:02 AM ---Are you sure your network device is up and configured before starting?
--- End quote ---
Yes. I'm running all the commands via a Telnet connection from the other computer where I'm also attempting to mount the NFS shares.
Rich:
Hi CNK
nfs-utils.tcz is unchanged since 2016/04/10. However, rpcbind.tcz and libtirpc.tcz were both updated on 2021/01/18
for TC12 x86_64. The nfs-server script depends on rpcbind and rpc.nfsd depends on libtirpc. You could try
copying those 2 extensions from the TC11 x86_64 repository to see if that fixes the issue.
CNK:
--- Quote from: Rich on September 07, 2021, 08:52:28 AM ---Hi CNK
nfs-utils.tcz is unchanged since 2016/04/10. However, rpcbind.tcz and libtirpc.tcz were both updated on 2021/01/18
for TC12 x86_64. The nfs-server script depends on rpcbind and rpc.nfsd depends on libtirpc. You could try
copying those 2 extensions from the TC11 x86_64 repository to see if that fixes the issue.
--- End quote ---
I tried that (after first confirming that the existing extension md5sums match those in http://www.tinycorelinux.net/12.x/x86_64/tcz/ because the system was upgraded from TC 11), but the behaviour is identical. After running "sudo /usr/local/etc/init.d/nfs-server start", attempts to mount an NFS share from the client hang indefinately until "sudo /usr/local/sbin/rpc.nfsd 8" is run manually for a second time.
Previously installed TC 12 extenstions:
--- Code: ---b2a2ec52e84d108aabdb93cbe63a5bb8 rpcbind.tcz
ce107a698262b5ebd53c4f132df913e0 libtirpc.tcz
--- End code ---
Tested TC 11 extensions:
--- Code: ---b80f7a43077edffa15855f41fb61fa36 rpcbind.tcz
9c202f05f5550c1b69559ccbe6caf35a libtirpc.tcz
--- End code ---
Also, I did confirm that the TC 12 extensions weren't loaded before I switched them and tested the ones from TC 11.
Navigation
[0] Message Index
[#] Next page
Go to full version