LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2019, 07:06 PM   #1
helen314
Member
 
Registered: Jun 2019
Posts: 78

Rep: Reputation: 0
Analysing syslog to identify monitor freezing failure


Ever since installing my PC (Intel® Celeron(R) CPU J1900 @ 1.99GHz × 4 ) I have been having annoying problem with monitor freezing-up.
When that happens there is no response to keyboard or mouse.
The only way to "recover" is to power down / power up.
Most of the time I can get back to "same screen" I was in when it froze.
It will happen at random , regardless if there is I/O activity or not.
Most of the time it will freeze when (wireless) keyboard is in use, very seldom when (wired) mouse is in use. It will also happen when "video " is running.

I understand there are system logs I can analyse - one of them being syslog.

I can read the syslog and find approximate time of the failure.

Is there any other way to narrow the failure "window" time so I can start looking at reasonable place in the syslog?

Or is there another way to just look at "last before failure " activity
?


dmesg does not seems to help much to just look for "running" failures.
 
Old 07-05-2019, 04:36 AM   #2
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,642

Rep: Reputation: 277Reputation: 277Reputation: 277
Make things simple, how old is the hardware?
Maybe it's time to replace hdd.

or check out this links:
https://www.sans.org/brochure/course...ent-in-depth/6
https://www.aplura.com/wp-content/up...cheatsheet.pdf

Last edited by JJJCR; 07-05-2019 at 04:59 AM. Reason: edit
 
Old 07-05-2019, 08:07 AM   #3
helen314
Member
 
Registered: Jun 2019
Posts: 78

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JJJCR View Post
Make things simple, how old is the hardware?
Maybe it's time to replace hdd.

or check out this links:
https://www.sans.org/brochure/course...ent-in-depth/6
https://www.aplura.com/wp-content/up...cheatsheet.pdf
Thanks, the links are very useful.

Perhaps you missed "Ever since installing my PC..."
That implies this error is not a "recent addition ".
Also if it fails there must be a reason and that is what I am after - buying a new hardware won't tell me why it was failing.
 
Old 07-08-2019, 01:46 AM   #4
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,642

Rep: Reputation: 277Reputation: 277Reputation: 277
Wink

Quote:
Originally Posted by helen314 View Post
Thanks, the links are very useful.

Perhaps you missed "Ever since installing my PC..."
That implies this error is not a "recent addition ".
Also if it fails there must be a reason and that is what I am after - buying a new hardware won't tell me why it was failing.
If you can post the errors or the logs, maybe others can help what exactly is the issue.
 
Old 07-08-2019, 08:27 AM   #5
helen314
Member
 
Registered: Jun 2019
Posts: 78

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by JJJCR View Post
If you can post the errors or the logs, maybe others can help what exactly is the issue.
Yes, that would be nice , however, I am asking here how to narrow it down a little.
I do not fancy posting several hundreds line of error code.
 
Old 07-08-2019, 02:43 PM   #6
scasey
Senior Member
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.6
Posts: 3,827

Rep: Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294Reputation: 1294
Do we know what version of Linux you're running?
AFAIK, syslog is a program that manages logging, and not the log(s) themselves.

Narrow down things? Assuming log files are in /var/log directory, after freeze and reboot, do
Code:
ls -ltr /var/log
to identify which log files are most recently written to...they will be a the bottom of the list.

Then more (or less) the latest log file and look for the time of the freeze, which you noted when it happened.
On my CentOS 7 systems, I find /var/log/messages to be most useful unless I'm looking for issue with email, then I use /var/log/maillog or the various qmail logs.

Is your 'puter set to hibernate or suspend? Does it freeze if those functions are turned off?
 
Old 07-08-2019, 05:20 PM   #7
helen314
Member
 
Registered: Jun 2019
Posts: 78

Original Poster
Rep: Reputation: 0
Here is last catch.
I was watching u-tube video and it started to "reload " in the middle of it.
At least something I can try tu run again to see if it will fail same or similar way. .

BTW
I already know which log to watch for LAST entry.
I may have or may not mentioned that this "problem" has be from day one running Ubuntu.
I do suspect hardware (video ?) , but like to prove it.

I am currently on version 16 and have no intend to go to new one.



Quote:
Jul 8 15:52:06 z-desktop wpa_supplicant[1864]: enp3s0: Associated with 01:80:c2:00:00:03
Jul 8 15:52:06 z-desktop wpa_supplicant[1864]: WMM AC: Missing IEs
Jul 8 15:52:06 z-desktop NetworkManager[1682]: <info> [1562619126.5959] device (enp3s0): supplicant interface state: ready -> associated
Jul 8 15:52:30 z-desktop gnome-session[2223]: log4j:WARN No appenders could be found for logger (com.spotify.docker.client.DockerConfigReader).
Jul 8 15:52:30 z-desktop gnome-session[2223]: log4j:WARN Please initialize the log4j system properly.
Jul 8 15:52:31 z-desktop NetworkManager[1682]: <warn> [1562619151.4454] device (enp3s0): Activation: (ethernet) association took too long.
Jul 8 15:52:31 z-desktop NetworkManager[1682]: <info> [1562619151.4461] device (enp3s0): state change: config -> failed (reason 'no-secrets') [50 120 7]
Jul 8 15:52:31 z-desktop NetworkManager[1682]: <info> [1562619151.4465] manager: startup complete
Jul 8 15:52:31 z-desktop NetworkManager[1682]: <warn> [1562619151.4475] device (enp3s0): Activation: failed for connection 'Wired connection 1'
Jul 8 15:52:31 z-desktop wpa_supplicant[1864]: enp3s0: CTRL-EVENT-DISCONNECTED bssid=01:80:c2:00:00:03 reason=3 locally_generated=1
Jul 8 15:52:31 z-desktop NetworkManager[1682]: <info> [1562619151.4759] device (enp3s0): state change: failed -> disconnected (reason 'none') [120 30 0]
Jul 8 15:53:16 z-desktop gnome-session[2223]: *** BUG ***
Jul 8 15:53:16 z-desktop gnome-session[2223]: In pixman_region32_init_rect: Invalid rectangle passed
Jul 8 15:53:16 z-desktop gnome-session[2223]: Set a breakpoint on '_pixman_log_error' to debug
Jul 8 15:53:16 z-desktop gnome-session[2223]: *** BUG ***
Jul 8 15:53:16 z-desktop gnome-session[2223]: In pixman_region32_init_rect: Invalid rectangle passed
Jul 8 15:53:16 z-desktop gnome-session[2223]: Set a breakpoint on '_pixman_log_error' to debug
Jul 8 15:53:16 z-desktop gnome-session[2223]: *** BUG ***
Jul 8 15:53:16 z-desktop gnome-session[2223]: In pixman_region32_init_rect: Invalid rectangle passed
Jul 8 15:53:16 z-desktop gnome-session[2223]: Set a breakpoint on '_pixman_log_error' to debug
Jul 8 15:53:16 z-desktop gnome-session[2223]: *** BUG ***
Jul 8 15:53:16 z-desktop gnome-session[2223]: In pixman_region32_init_rect: Invalid rectangle passed
Jul 8 15:53:16 z-desktop gnome-session[2223]: Set a breakpoint on '_pixman_log_error' to debug
Jul 8 15:53:16 z-desktop gnome-session[2223]: *** BUG ***
Jul 8 15:53:16 z-desktop gnome-session[2223]: In pixman_region32_init_rect: Invalid rectangle passed
Jul 8 15:53:16 z-desktop gnome-session[2223]: Set a breakpoint on '_pixman_log_error' to debug
Jul 8 15:57:16 z-desktop gnome-session[2223]: *** BUG ***
Jul 8 15:57:16 z-desktop gnome-session[2223]: In pixman_region32_init_rect: Invalid rectangle passed
Jul 8 15:57:16 z-desktop gnome-session[2223]: Set a breakpoint on '_pixman_log_error' to debug
Jul 8 15:57:16 z-desktop gnome-session[2223]: *** BUG ***
Jul 8 15:57:16 z-desktop gnome-session[2223]: In pixman_region32_init_rect: Invalid rectangle passed
Jul 8 15:57:16 z-desktop gnome-session[2223]: Set a breakpoint on '_pixman_log_error' to debug
Jul 8 15:57:16 z-desktop gnome-session[2223]: *** BUG ***
Jul 8 15:57:16 z-desktop gnome-session[2223]: In pixman_region32_init_rect: Invalid rectangle passed
Jul 8 15:57:16 z-desktop gnome-session[2223]: Set a breakpoint on '_pixman_log_error' to debug
Jul 8 15:57:16 z-desktop gnome-session[2223]: *** BUG ***
Jul 8 15:57:16 z-desktop gnome-session[2223]: In pixman_region32_init_rect: Invalid rectangle passed
Jul 8 15:57:16 z-desktop gnome-session[2223]: Set a breakpoint on '_pixman_log_error' to debug
Jul 8 15:57:16 z-desktop gnome-session[2223]: *** BUG ***
Jul 8 15:57:16 z-desktop gnome-session[2223]: In pixman_region32_init_rect: Invalid rectangle passed
Jul 8 15:57:16 z-desktop gnome-session[2223]: Set a breakpoint on '_pixman_log_error' to debug
Jul 8 15:59:24 z-desktop wpa_supplicant[1864]: wlx00173ffc9a9c: WPA: Group rekeying completed with 28:cf:da:b0:30:67 [GTK=CCMP]
Jul 8 16:05:20 z-desktop systemd[1]: Starting Cleanup of Temporary Directories...
Jul 8 16:05:20 z-desktop systemd-tmpfiles[3698]: [/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.
Jul 8 16:05:20 z-desktop systemd[1]: Started Cleanup of Temporary Directories.
Jul 8 16:14:17 z-desktop kernel: [ 1442.684270] perf: interrupt took too long (2548 > 2500), lowering kernel.perf_event_max_sample_rate to 78250
Jul 8 16:17:02 z-desktop CRON[5027]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly)
Jul 8 16:22:29 z-desktop kernel: [ 1934.745765] perf: interrupt took too long (4599 > 3185), lowering kernel.perf_event_max_sample_rate to 43250
Jul 8 16:50:56 z-desktop org.gnome.evolution.dataserver.Sources5[2004]: ** (evolution-source-registry:2397): WARNING **: secret_service_search_sync: must specify at least one attribute to match
Jul 8 16:59:26 z-desktop wpa_supplicant[1864]: wlx00173ffc9a9c: WPA: Group rekeying completed with 28:cf:da:b0:30:67 [GTK=CCMP]
Jul 8 17:01:44 z-desktop rsyslogd: [origin software="rsyslogd" swVersion="8.16.0" x-pid="1734" x-info="http://www.rsyslog.com"] start
Jul 8 17:01:44 z-desktop rsyslogd-2222: command 'KLogPermitNonKernelFacility' is currently not permitted - did you already set it via a RainerScript command (v6+ config)? [v8.16.0 try http://www.rsyslog.com/e/2222 ]
Jul 8 17:01:44 z-desktop rsyslogd: rsyslogd's groupid changed to 108
Jul 8 17:01:44 z-desktop rsyslogd: rsyslogd's userid changed to 104
Jul 8 17:01:44 z-desktop rsyslogd-2039: Could not open output pipe '/dev/xconsole':: No such file or directory [v8.16.0 try http://www.rsyslog.com/e/2039 ]
Jul 8 17:01:44 z-desktop rsyslogd-2007: action 'action 10' suspended, next retry is Mon Jul 8 17:02:14 2019 [v8.16.0 try http://www.rsyslog.com/e/2007 ]
Jul 8 17:01:44 z-desktop systemd-modules-load[363]: Inserted module 'lp'
Jul 8 17:01:44 z-desktop systemd-modules-load[363]: Inserted module 'ppdev'
Jul 8 17:01:44 z-desktop systemd-modules-load[363]: Inserted module 'parport_pc'




 
Old 07-08-2019, 11:08 PM   #8
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,642

Rep: Reputation: 277Reputation: 277Reputation: 277
Have you tried which process consumes the most?

Quote:
top -b -n 1 | head -n 12 | tail -n 5
Above from this link: https://unix.stackexchange.com/quest...cesses-with-ps

Check out this link not sure if it will help, Reset GNOME

https://lifehacker.com/reset-gnome-w...esktop-5581364

Last edited by JJJCR; 07-08-2019 at 11:33 PM. Reason: edit
 
  


Reply

Tags
syslog


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Identify PCI and USB Wired and Wireless Driver in Linux – Identify PCI Driver. Ubuntu, Debian, LXer Syndicated Linux News 0 08-20-2014 07:21 AM
How to read "identify" button press event, or state of "identify" blue led with IPMI? iav Linux - Server 0 01-27-2009 01:13 PM
Exim Busy / Analysing logs etc MPK Linux - Software 1 02-06-2005 12:30 AM
please tell me about some circuit analysing(simulating) software? randika Linux - Newbie 4 11-18-2004 02:40 AM
Good Log analysing Tool lub0 Linux - Security 4 09-10-2003 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:44 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration