Morning Crashes in Ubuntu
Morning you came to your UBUNTU machine and tried to boot it.
Expecting a normal day, you wait for the app you were working everyday.
But suddenly the app that was working till yesterday night is not working.
Dont worry!!! This is common especially if you are working in an Ubuntu machine.
Solution
1. Rewind yourselves. What happened yesterday. Did you do an update or install a new software?
2. Roll-back the updates
3. Possibly you cannot rollback.
Mine looks like :
Start-Date: 2019-03-05 12:46:23
Commandline: /usr/bin/unattended-upgrade
Upgrade: openssh-client:amd64 (1:7.2p2-4ubuntu2.7, 1:7.2p2-4ubuntu2.8)
End-Date: 2019-03-05 12:46:49
Start-Date: 2019-03-06 13:07:00
Commandline: /usr/bin/unattended-upgrade
Install: linux-image-4.15.0-46-generic:amd64 (4.15.0-46.49~16.04.1, automatic), linux-headers-4.15.0-46:amd64 (4.15.0-46.49~16.04.1, automatic), linux-headers-4.15.0-46-generic:amd64 (4.15.0-46.49~16.04.1, automatic), linux-modules-extra-4.15.0-46-generic:amd64 (4.15.0-46.49~16.04.1, automatic), linux-modules-4.15.0-46-generic:amd64 (4.15.0-46.49~16.04.1, automatic)
Upgrade: linux-image-generic-hwe-16.04:amd64 (4.15.0.45.66, 4.15.0.46.67), linux-generic-hwe-16.04:amd64 (4.15.0.45.66, 4.15.0.46.67), chromium-codecs-ffmpeg-extra:amd64 (71.0.3578.98-0ubuntu0.16.04.1, 72.0.3626.119-0ubuntu0.16.04.1), linux-headers-generic-hwe-16.04:amd64 (4.15.0.45.66, 4.15.0.46.67)
End-Date: 2019-03-06 13:11:39
Start-Date: 2019-03-06 14:21:32
Commandline: aptdaemon role='role-commit-packages' sender=':1.114'
Upgrade: locales:amd64 (2.23-0ubuntu10, 2.23-0ubuntu11), multiarch-support:amd64 (2.23-0ubuntu10, 2.23-0ubuntu11)
Remove: linux-headers-4.15.0-43:amd64 (4.15.0-43.46~16.04.1), linux-modules-4.15.0-43-generic:amd64 (4.15.0-43.46~16.04.1), linux-headers-4.15.0-43-generic:amd64 (4.15.0-43.46~16.04.1), linux-modules-extra-4.15.0-43-generic:amd64 (4.15.0-43.46~16.04.1), linux-image-4.15.0-43-generic:amd64 (4.15.0-43.46~16.04.1)
End-Date: 2019-03-06 14:22:23
Roll back using the command sudo apt-get install linux-headers-4.15.0-43:amd64 linux-modules-4.15.0-43-generic:amd64 linux-headers-4.15.0-43-generic:amd64 linux-modules-extra-4.15.0-43-generic:amd64 linux-image-4.15.0-43-generic:amd64
I did this because my jupyter-notebook was not running (it showed Kernal is starting): A connection to the notebook server could not be established. The notebook will continue trying to reconnect. Check your network connection or notebook server configuration.
Expecting a normal day, you wait for the app you were working everyday.
But suddenly the app that was working till yesterday night is not working.
Dont worry!!! This is common especially if you are working in an Ubuntu machine.
Solution
1. Rewind yourselves. What happened yesterday. Did you do an update or install a new software?
2. Roll-back the updates
3. Possibly you cannot rollback.
this command gedit
/var/log/apt/history.log
gives the summary of updates done.
Mine looks like :
Start-Date: 2019-03-05 12:46:23
Commandline: /usr/bin/unattended-upgrade
Upgrade: openssh-client:amd64 (1:7.2p2-4ubuntu2.7, 1:7.2p2-4ubuntu2.8)
End-Date: 2019-03-05 12:46:49
Start-Date: 2019-03-06 13:07:00
Commandline: /usr/bin/unattended-upgrade
Install: linux-image-4.15.0-46-generic:amd64 (4.15.0-46.49~16.04.1, automatic), linux-headers-4.15.0-46:amd64 (4.15.0-46.49~16.04.1, automatic), linux-headers-4.15.0-46-generic:amd64 (4.15.0-46.49~16.04.1, automatic), linux-modules-extra-4.15.0-46-generic:amd64 (4.15.0-46.49~16.04.1, automatic), linux-modules-4.15.0-46-generic:amd64 (4.15.0-46.49~16.04.1, automatic)
Upgrade: linux-image-generic-hwe-16.04:amd64 (4.15.0.45.66, 4.15.0.46.67), linux-generic-hwe-16.04:amd64 (4.15.0.45.66, 4.15.0.46.67), chromium-codecs-ffmpeg-extra:amd64 (71.0.3578.98-0ubuntu0.16.04.1, 72.0.3626.119-0ubuntu0.16.04.1), linux-headers-generic-hwe-16.04:amd64 (4.15.0.45.66, 4.15.0.46.67)
End-Date: 2019-03-06 13:11:39
Start-Date: 2019-03-06 14:21:32
Commandline: aptdaemon role='role-commit-packages' sender=':1.114'
Upgrade: locales:amd64 (2.23-0ubuntu10, 2.23-0ubuntu11), multiarch-support:amd64 (2.23-0ubuntu10, 2.23-0ubuntu11)
Remove: linux-headers-4.15.0-43:amd64 (4.15.0-43.46~16.04.1), linux-modules-4.15.0-43-generic:amd64 (4.15.0-43.46~16.04.1), linux-headers-4.15.0-43-generic:amd64 (4.15.0-43.46~16.04.1), linux-modules-extra-4.15.0-43-generic:amd64 (4.15.0-43.46~16.04.1), linux-image-4.15.0-43-generic:amd64 (4.15.0-43.46~16.04.1)
End-Date: 2019-03-06 14:22:23
Roll back using the command sudo apt-get install linux-headers-4.15.0-43:amd64 linux-modules-4.15.0-43-generic:amd64 linux-headers-4.15.0-43-generic:amd64 linux-modules-extra-4.15.0-43-generic:amd64 linux-image-4.15.0-43-generic:amd64
I did this because my jupyter-notebook was not running (it showed Kernal is starting): A connection to the notebook server could not be established. The notebook will continue trying to reconnect. Check your network connection or notebook server configuration.
Comments
Post a Comment