View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Thu Dec 18, 2003 8:37 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
What is the best way to restart the mythfront when it locksup?

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 18, 2003 9:40 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
well if it only locked the frontend you can ssh into the box and kill the frontend then go back and restart mythtv from the desktop, but if the whole machine is locked up and you can't ssh in then you just have to hit the power button.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 18, 2003 10:22 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
How does one restart the frontend server? I only know how to do the backend:

root /etc/init.d/mythtv-backend restart

Also, if I restart X... shouldn't that kill mythtv?

Thanks for the support :)

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 18, 2003 10:30 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
graysky wrote:
How does one restart the frontend server? I only know how to do the backend:

root /etc/init.d/mythtv-backend restart

well the frontend is not actually a server it's just a program and as such you can't really restart it. what you can do is get into the computer remotely using ssh and kill it. that will drop you back to the desktop then you click on it and click mythtv from the menu and you will get mythfrontend back.

Quote:
Also, if I restart X... shouldn't that kill mythtv?

Thanks for the support :)


yes if you restart X it will kill and restart mythtv, because mythfrontend is in the startup scripts for the window manager.

note that restarting X will not restart the backend.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 18, 2003 3:51 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
I always control the box via SSH. Don't flame me for this rather newbie quesiton, but: how do I kill the front end? I do not see it running from top. Also, when i restart X, it doesn't go down.

Thanks again all!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 18, 2003 4:01 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
well I can assure you that when you restart X mythfrontend does go down. what you are seeing is that it comes right back up because the X startup scripts start it.

top only shows some of the processes. to see them all you do

ps -ae

or probably better ps -ae | more or ps -ae | less

because the output will be more than one screen long. once you see that a process is running you can kill it in one of two ways.

the process list will look something like this.
1171 ? 00:00:00 epiphany
1173 ? 00:00:00 epiphany

the number on the left is called the pid and the name on the right is the name of the process so you can either do

kill pid
or
killall processname

if it won't kill that way you can put a -9 in there. basically this means kill with extreame prejudice. or I don't care if it's doing something or will break the system go ahead and kill it, so use with caution.

as in

kill -9 1171 (from the example above)
or
killall -9 epiphany (from the example above)


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 18, 2003 4:32 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
In other words...
killall -9 mythfrontend

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 18, 2003 4:56 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
yeah I just hate telling people to always do kill or killall -9 unless they know it could really screw things up if they use it on the wrong process.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Dec 18, 2003 7:14 pm 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Thanks for the infomation all.

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu