Форум русскоязычного сообщества Ubuntu


Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества?
Помогите нам с документацией!

Автор Тема: Ubuntu не выключается корректно  (Прочитано 2413 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн windoctor

  • Автор темы
  • Новичок
  • *
  • Сообщений: 31
    • Просмотр профиля
Ubuntu не выключается корректно
« : 01 Сентября 2012, 11:38:13 »
Всем привет.
Заметил я уже давно, что Ubuntu у меня как-то долго думает перед тем как перезагружается или выключается.
Решил выключить через терминал и посмотреть на ошибки.
При выключении вылазят похожие ошибки (первая и последняя строка) и система не отвечает:
Sep  1 11:18:56 laptop kernel: [ 1243.394300] init: modemmanager main process (2863) terminated with status 255
Sep  1 11:18:56 laptop kernel: [ 1243.394315] init: modemmanager main process ended, respawning
Sep  1 11:18:56 laptop modem-manager[2865]: <info>  ModemManager (version 0.5.2.0) starting...
Sep  1 11:18:56 laptop modem-manager[2865]: Could not get the system bus. Make sure the message bus daemon is running! Message: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory


Подскажите, что с ней делать, как ее образумить?

Прикладываю полный лог выключения на всякий случай:
Sep  1 11:18:56 laptop acpid: exiting
Sep  1 11:18:56 laptop bumblebeed[1003]: Received Terminated signal.
Sep  1 11:18:56 laptop kernel: [ 1242.923558] bbswitch: enabling discrete graphics
Sep  1 11:18:56 laptop kernel: [ 1242.932825] init: tty4 main process (986) killed by TERM signal
Sep  1 11:18:56 laptop kernel: [ 1242.933646] init: tty5 main process (994) killed by TERM signal
Sep  1 11:18:56 laptop kernel: [ 1242.934195] init: tty2 main process (1016) killed by TERM signal
Sep  1 11:18:56 laptop kernel: [ 1242.934753] init: tty3 main process (1020) killed by TERM signal
Sep  1 11:18:56 laptop kernel: [ 1242.935301] init: tty6 main process (1025) killed by TERM signal
Sep  1 11:18:56 laptop kernel: [ 1242.935803] init: anacron main process (1043) killed by TERM signal
Sep  1 11:18:56 laptop kernel: [ 1242.937500] init: cron main process (1048) killed by TERM signal
Sep  1 11:18:56 laptop kernel: [ 1242.940013] init: irqbalance main process (1058) killed by TERM signal
Sep  1 11:18:56 laptop kernel: [ 1242.940285] init: tty1 main process (1221) killed by TERM signal
Sep  1 11:18:56 laptop anacron[2715]: Anacron 2.3 started on 2012-09-01
Sep  1 11:18:56 laptop anacron[2715]: Normal exit (0 jobs run)
Sep  1 11:18:56 laptop bluetoothd[886]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/HFPAG
Sep  1 11:18:56 laptop bluetoothd[886]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource
Sep  1 11:18:56 laptop bluetoothd[886]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSink
Sep  1 11:18:56 laptop kernel: [ 1243.232507] pci 0000:01:00.0: power state changed by ACPI to D0
Sep  1 11:18:56 laptop kernel: Kernel logging (proc) stopped.
Sep  1 11:18:56 laptop rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="866" x-info="http://www.rsyslog.com"] exiting on signal 15.
Sep  1 11:18:56 laptop kernel: imklog 5.8.6, log source = /proc/kmsg started.
Sep  1 11:18:56 laptop rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="2855" x-info="http://www.rsyslog.com"] start
Sep  1 11:18:56 laptop rsyslogd: rsyslogd's groupid changed to 103
Sep  1 11:18:56 laptop rsyslogd: rsyslogd's userid changed to 101
Sep  1 11:18:56 laptop rsyslogd-2039: Could not open output pipe '/dev/xconsole' [try http://www.rsyslog.com/e/2039 ]
Sep  1 11:18:56 laptop kernel: [ 1243.236025] init: upstart-udev-bridge main process ended, respawning
Sep  1 11:18:56 laptop kernel: [ 1243.236182] init: modemmanager main process ended, respawning
Sep  1 11:18:56 laptop kernel: [ 1243.236316] init: rsyslog main process ended, respawning
Sep  1 11:18:56 laptop kernel: [ 1243.240184] wlan0: deauthenticating from 34:08:04:e1:06:40 by local choice (reason=3)
Sep  1 11:18:56 laptop kernel: [ 1243.241194] init: Disconnected from system bus
Sep  1 11:18:56 laptop kernel: [ 1243.245433] pci_raw_set_power_state: 55 callbacks suppressed
Sep  1 11:18:56 laptop kernel: [ 1243.245437] pci 0000:01:00.0: Refused to change power state, currently in D3
Sep  1 11:18:56 laptop kernel: [ 1243.245446] pci 0000:01:00.0: power state changed by ACPI to D0
Sep  1 11:18:56 laptop kernel: [ 1243.245451] pci 0000:01:00.0: restoring config space at offset 0xf (was 0xffffffff, writing 0x10b)
Sep  1 11:18:56 laptop kernel: [ 1243.245454] pci 0000:01:00.0: restoring config space at offset 0xe (was 0xffffffff, writing 0x0)
Sep  1 11:18:56 laptop kernel: [ 1243.245457] pci 0000:01:00.0: restoring config space at offset 0xd (was 0xffffffff, writing 0x60)
Sep  1 11:18:56 laptop kernel: [ 1243.245460] pci 0000:01:00.0: restoring config space at offset 0xc (was 0xffffffff, writing 0xfff80000)
Sep  1 11:18:56 laptop kernel: [ 1243.245463] pci 0000:01:00.0: restoring config space at offset 0xb (was 0xffffffff, writing 0x4461028)
Sep  1 11:18:56 laptop kernel: [ 1243.245466] pci 0000:01:00.0: restoring config space at offset 0xa (was 0xffffffff, writing 0x0)
Sep  1 11:18:56 laptop kernel: [ 1243.245469] pci 0000:01:00.0: restoring config space at offset 0x9 (was 0xffffffff, writing 0x3001)
Sep  1 11:18:56 laptop kernel: [ 1243.245472] pci 0000:01:00.0: restoring config space at offset 0x8 (was 0xffffffff, writing 0x0)
Sep  1 11:18:56 laptop kernel: [ 1243.245475] pci 0000:01:00.0: restoring config space at offset 0x7 (was 0xffffffff, writing 0xd000000c)
Sep  1 11:18:56 laptop kernel: [ 1243.245478] pci 0000:01:00.0: restoring config space at offset 0x6 (was 0xffffffff, writing 0x0)
Sep  1 11:18:56 laptop kernel: [ 1243.245481] pci 0000:01:00.0: restoring config space at offset 0x5 (was 0xffffffff, writing 0xc000000c)
Sep  1 11:18:56 laptop kernel: [ 1243.245484] pci 0000:01:00.0: restoring config space at offset 0x4 (was 0xffffffff, writing 0xf0000000)
Sep  1 11:18:56 laptop kernel: [ 1243.245487] pci 0000:01:00.0: restoring config space at offset 0x3 (was 0xffffffff, writing 0x10)
Sep  1 11:18:56 laptop kernel: [ 1243.245490] pci 0000:01:00.0: restoring config space at offset 0x2 (was 0xffffffff, writing 0x30000a1)
Sep  1 11:18:56 laptop kernel: [ 1243.245493] pci 0000:01:00.0: restoring config space at offset 0x1 (was 0xffffffff, writing 0x100006)
Sep  1 11:18:56 laptop kernel: [ 1243.245496] pci 0000:01:00.0: restoring config space at offset 0x0 (was 0xffffffff, writing 0xdf510de)
Sep  1 11:18:56 laptop kernel: [ 1243.245502] pci 0000:01:00.0: power state changed by ACPI to D0
Sep  1 11:18:56 laptop kernel: [ 1243.261495] pci 0000:01:00.0: Refused to change power state, currently in D3
Sep  1 11:18:56 laptop kernel: [ 1243.261516] pci 0000:01:00.0: power state changed by ACPI to D0
Sep  1 11:18:56 laptop kernel: [ 1243.347074] init: lightdm main process (1052) terminated with status 1
Sep  1 11:18:56 laptop kernel: [ 1243.354096] cfg80211: All devices are disconnected, going to restore regulatory settings
Sep  1 11:18:56 laptop kernel: [ 1243.354107] cfg80211: Restoring regulatory settings
Sep  1 11:18:56 laptop kernel: [ 1243.354118] cfg80211: Calling CRDA to update world regulatory domain
Sep  1 11:18:56 laptop kernel: [ 1243.371712] init: modemmanager main process (2845) terminated with status 255
Sep  1 11:18:56 laptop kernel: [ 1243.371801] init: modemmanager main process ended, respawning
Sep  1 11:18:56 laptop kernel: [ 1243.381881] init: modemmanager main process (2852) terminated with status 255
Sep  1 11:18:56 laptop kernel: [ 1243.381900] init: modemmanager main process ended, respawning
Sep  1 11:18:56 laptop modem-manager[2861]: <info>  ModemManager (version 0.5.2.0) starting...
Sep  1 11:18:56 laptop modem-manager[2861]: Could not get the system bus. Make sure the message bus daemon is running! Message: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Sep  1 11:18:56 laptop kernel: [ 1243.389327] init: modemmanager main process (2861) terminated with status 255
Sep  1 11:18:56 laptop kernel: [ 1243.389424] init: modemmanager main process ended, respawning
Sep  1 11:18:56 laptop modem-manager[2863]: <info>  ModemManager (version 0.5.2.0) starting...
Sep  1 11:18:56 laptop modem-manager[2863]: Could not get the system bus. Make sure the message bus daemon is running! Message: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Sep  1 11:18:56 laptop kernel: [ 1243.394300] init: modemmanager main process (2863) terminated with status 255
Sep  1 11:18:56 laptop kernel: [ 1243.394315] init: modemmanager main process ended, respawning
Sep  1 11:18:56 laptop modem-manager[2865]: <info>  ModemManager (version 0.5.2.0) starting...
Sep  1 11:18:56 laptop modem-manager[2865]: Could not get the system bus. Make sure the message bus daemon is running! Message: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Sep  1 11:18:56 laptop modem-manager[2867]: <info>  ModemManager (version 0.5.2.0) starting...
Sep  1 11:18:56 laptop modem-manager[2867]: Could not get the system bus. Make sure the message bus daemon is running! Message: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Sep  1 11:18:56 laptop kernel: [ 1243.398085] init: modemmanager main process (2865) terminated with status 255
Sep  1 11:18:56 laptop kernel: [ 1243.398106] init: modemmanager main process ended, respawning
Sep  1 11:18:56 laptop modem-manager[2869]: <info>  ModemManager (version 0.5.2.0) starting...
Sep  1 11:18:56 laptop modem-manager[2869]: Could not get the system bus. Make sure the message bus daemon is running! Message: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Sep  1 11:18:56 laptop kernel: [ 1243.401605] init: modemmanager main process (2867) terminated with status 255
Sep  1 11:18:56 laptop kernel: [ 1243.401637] init: modemmanager main process ended, respawning
Sep  1 11:18:56 laptop kernel: [ 1243.405467] init: modemmanager main process (2869) terminated with status 255
Sep  1 11:18:56 laptop kernel: [ 1243.405491] init: modemmanager main process ended, respawning
Sep  1 11:18:56 laptop modem-manager[2871]: <info>  ModemManager (version 0.5.2.0) starting...
Sep  1 11:18:56 laptop modem-manager[2871]: Could not get the system bus. Make sure the message bus daemon is running! Message: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Sep  1 11:18:56 laptop kernel: [ 1243.411039] init: modemmanager main process (2871) terminated with status 255
Sep  1 11:18:56 laptop kernel: [ 1243.411077] init: modemmanager main process ended, respawning
Sep  1 11:18:56 laptop modem-manager[2873]: <info>  ModemManager (version 0.5.2.0) starting...
Sep  1 11:18:56 laptop modem-manager[2873]: Could not get the system bus. Make sure the message bus daemon is running! Message: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Sep  1 11:18:56 laptop kernel: [ 1243.416712] init: modemmanager main process (2873) terminated with status 255
Sep  1 11:18:56 laptop kernel: [ 1243.416780] init: modemmanager main process ended, respawning
Sep  1 11:18:56 laptop modem-manager[2875]: <info>  ModemManager (version 0.5.2.0) starting...
Sep  1 11:18:56 laptop modem-manager[2875]: Could not get the system bus. Make sure the message bus daemon is running! Message: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory
Sep  1 11:18:56 laptop kernel: [ 1243.422784] init: modemmanager main process (2875) terminated with status 255
Sep  1 11:18:56 laptop kernel: [ 1243.422852] init: modemmanager respawning too fast, stopped
Sep  1 11:18:56 laptop NetworkManager[895]: <info> (wlan0): deactivating device (reason 'removed') [36]
Sep  1 11:18:56 laptop NetworkManager[895]: <info> (wlan0): canceled DHCP transaction, DHCP client pid 1562
Sep  1 11:18:56 laptop kernel: [ 1243.459069] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sep  1 11:18:56 laptop NetworkManager[895]: <info> DNS: starting dnsmasq...
Sep  1 11:18:56 laptop NetworkManager[895]: <info> (wlan0): writing resolv.conf to /sbin/resolvconf
Sep  1 11:18:56 laptop dnsmasq[2876]: started, version 2.59 cache disabled
Sep  1 11:18:56 laptop dnsmasq[2876]: compile time options: IPv6 GNU-getopt DBus i18n DHCP TFTP conntrack IDN
Sep  1 11:18:56 laptop dnsmasq[2876]: warning: no upstream servers configured
Sep  1 11:18:56 laptop NetworkManager[895]: <info> (wlan0): cleaning up...
Sep  1 11:18:56 laptop NetworkManager[895]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Sep  1 11:18:56 laptop NetworkManager[895]: <info> (eth0): now unmanaged
Sep  1 11:18:56 laptop NetworkManager[895]: <info> (eth0): device state change: unavailable -> unmanaged (reason 'removed') [20 10 36]
Sep  1 11:18:56 laptop NetworkManager[895]: <info> (eth0): cleaning up...
Sep  1 11:18:56 laptop kernel: [ 1243.486413] ADDRCONF(NETDEV_UP): wlan0: link is not ready
Sep  1 11:18:56 laptop NetworkManager[895]: <info> (eth0): taking down device.
Sep  1 11:18:56 laptop NetworkManager[895]: <info> Unmanaged Device found; state CONNECTED forced. (see http://bugs.launchpad.net/bugs/191889)
Sep  1 11:18:56 laptop dnsmasq[2876]: exiting on receipt of SIGTERM
Sep  1 11:18:56 laptop NetworkManager[895]: <info> (wlan0): removing resolv.conf from /sbin/resolvconf
Sep  1 11:18:56 laptop kernel: [ 1243.525555] ADDRCONF(NETDEV_UP): eth0: link is not ready
Sep  1 11:18:56 laptop NetworkManager[895]: <info> exiting (success)
Sep  1 11:18:56 laptop bluetoothd[886]: Stopping hci0 event socket
Sep  1 11:18:56 laptop bluetoothd[886]: Stopping SDP server
Sep  1 11:18:56 laptop bluetoothd[886]: Exit
Sep  1 11:18:56 laptop kernel: [ 1243.599851] init: udev main process ended, respawning
Sep  1 11:18:56 laptop kernel: [ 1243.600366] init: dbus main process ended, respawning
Sep  1 11:18:56 laptop kernel: [ 1243.600751] init: bluetooth main process ended, respawning
Sep  1 11:18:56 laptop kernel: [ 1243.601111] init: avahi-daemon main process ended, respawning
Sep  1 11:18:57 laptop kernel: [ 1243.601613] HDMI hot plug event: Codec=3 Pin=6 Presence_Detect=0 ELD_Valid=1
Sep  1 11:18:57 laptop kernel: [ 1243.601671] HDMI status: Codec=3 Pin=6 Presence_Detect=0 ELD_Valid=0
Sep  1 11:18:57 laptop kernel: [ 1243.977473] HDMI hot plug event: Codec=3 Pin=6 Presence_Detect=1 ELD_Valid=1
Sep  1 11:18:57 laptop kernel: [ 1243.977524] HDMI status: Codec=3 Pin=6 Presence_Detect=1 ELD_Valid=1
Sep  1 11:18:57 laptop bluez: Stopping uarts
Sep  1 11:18:57 laptop kernel: [ 1244.277216] HDMI status: Codec=3 Pin=6 Presence_Detect=1 ELD_Valid=1
Sep  1 11:18:57 laptop kernel: [ 1244.280742] HDMI: detected monitor SMFX2490HD at connection type HDMI
Sep  1 11:18:57 laptop kernel: [ 1244.280751] HDMI: available speakers: FL/FR LFE FC RL/RR RC FLC/FRC RLC/RRC FLW/FRW FLH/FRH TC FCH
Sep  1 11:18:57 laptop kernel: [ 1244.280761] HDMI: supports coding type LPCM: channels = 2, rates = 32000 44100 48000, bits = 16 20 24
Sep  1 11:18:57 laptop bluez: Stopping rfcomm
Sep  1 11:18:57 laptop bluetoothd[2922]: Bluetooth daemon 4.98
Sep  1 11:18:57 laptop bluetoothd[2922]: Starting SDP server
Sep  1 11:18:57 laptop bluetoothd[2922]: Failed to init alert plugin
Sep  1 11:18:57 laptop bluetoothd[2922]: Failed to init time plugin
Sep  1 11:18:57 laptop bluetoothd[2922]: Failed to init proximity plugin
Sep  1 11:18:57 laptop bluetoothd[2922]: Failed to init gatt_example plugin
Sep  1 11:18:57 laptop bluetoothd[2922]: Listening for HCI events on hci0
Sep  1 11:18:57 laptop bluetoothd[2922]: HCI dev 0 up

P.S. Ubuntu 12.04.1, 32 битная

Пользователь решил продолжить мысль 01 Сентября 2012, 16:56:07:
Решение найдено:
sudo mv /var/run/* /run/
sudo mv /var/lock/* /run/lock/
sudo rm -r /var/run
sudo rm -r /var/lock
sudo ln -s /run /var/run
sudo ln -s /run/lock /var/lock
sudo rm /run/dbus/*
« Последнее редактирование: 01 Сентября 2012, 16:56:07 от windoctor »

Оффлайн red_baron

  • Новичок
  • *
  • Сообщений: 15
    • Просмотр профиля
Re: Ubuntu не выключается корректно
« Ответ #1 : 17 Ноября 2012, 13:52:38 »
Ubuntu 12.04 64 bit. Desktop.
Такая же проблема. Решил всего одной строчкой  :coolsmiley:
sudo rm /run/dbus/*
Ubuntu 14.04 64bit
Ubuntu Server 10.04.1

 

Страница сгенерирована за 0.018 секунд. Запросов: 22.