Hi,
Did a "opkg update;opkg upgrade" today and had to remove "/etc/init.d/functions.initscripts" before the upgrade was able to finish without errors.
But, the nfsserver stopped working after that:
Posted 19 January 2014 - 11:50
Hi,
Did a "opkg update;opkg upgrade" today and had to remove "/etc/init.d/functions.initscripts" before the upgrade was able to finish without errors.
But, the nfsserver stopped working after that:
Posted 19 January 2014 - 12:01
Seems that you broke it then. Try installing "initscripts-functions", which should provide that file. If everything else fails, just re-flash the box. And don't remove system-critical files next time.Did a "opkg update;opkg upgrade" today and had to remove "/etc/init.d/functions.initscripts" before the upgrade was able to finish without errors.
Posted 25 January 2014 - 03:50
Same problem here, when you do "opkg install -force-overwrite initscripts-functions", as suggested here to solve the common upgrade problem, nfs won't work anymore.
Not sure if initscripts-functions is related with this problem though.
I had to replace rpcbind 0.2.1-r0 with 0.2.0-r4 because it didn't start anymore.
After that it worked again.
Posted 27 January 2014 - 15:25
Unfortunately i can't find the old rpcbind as an ipk package, but i still have the binary. Just replace it with /usr/sbin/rpcbind download here and do chmod 755.
But it's not a good solution, could someone check if latest rpcbind is working?
Strace-log from latest rpcbind
Posted 1 February 2014 - 13:59
Meanwhile if someone can figure out what has changed, how it is now supposed to work, and what we need to make the current version work, that would help a LOT.
What has changed is that whoever rebuilt the kernel forgot to include the config option to include NFS support.
I've just (yesterday) "upgraded" to OpenPLi-4.0-beta-lifestooshorttotypeterestofthename and tried to install the NFS server, as I had in an earlier version. Here's what happened.
root@dm800se:/etc# opkg install nfs-utils Installing nfs-utils (1.2.9-r0) to root... Downloading http://downloads.pli-images.org/feeds/openpli-4/mips32el/nfs-utils_1.2.9-r0_mips32el.ipk. Installing kernel-module-nfsd (3.2-r14.17.46) to root... Downloading http://downloads.pli-images.org/feeds/openpli-4/dm800se/kernel-module-nfsd_3.2-r14.17.46_dm800se.ipk. Installing kernel-module-exportfs (3.2-r14.17.46) to root... Downloading http://downloads.pli-images.org/feeds/openpli-4/dm800se/kernel-module-exportfs_3.2-r14.17.46_dm800se.ipk. Removing any system startup links for nfsserver ... Configuring kernel-module-exportfs. Configuring kernel-module-nfsd. Configuring nfs-utils. Adding system startup for /etc/init.d/nfsserver. NFS daemon support not enabled in kernel
Posted 1 February 2014 - 14:04
@Camping: ZGemma H.2S, Technisat Multytenne 4-in-1 @Home: Edision Mini 4K, Wave Frontier T55, EMP Centauri EMP DiSEqC 8/1 switch, 4x Inverto Ultra Black single LNB
Posted 1 February 2014 - 14:53
Nope, the nfsd module is present and loads just fine, the script just lies about it.
What has changed is that whoever rebuilt the kernel forgot to include the config option to include NFS support.Meanwhile if someone can figure out what has changed, how it is now supposed to work, and what we need to make the current version work, that would help a LOT.
Posted 2 February 2014 - 12:03
mattiL got a really good point : Impossible to mount NAS Server on my DM8000HD (comment #9)
With -o nolock I can mount my nfs share on my openpli !
Posted 13 February 2014 - 11:35
Hi,
I had the exact same issue with nfs server: one that was working just stopped working some days ago and got the same result as stated in #post1. This happened after a fresh reflash on feb. 4th.
I reflashed an old backup from November 2013 and it is working again. No big deal, but I guess I'll have to live without upgrading for some time
Thanks to let us know if and when this will be solved.
Posted 19 February 2014 - 17:29
Believe it or not, but I have a daytime job and a life...
Meanwhile if someone can figure out what has changed, how it is now supposed to work, and what we need to make the current version work, that would help a LOT.
I think I figured it out.
It is the update to rpcbind-0.2.1 that cause the issue.
Running the latest rpcbind manually with "rpcbind -df" created the following error in /var/log/messages: daemon.err rpcbind: cannot get uid of '': Success
Then Google pointed me to this link: https://www.mail-arc...g/msg23230.html
Seems like the "--with-rpcuser=root" needs to be added to configure with building rpcbind?
rpcbind-0.2.0 runs as root and it seems like rpcbind-0.2.1 tries to run as the '' user.
A workaround is also to run rpcbind (from 0.2.1) with "-s" to run it as " daemon":
0 members, 5 guests, 0 anonymous users