Author Topic: Computer locks up/freezes randomly  (Read 2224 times)

Offline MtnMan

  • Sr. Member
  • ****
  • Posts: 258
  • Aged to perfection
Re: Computer locks up/freezes randomly
« Reply #15 on: May 24, 2012, 07:07:18 PM »
dj> not sure but you may have hit the nail on the head.  Looking at
Quote
/var/log/security.log (as root user) to see if directory permissions and chkrootkit were running at the time of the system "lockup"
I see that msec was running at "about" that time and there were some many messages around that time that seem unrelated to msec.  I often get the msec messages but never any lockups - I just unchecked msec in PCC to see (out of curiosity) if the crons stop.  Just not sure what to make of all the messages.  Will look there right away if it happens again.
I worry that the person who thought up Muzak may be thinking up something else. - Lily Tomlin

Offline trustytrev

  • Sr. Member
  • ****
  • Posts: 471
Re: Computer locks up/freezes randomly
« Reply #16 on: May 25, 2012, 06:03:33 AM »
Hello,
       
Quote
Look at /var/log/security.log (as root user) to see if directory permissions and chkrootkit were running at the time of the system "lockup". You'll have to scroll down to the end of the file to see the most current events.
I looked in the file with Krusader-root-mode but It lists from May 1 14:06:51 through to May 31 14:06:51 halfway through. ??? How do I know if the 25 May is the relevant data for 2012?Or is it an indication of something wrong?
trustytrev :)
If there's a harder way to do something I'll probably find it.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Computer locks up/freezes randomly
« Reply #17 on: May 25, 2012, 03:30:13 PM »

How do I know if the 25 May is the relevant data for 2012?Or is it an indication of something wrong?
trustytrev :)


Sorry, I don't understand what you're asking.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline trustytrev

  • Sr. Member
  • ****
  • Posts: 471
Re: Computer locks up/freezes randomly
« Reply #18 on: May 26, 2012, 02:53:12 PM »
Hello,
      I was referring to the Date/time for the entries in  /var/log/security.log (as root user)I am presuming as they go up to May 31 I may be looking at logs for 2011.
trustytrev.
If there's a harder way to do something I'll probably find it.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Computer locks up/freezes randomly
« Reply #19 on: May 26, 2012, 07:49:56 PM »
I don't know. What results do you get from the following?

date
ls -l /var/log/security.log


Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline trustytrev

  • Sr. Member
  • ****
  • Posts: 471
Re: Computer locks up/freezes randomly
« Reply #20 on: May 27, 2012, 09:07:25 AM »
Hello,
I don't know. What results do you get from the following?

date
ls -l /var/log/security.log




[trevor@madhouse ~]$ date
Sun May 27 16:24:53 BST 2012
[trevor@madhouse ~]$ ls -l /var/log/security.log
-rw-r----- 1 root adm 256087 May 31  2011 /var/log/security

 ???
trustytrev. :)
If there's a harder way to do something I'll probably find it.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Computer locks up/freezes randomly
« Reply #21 on: May 27, 2012, 03:54:40 PM »
Well, your system date is right. Except it looks like security.log may not be rolling over. One year is very old for that file. Are you looking at the very bottom of the text file when you read it, or at the very top of the file?
Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline trustytrev

  • Sr. Member
  • ****
  • Posts: 471
Re: Computer locks up/freezes randomly
« Reply #22 on: May 28, 2012, 03:10:28 AM »
Hello,
       It goes from May 1 at the top to May 31 at the bottom.
trustytrev.
If there's a harder way to do something I'll probably find it.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Computer locks up/freezes randomly
« Reply #23 on: May 28, 2012, 03:15:49 PM »
Hello,
       It goes from May 1 at the top to May 31 at the bottom.
trustytrev.

What's the result of:

rpm -qa | grep logrotate
cat /etc/logrotate.conf


Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline pclinmike

  • Hero Member
  • *****
  • Posts: 637
  • I Only 'Clean' Windows !.
Re: Computer locks up/freezes randomly
« Reply #24 on: May 28, 2012, 04:14:21 PM »
Hello,
      I have noticed a number of computers freezing up randomly.The mouse  and keyboard fail to operate and the only way to regain control is to press the reset button and do a hard restart.It occurs on my computers and a relatives.They all run KDE fully updated.
trustytrev. :)

I have had a similar thing happen, I have a 'CPU' widgets on my desktop  and some times I notice the CPU maxing out (at 100% ) when I have Firefox running and locking everything up, sometimes if you leave for some time it sorts its self out, other times I use "Press,alt, and sys rq and then type 'reisub'" to reboot.
Using 'system monitor'      'Firefox' was using 56% also 'Plugin containe' was using a lot of CPU as well.
Michael.
From South-Derbyshire, England.U.K.Earth.

I Normally Do A Search Before I Post A New Question !.

Thanks to all who replied to my posts.

Offline trustytrev

  • Sr. Member
  • ****
  • Posts: 471
Re: Computer locks up/freezes randomly
« Reply #25 on: May 29, 2012, 03:36:39 AM »
Hello,
     
Quote
What's the result of:

rpm -qa | grep logrotate
cat /etc/logrotate.conf
[trevor@madhouse ~]$ rpm -qa | grep logrotate
logrotate-3.7.9-2pclos2011
[trevor@madhouse ~]$ cat /etc/logrotate.conf
# Mandriva logrotate configuration
# $Id: logrotate.conf 533703 2010-04-12 15:43:25Z eugeni $

# rotate log files weekly
weekly

# keep 4 weeks worth of backlogs
rotate 4

# create new (empty) log files after rotating old ones
create

# allow missing log
missingok

# do not rotate empty files
notifempty

# uncomment this if you want your log files compressed
compress
delaycompress

# RPM packages drop log rotation information into this directory
include /etc/logrotate.d

# no packages own lastlog, wtmp, or btmp -- we'll rotate them here
/var/log/wtmp {
    create 0664 root utmp
    rotate 1
}

/var/log/btmp {
    create 0600 root utmp
    rotate 1
}

# system-specific logs may be configured here


trustytrev.
If there's a harder way to do something I'll probably find it.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Computer locks up/freezes randomly
« Reply #26 on: May 30, 2012, 01:53:27 AM »
trustytrev,

I don't see anything out of the ordinary there. This may go back to a time when there was a problem with logrotate. Let's update the file's date and time, then check it on June 1st to see if it has rolled over.

su
touch /var/log/security.log
exit


The touch command will give the security.log the current date and time. If the file did not already exist, an empty file would be created.

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378

Offline trustytrev

  • Sr. Member
  • ****
  • Posts: 471
Re: Computer locks up/freezes randomly
« Reply #27 on: May 30, 2012, 09:20:04 AM »
Hello,
      Ive done that.I'll come back with the results tomorrow.
Thanks.
trustytrev. :)
If there's a harder way to do something I'll probably find it.

Offline trustytrev

  • Sr. Member
  • ****
  • Posts: 471
Re: Computer locks up/freezes randomly
« Reply #28 on: June 02, 2012, 08:24:02 AM »
Hello,
     Here is the result of the commands today.
[trevor@madhouse ~]$ date
Sat Jun  2 15:42:20 BST 2012
[trevor@madhouse ~]$ ls -l /var/log/security.log
-rw-r----- 1 root adm 256087 May 30 16:38 /var/log/security.log

I guess this means I still have a problem?
trustytrev. :)
If there's a harder way to do something I'll probably find it.

Offline djohnston

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6227
  • I don't do Windows
Re: Computer locks up/freezes randomly
« Reply #29 on: June 02, 2012, 11:42:25 AM »
trustytrev,

What's in the log now?

su
cat /var/log/security.log | tail -20
exit


Yeah, It looks like maybe the log file isn't being written to at all. What about other files in the /var/log directory? Are they current?

Bare metal                           VBox
AMD Athlon 7750 Dual-Core    Single core
4GiB RAM                              1GiB RAM
nVidia GeForce FX 5200          64MB video
LXDE 32bit                            KDE 64bit

Registered Linux User #416378