Linux - NewbieThis 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!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I ran /usr/local/bin/mythbackend stop and got the reply:
[root@localhost bin]# /usr/local/bin/mythbackend stop
Invalid argument: stop
Valid options are:
-l or --logfile filename Writes STDERR and STDOUT messages to filename
-p or --pidfile filename Write PID of mythbackend to filename
-d or --daemon Runs mythbackend as a daemon
-n or --noautoshutdonw Blocks the auto shutdown routine, so that the
backend will stay alive
-v or --verbose debug-level Prints more information
Accepts any combination (separated by comma)
--printexpire List of auto-expire programs
--printsched Upcoming scheduled programs
--version Version information
Any more clues would be helpful ?
P.S. I also tried the kill -15 process_id and it had no effect !
Last edited by il-uvatar; 04-26-2009 at 07:40 AM.
htop (in the terminal) is also good. Like top, it lists all the running processes. You can then highlight one, and kill it with the displayed menu options (in the case of htop, it would be pressing F9, then enter.) htop is a nicer display than top, I feel. Just install htop, and then killing processes is quite simple.
Actually, simply typing "killall mythbackend" would also work, I believe.
Last edited by mark_alfred; 04-26-2009 at 11:13 AM.
Distribution: Ubuntu, Debian, Various using VMWare
What's going on is that the process is being automatically restarted everytime it is killed. You can see this from the fact that the PID has changed the second time you run pstree.
Have you tried:
service mythbackend stop
Because MythBackend is a service, it is probably being monitored by some other process to ensure that it is always running. Obviously if you are running a MythTV box, you want the backend to restart if it crashes.
[root@localhost root]# service mythbackend stop
Cannot find mythbackend service
Usage: service -[Rfshv] SERVICE ARGUMENTS
-f|--full-restart: Do a fullrestart of the service.
-R|--full-restart-all: Do a fullrestart of all services currently running.
-s|--status-all: Print a status of all services.
-d|--debug: Launch with debug.
-h|--help: This help.
-v|--version: Print version.
You didn't tell us what distro you are using, but from the fact that you have the service command, it means it's a Red-Hat, Fedora, or, CentOS, or any other derivative.
Can you please do a
rpm -qa | grep myth
And paste the output here.
Please note that this will list all the versions of the packages with myth in their name that you have installed on your system. This is a security risk if you have any services publicly accessible on your pc. So please think about this before posting the output.