15.10 关机卡死

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
dfsr
帖子: 227
注册时间: 2007-10-20 22:48

15.10 关机卡死

#1

帖子 dfsr » 2015-11-01 15:33

Intel主板的台式机,装15.04的时候差不多70%的几率卡死,在15.10下100%了,各位可有什么好办法,确定配件没有物理损坏。
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 15.10 关机卡死

#2

帖子 poloshiao » 2015-11-01 16:33

按一下 ctrl + alt + F2
登入 tty2
1. sudo systemctl stop lightdm
如果有錯誤訊息 請擷圖貼上來
2. sudo systemctl poweroff
看看能否順利關機
3. 如果無法順利關機
重新啟動
把下面指令 複製 貼進終端機 執行
sudo journalctl -b -1 -p err --no-pager
把結果直接 選取/複製 貼上來
dfsr
帖子: 227
注册时间: 2007-10-20 22:48

Re: 15.10 关机卡死

#3

帖子 dfsr » 2015-11-02 16:34

poloshiao 写了:按一下 ctrl + alt + F2
登入 tty2
1. sudo systemctl stop lightdm
如果有錯誤訊息 請擷圖貼上來
2. sudo systemctl poweroff
看看能否順利關機
3. 如果無法順利關機
重新啟動
把下面指令 複製 貼進終端機 執行
sudo journalctl -b -1 -p err --no-pager
把結果直接 選取/複製 貼上來
非常感谢!
我先:sudo systemctl stop lightdm,没有错误发生,然后:sudo systemctl poweroff,顺利关机了三次,不知日后会怎样,但是非常感谢。
还有请问,日后我只能这样关机吗?
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 15.10 关机卡死

#4

帖子 poloshiao » 2015-11-02 16:44

日后我只能这样关机吗?
1. 可以試試 直接從終端機
sudo systemctl reboot

sudo systemctl poweroff
1-1. 意思是 不須登入 tty2
1-2. 如果有錯誤訊息 停止不再繼續 直接複製錯誤訊息貼上來
1-3. 如果時間等待比較久 試試 2.

2. 把下面指令 複製 貼進終端機 執行
sudo apt-get autoremove
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade
sudo apt-get check
2-1. 如果有錯誤訊息 停止不再繼續 直接複製錯誤訊息貼上來
2-2. 如果沒有錯誤訊息
sudo systemctl reboot

sudo systemctl poweroff
看看 能否重啟
2-2-1. 如果有錯誤訊息 停止不再繼續 直接複製錯誤訊息貼上來

3. 多更新幾天 看看你的問題是否漸漸自動痊癒了
dfsr
帖子: 227
注册时间: 2007-10-20 22:48

Re: 15.10 关机卡死

#5

帖子 dfsr » 2015-11-02 19:44

Thank you: poloshiao!
我观察几天看,出现问题我再您请教,非常感谢!
dfsr
帖子: 227
注册时间: 2007-10-20 22:48

Re: 15.10 关机卡死

#6

帖子 dfsr » 2015-11-03 19:30

poloshiao 写了:
日后我只能这样关机吗?
1. 可以試試 直接從終端機
sudo systemctl reboot

sudo systemctl poweroff
1-1. 意思是 不須登入 tty2
1-2. 如果有錯誤訊息 停止不再繼續 直接複製錯誤訊息貼上來
1-3. 如果時間等待比較久 試試 2.

2. 把下面指令 複製 貼進終端機 執行
sudo apt-get autoremove
sudo dpkg --configure -a
sudo apt-get update
sudo apt-get upgrade
sudo apt-get check
2-1. 如果有錯誤訊息 停止不再繼續 直接複製錯誤訊息貼上來
2-2. 如果沒有錯誤訊息
sudo systemctl reboot

sudo systemctl poweroff
看看 能否重啟
2-2-1. 如果有錯誤訊息 停止不再繼續 直接複製錯誤訊息貼上來

3. 多更新幾天 看看你的問題是否漸漸自動痊癒了
现在直接:sudo systemctl poweroff可以关机,并且我把步骤2也进行了两遍,没有错误发生。非常感谢你!
Thank you again!
qq349341704
帖子: 1
注册时间: 2017-06-14 2:33
系统: ubuntu 16.04 LTS

Re: 15.10 关机卡死

#7

帖子 qq349341704 » 2017-06-14 2:34

poloshiao 写了:按一下 ctrl + alt + F2
登入 tty2
1. sudo systemctl stop lightdm
如果有錯誤訊息 請擷圖貼上來
2. sudo systemctl poweroff
看看能否順利關機
3. 如果無法順利關機
重新啟動
把下面指令 複製 貼進終端機 執行
sudo journalctl -b -1 -p err --no-pager
把結果直接 選取/複製 貼上來


大神,我最后一条指令有很多结果,能不能帮忙看一下
6月 14 02:26:43 FatTan nvidia-persistenced[563]: Failed to query NVIDIA devices. Please ensure that the NVIDIA device files (/dev/nvidia*) exist, and that user 121 has read and write permissions for those files.
6月 14 02:26:44 FatTan nvidia-persistenced[607]: Failed to unlink socket: No such file or directory
6月 14 02:26:44 FatTan nvidia-persistenced[607]: Failed to unlink PID file: No such file or directory
6月 14 02:27:00 FatTan NetworkManager[886]: nm_device_get_device_type: assertion 'NM_IS_DEVICE (self)' failed
6月 14 02:27:02 FatTan wpa_supplicant[1079]: dbus: wpa_dbus_get_object_properties: failed to get object properties: (none) none
6月 14 02:27:02 FatTan wpa_supplicant[1079]: dbus: Failed to construct signal
6月 14 02:27:05 FatTan lightdm[1142]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
6月 14 02:27:05 FatTan lightdm[1142]: PAM adding faulty module: pam_kwallet.so
6月 14 02:27:05 FatTan lightdm[1142]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
6月 14 02:27:05 FatTan lightdm[1142]: PAM adding faulty module: pam_kwallet5.so
6月 14 02:27:07 FatTan lightdm[1194]: PAM unable to dlopen(pam_kwallet.so): /lib/security/pam_kwallet.so: cannot open shared object file: No such file or directory
6月 14 02:27:07 FatTan lightdm[1194]: PAM adding faulty module: pam_kwallet.so
6月 14 02:27:07 FatTan lightdm[1194]: PAM unable to dlopen(pam_kwallet5.so): /lib/security/pam_kwallet5.so: cannot open shared object file: No such file or directory
6月 14 02:27:07 FatTan lightdm[1194]: PAM adding faulty module: pam_kwallet5.so
6月 14 02:27:09 FatTan pulseaudio[1262]: [pulseaudio] pid.c: Daemon already running.
6月 14 02:27:22 FatTan pulseaudio[1842]: [pulseaudio] pid.c: Daemon already running.
6月 14 02:27:33 FatTan pulseaudio[1248]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out
6月 14 02:27:33 FatTan pulseaudio[1808]: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.TimedOut: Failed to activate service 'org.bluez': timed out
poloshiao
论坛版主
帖子: 18279
注册时间: 2009-08-04 16:33

Re: 15.10 关机卡死

#8

帖子 poloshiao » 2017-06-14 11:17

我最后一条指令有很多结果
上次開機到關機的錯誤訊息 包含很多種 但是不一定會影響正常操作
如果你有時間 也有興趣 可以 一個一個 拿到網路上 搜尋看看

如果有影響正常操作的 優先解決
你現在 有什麼地方 影響到正常操作
回复