Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 07-26-2006, 11:43 AM   #1
Registered: Nov 2005
Distribution: SUSE 10.x
Posts: 39

Rep: Reputation: 15
Runlevel Help Needed

Here's the dilemna,

I'm running OpenSuse 10.0 x86_64

I have MythTV installed and [mythbackend] is listed in YaST under system\services/runlevel.

mythbackend shows runlevel 35 and is set to run automatically on startup.

It is not starting however.

I get this error "/etc/init.d/mythbackend start returned 6 (program is not configured)" when I try to start the (daemon?)

mythbackend is listed in /etc/init.d/mythbackend

I chmod a+x mythbackend
I chmod 666 mythbackend
I chkconfig --runlevel 35 mythbackend on

Nothing works.

Yes, the program works if I type mythbackend from the terminal/command line.


Last edited by paradox101; 07-26-2006 at 11:45 AM.
Old 07-26-2006, 02:01 PM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
You may have misinterpreted something you read: mythbackend shows runlevel 35 . There are only 6 runlevels. This probably should read: mythbackend shows runlevel 3,5, meaning runlevels 3 and 5.

chkconfig --runlevel 35 mythbackend on' would fail because there is no such thing as runlevel 35. Try the chkconfig command again, this way:
chkconfig --runlevel 3 mythbackend on
chkconfig --runlevel 5 mythbackend on
Old 07-26-2006, 09:19 PM   #3
Registered: Nov 2005
Distribution: SUSE 10.x
Posts: 39

Original Poster
Rep: Reputation: 15
If I understand you correctly,
You're saying I need to run chkconfig twice (2x. Once for runlevel 3 and again for runlevel 5?

So why does runlevel in YaST show 3 and 5?
Old 07-27-2006, 02:10 PM   #4
Registered: Nov 2005
Distribution: SUSE 10.x
Posts: 39

Original Poster
Rep: Reputation: 15
ok I looked at the init.d/mythbackend script and one of the targets was off by one directory. I fixed the directory structure, and now Mythbackend launches on bootup.

New problem - My configuration file is not allowing me to see my settings/tv/tv guide etc..

What is the difference between these two commands?

#:/etc/init.d/mythbackend start

Do both launch the program from the same location? I don't think so, but I have to ask.
Old 07-27-2006, 02:36 PM   #5
LQ Guru
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Have a look at the file /etc/init.d/mythbackend. It's only a script file, and typically would have a bit of checking before starting a program, neat shutdown and restart options, etc.
Old 07-27-2006, 03:18 PM   #6
Registered: Nov 2005
Distribution: SUSE 10.x
Posts: 39

Original Poster
Rep: Reputation: 15
Yea, I've looked at that already and I need to figure out the difference between the two previous commands to launch mythbackend because:

#:mythbackend (works)
#:/etc/init.d/mythbackend start (works but the config isn't correct) so if I can figure out where

#:mythbackend is being called from, I can figure out where the correct config file is.

is #:mythbackend called from /usr/bin/mythbackend ??


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
What's the difference between runlevel 2 and runlevel 5 in Debian? davidas Linux - Newbie 2 01-05-2012 01:10 PM
Soun Mixer absent in Runlevel 3 but present in Runlevel 5 debloxie SUSE / openSUSE 1 01-18-2006 09:15 AM
runlevel 4 and rc.M blian Slackware 5 05-11-2004 01:27 PM
runlevel eaglegst Linux - Software 1 02-23-2004 12:54 AM
X does not start in Runlevel 4, but i Runlevel 3 Rabon Linux - General 3 11-18-2003 06:24 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration