Forum     

Go Back   Digit Technology Discussion Forum > Software > Open Source
Register FAQ Calendar Mark Forums Read

Open Source A place where you can talk to like-minded people about the fastest growing software movement today! Discuss anything and everything about Open Source software and Operating Systems.


Closed Thread
 
LinkBack Thread Tools Display Modes
Old 12-03-2007, 05:21 PM   #1 (permalink)
In The Zone
 
unni's Avatar
 
Join Date: Mar 2006
Location: Thiruvananthapuram (Now in Bengaluru)
Posts: 386
Default What to do if a system component crashes?


Hi,
Eventhough the need for this hasn't occured except may be once, I would like to know what to do if one of the following component crashes so that I can resume work without rebooting the pc. Also, please mention how to kill that component so that I can restart it again.

1. KDE
2. GNOME
3. X
4. Sound
5. Network (I am using ADSL)
6. Firewall
7. Keyboard & Mouse
8. Force a system wide refresh/update so that new settings will get reflected (both in KDE & GNOME)
9. Force a hardware re-detection

I know that a few of them can be achieved by "service name restart". But I am not confident of using them until I hear it from you guys. Also, if you know any other component, please mention them also. I want to ensure a reboot free life.
unni is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 12-03-2007, 05:31 PM   #2 (permalink)
18 Till I Die............
 
Join Date: Jul 2004
Location: India, Mumbai, Marine Lines
Posts: 5,792
Default Re: What to do if a system component crashes?

Quote:
Originally Posted by unni
1. KDE
2. GNOME
3. X
ctrl + alt + bkspace
Quote:
Originally Posted by unni
4. Sound
never seen that happen.
Quote:
Originally Posted by unni
5. Network (I am using ADSL)
no clue as I haven't used these types of connections
Quote:
Originally Posted by unni
6. Firewall
If I am not wrong iptables is built into kernel so no way it can fail unless it's a problem with kernel. But, would like to know more on this one.
Quote:
Originally Posted by unni
7. Keyboard & Mouse
Quote:
Originally Posted by unni
8. Force a system wide refresh/update so that new settings will get reflected (both in KDE & GNOME)
Isn't it applied instantaneously or just by logging out and logging back in?
Quote:
Originally Posted by unni
9. Force a hardware re-detection
Why? New hardware is monitored for all the time.
Quote:
Originally Posted by unni
I know that a few of them can be achieved by "service name restart".
this is only for FC not for linux in general.
__________________
http://www.bash.org/?258908
mehulved is offline  
Old 12-03-2007, 05:37 PM   #3 (permalink)
Debian Rocks!
 
freebird's Avatar
 
Join Date: Feb 2007
Location: Coimbattore
Posts: 528
Post Re: What to do if a system component crashes?

for refreshing the X use xrefresh -white command.
and u know that most of the services can be restarted..
For GNOME,it got a gnome-panel applet "force-quit" just add it to the panel and press it and press the failing gui app for killing the app sudden.
Redhat fedora uses lokkit for cofiguring iptables,even ubuntu debian too.u can set it easy.
For HW detection,kudzu for RH based distros and " discover --enable-all" for Debian based distros.
For sound u can restart alsa,use alsactl -d store to save volume control.
keyboard and mouse?
__________________
"The day windows users wake up to reality, it will be doomsday for Microsoft."UNIX like OS are more secure.get urself out 4m M$ http://whylinuxisbetter.net http://tinyurl.com/2amjjc http://fsf.org

Last edited by freebird; 12-03-2007 at 05:43 PM.
freebird is offline  
Old 13-03-2007, 09:08 PM   #4 (permalink)
In The Zone
 
unni's Avatar
 
Join Date: Mar 2006
Location: Thiruvananthapuram (Now in Bengaluru)
Posts: 386
Default Re: What to do if a system component crashes?

Does Ctrl+Alt+Backspace restart X? While testing different settings in some games, if the game crashes, desktop won't regain its native 1024x768 resolution. In such situations, the only method I know is to reboot.
Quote:
Originally Posted by tech_your_future
never seen that happen.
After installing Kubuntu, I had to change my default sound card from the onboard one to the PCI one. For that I had to edit a file, after which if I knew how to restart sound system, I could have avoided a restart.
Quote:
If I am not wrong iptables is built into kernel so no way it can fail unless it's a problem with kernel. But, would like to know more on this one.
What I was actually thinking was to enforce a firewall policy change. Now I understand that Guarddog and Firestarter can do it easily.

Quote:
Originally Posted by freebird
for refreshing the X use xrefresh -white command.
For GNOME,it got a gnome-panel applet "force-quit" just add it to the panel and press it and press the failing gui app for killing the app sudden.
For sound u can restart alsa,use alsactl -d store to save volume control.
Doesn't xkill do the same as force-quit?
Did you mean "alsactl restore" when you typed alsactl -d? I haven't tried any of these yet.

About the keyboard redetection: I have been experiencing a strange problem with my Kubuntu for the past 3 days. While I am typing something, suddenly, the keyboard response becomes too slow. For example, if earlier the key repetition rate was 5 characters per second, now it becomes 1 per 10 second. I experienced this problem only when I am posting something here using Firefox. At first I thought it was because of my Microsoft USB keyboard. So I attached my PS2 keyboard also. But still the problem occurs. Reconnecting to another port won't help either. In the past 3 days, it has happened 7 times. Once it happens, I have to reboot. Everything else including mouse functions normally. So, I was thinking if I could make Kubuntu redetect the keyboard, may be I could avoid a reboot. (I was actually thinking about posting this as a different thread soon, after testing in Mandriva.)

Anyway, thank you guys for replying so soon. Sorry for the delay from my part. I was looking for the remaining methods.
unni is offline  
Old 16-03-2007, 11:50 PM   #5 (permalink)
El mooooo
 
eddie's Avatar
 
Join Date: Jan 2006
Location: India
Posts: 1,414
Default Re: What to do if a system component crashes?

Install htop from your software manager and keep it running in a terminal window. Now, when this keyboard sluggishness happens, look at htop window and see whether your CPU usage is very high or not. If it is...look which application is eating away the CPU cycles. I have seen this happen with Beagle running on my Gentoo system. Since then I keep beagle disabled.
eddie is offline  
Closed Thread

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Sujeet
- by clmlbx
- by Sujeet
- by icebags

Advertisement




All times are GMT +5.5. The time now is 10:56 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2