Hi, i’m just trying to do a basic task in getting a mythbackend working on SuSE. Arch Linux seemed to handle this no problems so i suspected that SuSE would be easier.
seems like there’s an issue with my init scripts
# /etc/init.d/mythbackend start
/etc/sysconfig/mythbackend not existing
this process has no issues running as a daemon with the given switch, so it’s clearly a problem of SuSE
:~> mythbackend -d
2009-12-30 10:13:54.127 mythbackend version: branches/release-0-22-fixes [Unknown] www.mythtv.org
2009-12-30 10:13:54.128 Using runtime prefix = /usr
2009-12-30 10:13:54.128 Using configuration directory = /home/michael/.mythtv
2009-12-30 10:13:54.128 Empty LocalHostName.
2009-12-30 10:13:54.128 Using localhost value of suse
2009-12-30 10:13:54.137 New DB connection, total: 1
2009-12-30 10:13:54.146 Connected to database 'mythconverg' at host: localhost
2009-12-30 10:13:54.146 Closing DB connection named 'DBManager0'
michael@suse:~> 2009-12-30 10:13:54.149 Connected to database 'mythconverg' at host: localhost
2009-12-30 10:13:54.153 Current MythTV Schema Version (DBSchemaVer): 1244
2009-12-30 10:13:54.155 MythBackend: Starting up as the master server.
2009-12-30 10:13:54.159 New DB connection, total: 2
2009-12-30 10:13:54.160 Connected to database 'mythconverg' at host: localhost
2009-12-30 10:13:54.185 New DB connection, total: 3
2009-12-30 10:13:54.188 Connected to database 'mythconverg' at host: localhost
2009-12-30 10:13:56.005 New DB scheduler connection
2009-12-30 10:13:56.006 Connected to database 'mythconverg' at host: localhost
2009-12-30 10:13:56.073 Enabling Upnpmedia rebuild thread.
2009-12-30 10:13:57.459 Main::Registering HttpStatus Extension
2009-12-30 10:13:57.461 Enabled verbose msgs: important general
2009-12-30 10:13:57.463 AutoExpire: CalcParams(): Max required Free Space: 1.0 GB w/freq: 15 min
2009-12-30 10:13:59.050 Reschedule requested for id -1.
2009-12-30 10:13:59.196 Scheduled 0 items in 0.1 = 0.00 match + 0.14 place
2009-12-30 10:13:59.200 Seem to be woken up by USER
2009-12-30 10:14:06.082 UPnpMedia: BuildMediaMap VIDEO scan starting in :/share/Movies/dvd:
2009-12-30 10:14:06.084 UPnpMedia: BuildMediaMap Done. Found 0 objects
If you do not need to source the init script you can also comment out the
line doing so which came with the /etc/skel command.
> if you have this
>> # /etc/init.d/mythbackend start
>> /etc/sysconfig/mythbackend not existing
> here is the work around
>> ls -la /etc/sysconfig/mythbackend ; touch /etc/sysconfig/mythbackend
> then resstart the daemon
>> su -
>> /etc/init.d/mythbackend start
> thanks to <BManojlovic> for the help. I was following this guide when
> the problem occured: ‘Opensuse 11.x - MythTV’
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
Nope, as you found out, the init script was simply doing what it was programmed to do, look for a config file in sysconfig. You could have found this out by reading the init script, it probably had something like:
if ! -r $CONFIG ]
echo $CONFIG not existing
Look for the problem locally before you widen the blame.