LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 04-02-2007, 08:28 AM   #1
nick623
Member
 
Registered: Dec 2004
Distribution: Fedora, Ubuntu
Posts: 83

Rep: Reputation: 15
random restarts?


I usually leave my computer on 24 hrs a day. Lots of times I'll leave it on with Firefox open connected to the net. Recently I have noticed usually over nite or getting back from work when I go to my computer I'm greeted with the login screen. And when I restart Firefox it gives me the dialog box to restore my previous session because it closed unexpectedly.

I figure If I'm greeted with the login screen either it rebooted or just logged out suddenly. This usually happens overnite and at least once a day sometimes twice.

Anybody have similar experience?

Any ideas?

Thanks.
 
Old 04-02-2007, 08:36 AM   #2
ramram29
Member
 
Registered: Jul 2003
Location: Miami, Florida, USA
Distribution: Debian
Posts: 848
Blog Entries: 1

Rep: Reputation: 47
Are you sure it's not a hardware problem?
 
Old 04-02-2007, 08:47 AM   #3
nick623
Member
 
Registered: Dec 2004
Distribution: Fedora, Ubuntu
Posts: 83

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by ramram29
Are you sure it's not a hardware problem?
I thought it might be a power management or screensaver issue.
Didn't think it could be a hardware issue. What hardware could cause these symptoms?
 
Old 04-02-2007, 09:43 AM   #4
sAbEr
LQ Newbie
 
Registered: Oct 2004
Distribution: Mandrake 10
Posts: 10

Rep: Reputation: 0
It could be a power supply issue, seeing as you leave your computer on overnight all the time. Swap it for another one and see if it still restarts randomly.
 
Old 04-02-2007, 09:43 AM   #5
Linville79
Member
 
Registered: Nov 2006
Location: Indiana, U.S.A.
Distribution: Red Hat Enterprise Linux, Fedora, CentOS
Posts: 134

Rep: Reputation: 16
Motherboard, Processors, RAM, Power Supply, etc.

Basically, anything that would send an error to the kernel that the system needs to reboot because of an uncorrectable problem.

Could even be an overheating issue because of a faulty fan.

You're going to have to just dig in and do some troubleshooting at this point to narrow it down.
  • Take a quick case and proc fan inventory to ensure that they are all spinning up to proper rpm. Maybe even spend 15 min cleaning out the dust that has gathered in the machine.
  • Take a look at your /var/log/messages files to see if you can determine what exactly was happening at the time of reboot.
  • Also, if you're running the smartd service, it might point you to the potentially failing hardware devices.

Those are the places that I'd start if it were my machine.
 
Old 04-02-2007, 06:13 PM   #6
nick623
Member
 
Registered: Dec 2004
Distribution: Fedora, Ubuntu
Posts: 83

Original Poster
Rep: Reputation: 15
Well apparently this issue has been discussed to death on ubuntuforums.org. This message on my /var/log/syslog file:

"Apr 2 07:36:00 newbie-desktop syslogd 1.4.1#18ubuntu6: restart."

is merely the syslogd service restarting not my computer.

Now why I'm receiving these messages when I'm not using the computer:

"Apr 1 14:55:39 newbie-desktop gconfd (newbie-29525): Received signal 15, shutting down cleanly
Apr 1 14:55:43 newbie-desktop gconfd (newbie-29525): Exiting"

And what is killing the gdm daemon randomly I suspect may have to do with the gnome-screensaver. Several posts on ubuntuforums have said not using "random" for the screensaver or using the option "blank" have stopped the random gdm crashes. I'm going to try some of these options overnight and see what happens.

Here is a link to one such post:
http://www.ubuntuforums.org/showthre...random+restart

Any input appreciated.
 
Old 04-04-2007, 06:16 PM   #7
sickdude
LQ Newbie
 
Registered: Mar 2005
Distribution: red hat *, fedora core *, gentoo, slackware, ubuntu
Posts: 27

Rep: Reputation: 15
most of the time when computers restart out of the blue its a heat problem.

there is loads of software that can monitor that so you can check the logs for detailed information
 
Old 04-04-2007, 06:20 PM   #8
nick623
Member
 
Registered: Dec 2004
Distribution: Fedora, Ubuntu
Posts: 83

Original Poster
Rep: Reputation: 15
Well I have had the gnome-screensaver set to "blank" and not random. And I haven't been greeted by the login screen. I'm going to set my gnome-screensaver to something else and see the results. But something about the screensaver running for a long time is killing my gnome sessions. Maybe it's memory issue. I have a old ATI integrated video card with only 4 MB's of ram. Maybe be X is killing for that?
Interesting.
 
Old 04-04-2007, 06:23 PM   #9
anomie
Senior Member
 
Registered: Nov 2004
Location: Texas
Distribution: RHEL, Scientific Linux, Debian, Fedora, Lubuntu, FreeBSD
Posts: 3,930
Blog Entries: 5

Rep: Reputation: Disabled
Quote:
I figure If I'm greeted with the login screen either it rebooted or just logged out suddenly. This usually happens overnite and at least once a day sometimes twice.
How about using uptime to confirm that it's really rebooting. (Seems questionable after reading this thread.)
 
Old 04-05-2007, 06:11 PM   #10
nick623
Member
 
Registered: Dec 2004
Distribution: Fedora, Ubuntu
Posts: 83

Original Poster
Rep: Reputation: 15
It's not my computer rebooting I figured that out. It's the fact that if I leave my gnome-screensaver on over nite on "random"(haven't tested other screensaver options yet) gdm is killed and I'm left at the login display.
I'm just wondering if it could be the one particular screensaver from the "random" option is consuming too much cpu resources or memory and it's forcing X to kill gdm and thus logging off.
I haven't really found a reason for this in the ubuntuforums yet.
 
Old 05-08-2007, 03:07 PM   #11
Richard Hitt
LQ Newbie
 
Registered: May 2007
Location: Mountain View, CA
Distribution: Fedora
Posts: 1

Rep: Reputation: 0
Random Restarts

I have the same symptom as nick623. I'm running Fedora Core 6, automatically updated overnight via yum. I leave this box on all the time. Lately I've come in in the morning to find the one and only user i log on as, logged off. The value of "uptime" is 14 days, so it's certainly not the case that there's been a power outage or my computer has rebooted.

In all the cases I've investigated, these few lines appear in /var/log/messages:

gconfd (rbh00-10121): Received signal 15, shutting down cleanly

--- followed 30s later by

gconfd (rbh00-12474): GConf server is not in use, shutting down.

I note that xscreensaver was updated Apr 23 to version "1:5.02-1.fc6"; it feels right to say that this symptom started at about that time. I've seen others here mention that this might be due to xscreensaver problems. I'd had "Advanced" screensaver settings set to uncheck "Power Management Enabled" but a few days ago checked it, and set "Off After" to 0 minutes. This seemed to ameliorate the problem, which before that seemed to be happening every morning; but it still happens maybe 50% of mornings. Standby After is set to 120min, Suspend After is set to 0 min.

I may decide to backlevel my xscreensaver, just to see what happens.
 
  


Reply


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
KDE Random wallpaper or script to create symbolic links to random files cvelasquez Linux - Software 2 02-26-2007 06:48 PM
Computer restarts after syslogd restarts birdseye Linux - General 2 03-05-2006 04:27 AM
Random restarts with 2005 LE and Geforce 6600gt PCI-Express TravisOSF Mandriva 2 05-04-2005 07:17 PM
Still X Random restarts redhatnoob Linux - General 2 02-17-2004 04:25 PM
Random X restarts on new install tomser Linux - Hardware 6 09-07-2003 09:32 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration