<---- template headericclude ----->
F15: Cannot start mediatomb (systemd)
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2008
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    F15: Cannot start mediatomb (systemd)

    Hi there, I am trying to start mediatomb, however it won't run (not in 'ps' listing) but no error messages or log files are generated. If I add 'set -x' to /etc/init.d/mediatomb I don't see any additional output when using 'service mediatomb start' and, in fact, I don't see any of the output from echo statements in the init.d file either. Does systemd suppress output from /etc/init.d files? Is there a way of getting additional info when trying to start a service?

    Attached are my /etc/mediatomb.conf and /etc/mediatomb/config.xml files (I know the config.xml file is OK as I've been using it for years on previous machines).

    Cheers,
    Andy
    Attached Files Attached Files

  2. #2
    Join Date
    Mar 2008
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F15: Cannot start mediatomb (systemd)

    I finally managed to get this working by explicitly turning off the use of systemctl/systemd from within /etc/init.d/mediatomb by setting the following environment variable before including /etc/rc.d/init.d/functions:

    Code:
    SYSTEMCTL_SKIP_REDIRECT=1
    If this variable is not set then systemctl tries to start 'mediatomb.service' which it seems to think has succeeded. , even though it doesn't exist.

  3. #3
    Join Date
    Aug 2009
    Location
    Waldorf, Maryland
    Posts
    7,343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F15: Cannot start mediatomb (systemd)

    Success from systemd's point of view is the exit status of the script.

    If it exits with a 0, systemd assumes it started normally.

  4. #4
    Join Date
    Mar 2008
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F15: Cannot start mediatomb (systemd)

    Why is systemctl/systemd even involved with mediatomb when all the functionality to start and stop it is within /etc/init.d/mediatomb?

  5. #5
    Join Date
    Aug 2009
    Location
    Waldorf, Maryland
    Posts
    7,343
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: F15: Cannot start mediatomb (systemd)

    Because that is what the systemd developers decided.

    systemd tries to do everything - inetd, system initialization, process monitoring, process restart, system shutdown, network monitoring...

    And in my opinion misses the boat. It looses logs, it overintegrates all system functioning into a monolithic blob making it hard to operate non-systemd processes.
    Last edited by jpollard; 17th October 2011 at 06:02 PM.

Similar Threads

  1. mediatomb transcoding to PS3
    By hiberphoptik in forum Using Fedora
    Replies: 3
    Last Post: 14th July 2015, 09:09 AM
  2. Mediatomb + WMP12
    By marverix in forum Using Fedora
    Replies: 9
    Last Post: 26th July 2011, 10:28 AM
  3. mediatomb: where have you been (ps3 streaming)?
    By tja1618 in forum Reviews, Rants & Things That Make You Scream
    Replies: 1
    Last Post: 8th September 2010, 01:32 PM
  4. Mediatomb 0.12 help
    By pstrang in forum Using Fedora
    Replies: 11
    Last Post: 15th July 2010, 05:33 AM
  5. Any mediatomb and Ps3 users out there.
    By sophosrex in forum Using Fedora
    Replies: 5
    Last Post: 12th February 2008, 05:01 PM

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
  •  
[[template footer(Guest)]]