Solve Problems Related to abnormal and slow centos reboot and Shutdown

Source: Internet
Author: User

Solve Problems Related to abnormal and slow centos reboot and Shutdown

Assists a customer in upgrading the server database in the early morning of last Saturday.
After the database is upgraded, reboot is performed on the system to check whether the database can be started normally and master-slave synchronization is performed after the server is restarted.
I did not expect that the server can be pinged all the time after reboot, but SSH cannot be logged on, and various service ports cannot be connected.
After waiting for more than ten minutes, the server started properly and the business resumed to normal.

Check the server log (/var/log/messages) and find that the server is shut down abnormally and slow:
Aug 4 02:14:19 localhost init: tty (/dev/tty1) main process (2380) killed by TERM signal
Aug 4 02:14:19 localhost init: tty (/dev/tty2) main process (2383) killed by TERM signal
Aug 4 02:14:19 localhost init: tty (/dev/tty3) main process (2385) killed by TERM signal
Aug 4 02:14:19 localhost init: tty (/dev/tty4) main process (2387) killed by TERM signal
Aug 4 02:14:19 localhost init: tty (/dev/tty5) main process (2389) killed by TERM signal
Aug 4 02:14:19 localhost init: tty (/dev/tty6) main process (2391) killed by TERM signal
Aug 4 02:14:19 localhost avahi-daemon [1363]: Got SIGTERM, quitting.
Aug 4 02:14:19 localhost avahi-daemon [1363]: Leaving mDNS multicast group on interface eth0.IPv4 with address 172.31.251.67.
Aug 4 02:14:20 localhost abrtd: Got signal 15, exiting
Aug 4 02:27:00 localhost acpid: exiting
Aug 4 02:27:01 localhost init: Disconnected from system bus
Aug 4 02:27:01 localhost rpcbind: rpcbind terminating on signal. Restart with "rpcbind-w"
Aug 4 02:27:01 localhost auditd [1210]: The audit daemon is exiting.
Aug 4 02:27:01 localhost kernel: type = 1305 audit (1375554421.205: 1706): audit_pid = 0 old = 1210 auid = 4294967295 ses = 4294967295 res = 1
Aug 4 02:27:01 localhost kernel: type = 1305 audit (1375554421.309: 1707): audit_enabled = 0 old = 1 auid = 4294967295 ses = 4294967295 res = 1
Aug 4 02:27:01 localhost kernel: Kernel logging (proc) stopped.
Aug 4 02:27:01 localhost rsyslogd: [origin software = "rsyslogd" swVersion = "5.8.10" x-pid = "1235" x-info = "http://www.rsyslog.com"] exiting on signal 15.

Solution (time to verify ):
Try to disable the acpid service:

# chkconfig acpid off

REFERENCE The acpid entry in Baidu Encyclopedia:
Advanced Configuration and PowerInterface, a new power management standard to replace traditional APM power management standards. We recommend that you enable it for all Notebook users. Some servers may not need acpi. Common Operations supported include: "Power Switch", "battery monitoring", "notebook Lid switch", "laptop display brightness", "Sleep", "hanging up", and so on.

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.