Unable to shut down because of libcwait. so

Source: Internet
Author: User
Libcwait. so cannot be shut down-Linux general technology-Linux technology and application information, the following is a detailed description. After the compat-libcwait-2.0-2.i386.rpm package is installed, the package will put a file named libcwait. so under/usr/lib. And uses the linux ld. so. preload mechanism to control.

Write a sentence in the/etc/ld. so. preload file:/usr/lib/libcwait. so

However, an error occurs during startup:

Mar 30 15:59:39 oldimager sysctl: ERROR: ld. so: object
'/Usr/lib/libcwait. so' from/etc/ld. so. preload cannot be preloaded:
Ignored.
Mar 30 20:59:39 oldimager date: ERROR: ld. so: object
'/Usr/lib/libcwait. so' from/etc/ld. so. preload cannot be preloaded:
Ignored.
Mar 30 20:59:39 oldimager hostname: ERROR: ld. so: object
'/Usr/lib/libcwait. so' from/etc/ld. so. preload cannot be preloaded:
Ignored.
Mar 30 20:59:44 oldimager fsck: ERROR: ld. so: object
'/Usr/lib/libcwait. so' from/etc/ld. so. preload cannot be preloaded:
Ignored.
Mar 30 20:59:44 oldimager mount: ERROR: ld. so: object
'/Usr/lib/libcwait. so' from/etc/ld. so. preload cannot be preloaded:
Ignored.

When the system is shut down, the umount/usr partition will remain undetachable.

Solution:
1. comment out the statement in the/etc/ld. so. preload file.

2. Move the/usr/lib/libcwait. so file to/lib and modify/etc/lo. so. preload accordingly.

Cause:
Possibly because the usr has not been loaded during preload execution.
Related Article

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.