Solve rpcbind: cannot open '/var/run/rpcbind. XDR' file for reading in ubuntu12.04

Source: Internet
Author: User

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.

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.