Results 1 to 4 of 4

Thread: SuSE Bad init scripts

  1. #1

    Angry SuSE Bad init scripts

    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

    Code:
    # /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

    Code:
    :~> 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

  2. #2

    Default Re: SuSE Bad init scripts

    solved,


    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

  3. #3

    Default Re: SuSE Bad init scripts

    -----BEGIN PGP SIGNED MESSAGE-----
    Hash: SHA1

    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.

    Good luck.





    beatbreaker wrote:
    > solved,
    >
    >
    > 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'
    > (http://www.mythtv.org/wiki/Opensuse_11.x)
    >
    >

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v2.0.9 (GNU/Linux)
    Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

    iQIcBAEBAgAGBQJLOpjUAAoJEF+XTK08PnB5XAIP/A/uqpfLBKtUYaITf6pif3Pi
    I7YUYK452W4Jjo/Zt/vuU779wGMdI2qg1JdR8rT810BsPupKIlZt1TEgrscOUdFl
    ZASZxKp/c62xidgfwh+d0bF9zETVn6Cokq0A8uJ6FZDr5pDikeVoPbbp8z5x9pN7
    5sduDNcZALbYQsIUrVqWJk8gbdsmKccsdQoY2yYReVzTZQoQNX/Vs5/OwHW+wse4
    TTByHMvYjyfBSowJ8h5Dhlf+aLWrOZ+qjVJpLlyHr5/H4hqXZl05iCiEOTE+ZzpI
    tCwO/m+4/Wli9rBzy+1fFmc4w5ISEOkGv/aiIONzQX3xgVQWN58T+++PEVLwLCbh
    qcZh97ZBcjcp5mFCRghcdiITZkrXUMB8oQY24N2YtVYK2QP3Ihpa8j4Ci8m1Mlt0
    8mRS90/0KTDF8lvDWh6MkPt+hRnzIt+wMTU3PgBfPFUpX3GJtAuXARNmpdRqRFGc
    2DtJKL1EIVxcxqpFlS4JCXozRpRUQWQaSKuIc4YGbQ6Bxi9pizbAtu02QNMlB5CM
    24Kf9f4Jf8Bjrt6CyySo7SEtOiv6pWnOddvC9k3eFmCoElebOc87hs4k3Myg+jsG
    z2yw0uzNp/cWemlC3MMgeOPpvDRA8mKnW/ey/3NMutycdsqS27JahQvGY3AzlpL2
    0Nw46nFyihgXL4LQBpzL
    =ADmK
    -----END PGP SIGNATURE-----

  4. #4
    Join Date
    Jun 2008
    Location
    UTC+10
    Posts
    9,686
    Blog Entries
    4

    Default Re: SuSE Bad init scripts

    Quote Originally Posted by beatbreaker View Post
    seems like there's an issue with my init scripts

    Code:
    # /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
    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:

    Code:
    if [ ! -r $CONFIG ]
    then
       echo $CONFIG not existing
    fi
    Look for the problem locally before you widen the blame.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •