LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   Hardware or Software? (https://www.linuxquestions.org/questions/ubuntu-63/hardware-or-software-4175591412/)

Chris.Bristol 10-14-2016 12:14 PM

Hardware or Software?
 
1 Attachment(s)
I have recently installed a new operating system on a computer I haven't used before. It hangs occasionally (every couple of days), neither the keyboard nor mouse will work. I haven't found any key combination that will escape from it - perhaps not possible in that situation anyway.

I have looked in /var/log/syslog, but don't know what I'm looking for. Is there anything that would indicate whether the problem was software or hardware?

I need to know whether there is something wrong with the computer before I commit to using it.

ardvark71 10-14-2016 04:35 PM

Quote:

Originally Posted by Chris.Bristol (Post 5618035)
I have recently installed a new operating system on a computer I haven't used before. It hangs occasionally (every couple of days), neither the keyboard nor mouse will work. I haven't found any key combination that will escape from it - perhaps not possible in that situation anyway.

Hi Chris...

What is the brand and model (and model number) of the system and is it a desktop or laptop? One thing you can do for starters is to run Memtest86+ for a few hours (at least 30 passes) and see if any errors come up.

Quote:

Originally Posted by Chris.Bristol (Post 5618035)
I have looked in /var/log/syslog, but don't know what I'm looking for. Is there anything that would indicate whether the problem was software or hardware?

If you would, please post a copy of the log so folks can go through it, if they wish.

Quote:

Originally Posted by Chris.Bristol (Post 5618035)
I need to know whether there is something wrong with the computer before I commit to using it.

Absolutely. :)

Regards...

syg00 10-14-2016 06:53 PM

Is that a couple of days continuous running, or do you shutdown/hibernate during that period ?. If the former its likely hardware.
I suspect by now Canonical has fully committed to systemd, so journalctl should work for logs. Try this to see the last 20 lines from your previous boot to see if anything interesting occurred.
Code:

journalctl -b -1 -n 20

Chris.Bristol 10-16-2016 02:04 PM

Quote:

Originally Posted by syg00 (Post 5618156)
Is that a couple of days continuous running, or do you shutdown/hibernate during that period ?. If the former its likely hardware.

I switch it on in the morning and leave it on most of the day.
Quote:

Code:

journalctl -b -1 -n 20

It gave this response: "Specifying boot ID has no effect, no persistent journal was found"

syg00 10-16-2016 05:34 PM

Quote:

Originally Posted by Chris.Bristol (Post 5618815)
"Specifying boot ID has no effect, no persistent journal was found"

Seriously ?.
No wonder I gave up on Ubuntu years ago.
Code:

man journald.conf


All times are GMT -5. The time now is 01:31 AM.