LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-20-2021, 08:43 PM   #1
kevindd992002
Member
 
Registered: May 2019
Posts: 58

Rep: Reputation: Disabled
Cannot access Debian 10 server after "apt update && apt upgrade" until physical reboot


So I did the usual "apt update && apt upgrade" on two of my Debian 10 boxes and did a reboot. The upgrade process went just fine. I had no issues with one of the boxes as it came up pretty quick after reboot and I can access it through SSH as usual.

For the other box though, I was waiting for it to come back up by pinging it continuously and it never did until I needed to go to the actual server itself and powered it off using the power button (without holding it, just one press, so I assume this is not a force shutdown) and then it came back up as normal and I can access it through SSH again. Which log file should I be checking to see what happened why I was not able to access the server after that first reboot after the upgrade?
 
Old 06-20-2021, 09:21 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
For something like this, I'd start with /var/log/syslog, /var/log/messages, and /var/log/kern.log.

You may find this article helpful: https://vitux.com/how-to-watch-or-mo...-in-debian-10/

Last edited by frankbell; 06-20-2021 at 09:21 PM. Reason: More info
 
Old 06-21-2021, 12:19 AM   #3
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
And the journal, assuming vanilla Debian, and persistent logging is on (it should, on a server):
Code:
journalctl -b -1
for the last boot, or
Code:
journalctl
for EVERYTHING.

In any case, you need to find the relevant timeframe.
 
Old 07-23-2021, 03:39 AM   #4
kevindd992002
Member
 
Registered: May 2019
Posts: 58

Original Poster
Rep: Reputation: Disabled
Got it, thanks!
 
Old 07-23-2021, 04:50 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by kevindd992002 View Post
Got it, thanks!
How is this an answer to a request for troubleshooting information?
If your problem is SOLVED, please mark it so, and share the solution.
 
Old 07-23-2021, 06:10 AM   #6
kevindd992002
Member
 
Registered: May 2019
Posts: 58

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by ondoho View Post
How is this an answer to a request for troubleshooting information?
If your problem is SOLVED, please mark it so, and share the solution.
Wh can't you just tell me to mark the thread as solved without being condescending? Really, what is wrong with you?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Blue screen after apt-get update && apt-get upgrade && ... N0N3 Debian 5 08-02-2018 05:29 PM
LXer: Debian 11 "Bullseye" and Debian 12 "Bookworm" Are Coming After Debian 10 "Buster" LXer Syndicated Linux News 0 04-18-2018 12:26 PM
Offline apt-get update && apt-get upgrade M0nteZ Linux - Software 4 08-12-2016 06:41 PM
sudo apt-get update && sudo apt-get upgrade hallve_revera Linux - Newbie 6 01-10-2009 09:37 AM
reboot freezes after yast update run, reboot for kernel update sparkbot Linux - Software 2 11-15-2006 06:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration