The reason for this error is:
the version of NFS used in uboot is V2, while the version of NFS used in Ubuntu is V3, V4 and above. As a result, uboot can no longer find files in the NFS server.
The solution is to make NFS in buntu compatible with v2. Modify the /etc/default/NFS kernel server
file.
Open the file: sudo VIM/etc/default/NFS kernel server
(note that sudo or root permissions are required), and modify it as follows:
# Number of servers to start up
RPCNFSDCOUNT=" -V 2 8"
# Runtime priority of server (see nice(1))
RPCNFSDPRIORITY=0
# Options for rpc.mountd.
# If you have a port-based firewall, you might want to set up
# a fixed port here using the --port option. For more information,
# see rpc.mountd(8) or http://wiki.debian.org/SecuringNFS
# To disable NFSv4 on the server, specify '--no-nfs-version 4' here
RPCMOUNTDOPTS="-V 2 --manage-gids"
# Do you want to start the svcgssd daemon?It is only required for Kerberos
# exports. Valid alternatives are "yes" and "no"; the default is "no".
NEED_SVCGSSD=""
# Options for rpc.svcgssd.
RPCSVCGSSDOPTS="--nfs-version 2,3,4 --debug --syslog"
Restart the NFS server. sudo service nfs-kernel-server restart
Read More:
- [Solved] ××: error while loading shared libraries: ××.so.19: cannot open shared object file: No such file or directory
- Error: loading shared libraries: cannot open shared object file: No such file or directory
- [Solved] error while loading shared libraries: libjson.so.0: cannot open shared object file: No such file or
- [Solved] Ubuntu Compile AOSP Error: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
- [Solved] /usr/local/libexec/mecab/mecab-dict-index: error while loading shared libraries: libmecab.so.2: cannot open shared object file: No such file or directory
- Problem solving / etc/ rc.local The boot entry of the file configuration is invalid
- [Solved] error while loading shared libraries: libmpc.so.3: cannot open shared object file
- [Solved] mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No s
- [Solved] error while loading shared libraries: libmysqlclient.so.20: cannot open shared object file: No such…
- Linux Ubuntu ImportError: Libtk8.5.so: cannot open shared object file:No such file Install tkinter Library
- Linux useradd Error: Creating mailbox file: File exists
- [Solved] Python Import mmcv Warning: ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- Solution to IO error encountered in Rsync: skipping file deletion
- yum: Error: Failed to download metadata for repo ‘aliyun-AppStream‘: Cannot download repomd.xml
- Solution to gzip: stdin: invalid compressed data — format violated error in decompressing. Tgz file under Linux
- [Solved] ubuntu makefile Cross-compilation error: file not recognized: file format not recognized
- [Solved] CRITICAL:yum.cli:Config error: Error accessing file for config file:///opt/++
- [Ubuntu] How to Solve dpkg Error: dpkg: error: failed to open package info file ‘/usr/local/var/lib/dpkg/status’ for reading: No such file or directory
- [Solved] Ubuntu Open jpg Image Error: Error interpreting JPEG image file (Not a JPEG file: starts with 0x89 0x50)
- PM2 user defined Log, PID and other Log File Locations