I don't know what's going on. The lab computer reported an error every time it was started after it was done by a student.
Rpcbind: cannot open '/run/rpcbind. XDR 'file for reading, errno 2 (no such file or directory)
Rpcbind: cannot open '/run/rpcbind/Portmap. XDR' file for reading, errno 2 (no such file or directory)
If your error is
Rpcbind: cannot open'/var/run/rpcbind. XDR 'file for reading, errno 2 (no such file or directory)
Rpcbind: cannot open'/var/run/rpcbind/Portmap. XDR 'file for reading, errno 2 (no such file or directory)
The solution is the same.
This error does not have any negative impact, but it is still unpleasant to see it every time it is started. This error is on the Debian website.
This error is reported on both Ubuntu and Ubuntu websites. For more information, see the following urls:
Https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/835833
Https://bugs.debian.org/cgi-bin/bugreport.cgi? Bug = 645880
Https://bugs.launchpad.net/ubuntu/+source/rpcbind/+bug/947638
Here, you only need to modify the Portmap. conf file under/etc/init and annotate the Options = "-W"
Add a line of Options = "" and save the changes.
Because ubuntu currently uses upstart by default for startup, all the startup files used are placed in the init directory, so you need to modify the file here
But init. d is started by the previous init method, but currently Ubuntu generally uses upstart to start, so do not modify the error when changing this place.
Enter reboot and restart, and the two errors will not be reported again.