[Solved] MPD won't play when started via systemd

When I try to play from mpd (after starting it from systemd with "systemctl start mpd"), nothing happens. In ncmpcpp, when I press play, it quickly shows play and then immediately goes to "paused". When I start MPD normally from the command line (just by running "mpd"), it works fine, but for some reason, some conflict is being caused by systemd.
Is there anywhere I should start to look? I don't really know how to troubleshoot it, as I don't know how to make it log without running it from the command line.
EDIT: I set up systemd --user and wrote a service for it. It seems that mpd was running as root and caused some permissions issues.
Last edited by miscsubbin (2013-06-11 01:03:34)

Raynman wrote:
Output ends up in the journal by default.
When starting "normally", do you also start mpd as root (since there is no "--user" in your systemctl call)?
I just checked and it is running as root, however, when I do
systemctl --user enable mpd
I get:
Failed to issue method call: Process /bin/false exited with status 1

Similar Messages

  • Audio won't play when I'm skimming through clips on iMovie

    The audio of the clips I have on iMovie won't play when I'm skimming through them, but will play when I play the clips. I made sure the volume of every clip and on the computer works (it does) but this is getting really annoying. Can anyone please help me out?

    To Reboot your computer, select /Shutdown... from the top menu. Wait a few seconds, then turn your computer back on with the on switch.
    You don't really have to know what a swapfile is, but here is a simplified explanation.
    Your computer comes with a processor (Intel 2.8 ghz in my case), memory (2GB in my case), and a hard drive (500GB in my case).
    The processor is very fast. The memory holds the instructions and the data that the processor will work on next. Long term storage is kept on the hard drive, which is slower. Think of the following metaphor: You are sitting at a desk. You are the processor. Your desktop is the memory, which contains the stuff you are ready to act on. Stuff you have already acted on, or will not need until later, is in the drawers or in a file cabinet (the hard drive).
    Let's say you are working in several applications at once: iMovie, Microsoft Word, iTunes, Calendar, and Safari. Each of these programs needs some of your memory to function, and to get stuff to the processor for action. If you add all the memory requirements up, it may be more than the 2GB of "real" memory that you have. Fortunately, OSX lets you use virtual memory, so your programs can pretend they have as much memory as they need. Your programs can address memory as if they had a whole bunch of memory all to themselves.
    This is done through swapfiles. When there is more virtual memory than real memory, the programs and data that have been used least recently are swapped out to hard disk in a swapfile. This file is not the permanent storage. It is the temporary parking place for memory when the real memory is being used by another application.
    So lets say you want to use iMovie. It might take up 1GB out of your 2GB. There is not room, so OSX looks around and sees that you haven't used iTunes in a while. So the itunes instructions and music about to be played is swapped our to a swapfile on the harddisk.
    If you decide you want to listen to iTUnes, you will have to wait a few seconds as iTunes is swapped back in to real memory, and something else is swapped out.
    This is a simple case. It can get more complicated.
    But, as you run more and more programs, the real memory gets used up and there might be seven or eight swapfiles out on disk. At some point, OSX gets sluggish and has a hard time dealing with this. For example, if two large swapfiles needed to be paged in at the same time, there might not be room. Also, the real memory can get fragmented, and have open space, but the open space is not big enough to swap something in.
    I run a free utility called Memory Stick that shows me how many swapfiles I currently have. If I am working on something critical in iMovie, and I notice that I have a lot of swapfiles, I will usually just reboot and start over with 1 swapfile. In doing this, I hope to avoid the spinning beach ball that happens when OSX can't handle it any more.
    You don't really need to know this. OSX handles it for you. But understanding how it works can help you self-diagnose some problems from time to time.

  • Some of the songs I have downloaded onto i tunes won't play when I select it to do so.  The error message I get is "The song could not be used because the original file could not be found.  Would you like to locate it?"  How can I get my songs to play?

    Some of the songs I have downloaded into i tunes won't play when I select it to do so.  The error message I get is "The song can not be used because the original file can not be found.  Would you like to locate it?"  When I select yes I'm sent to a screen that has my i tunes library listed.  When I select the song in question I'm asked if I would like to open the song.  When I select this option I get nothing.  The songs I have downloaded must be somewhere because they are listed in my i tunes library and on the screen I've been sent to.  I can't the songs to play however.  This is not true of all of my songs but it is true of quite a few of them.  Actually, one song is too many.    How do I get my music to play that seems to be locked up somewhere in the computer?

    Presuming they're on your computer, right click on them and then follow the prompts to locate hte file on your computer.

  • Video/Movie won't play when exported as a PDF.

    Hello,
    I am creating an interactive PDF using CS5 to display video work. Unfortunately, the video won't play when exported as an interactive PDF, I am just left with blank space. I find this very odd as it plays in preview and also when exported as a SWF but that file type is unsuitable for the project.
    Initially when I exported it I got this message: "One or more of the interactive elements are clipped in ways the pdf files can't reproduce...." Obviously, I have ensured the file is resized correctly and also tried .mov, .mp4 and also .flv file types with no success. I have also checked the simple things like ensuring all the right boxes are ticked when I export.
    This is not the first time I have embedded video but it is the first time without success despite following the same pattern. Any ideas as to why this would be and how to fix it?
    Thank you,
    Laura

    Use Flv or f4v format, after you have placed video into your layout, make sure that you don´t scale or crop video frame at all.
    (Whren you File > Place a video, you will have a loaded cursor with video icon. Click the empty spot on page with loaded cursor, don´t draw a rectangle or click on the top of some exisiting frame)
    It´s important that you have your video in 100% encoded size in your layout. If you need to scale or crop it, load that video into Adobe Media Encoder and do it there, and re-encode the video to the correct size and shape aftrwards.
    Adobe Media Encoder ships with InDesign.

  • FLVs won't play when fully loaded (but do play while still loading?)

    With the new flash player (10,1,82,76), my FLVs won't play when they are fully loaded. Previous versions had no problems.
    Curiously, they will play if I click the play button while they are still loading.
    Any ideas are greatly appreciated!

    Well, I found a workaround. If I use myflvplayer.seek(0) before calling myflvplayer.play(), it will work since I am not allowing users to pause.
    Lame.

  • Hype widget; audio won't play when previewing on iPad

    Hi,
    I've come across a strange 'bug' in iBooks Author. Hope someone can help.
    I made a widget using Tumult's Hype software. It has multiple scenes, audio and animated text. When previewing the widget in Hype everything works fine. But here comes the strange part;
    When I insert the hype widget in an empty iBooksAuthor book the animation and audio works fine when previewing on my iPad2. But when i insert the widget in my iBook, wich has already ten pages filled with text, reviews, etc., the animation work, but the audio won't play when previewing on my iPad.
    People from Tumult helped me, but were not able to fix this.
    So in an empty book the widget from Hype works fine, but when inserting the widget in a book that has some pages the audio won't play! How can i fix this?
    Thanks for the support!

    Hi,
    I've come across a strange 'bug' in iBooks Author. Hope someone can help.
    I made a widget using Tumult's Hype software. It has multiple scenes, audio and animated text. When previewing the widget in Hype everything works fine. But here comes the strange part;
    When I insert the hype widget in an empty iBooksAuthor book the animation and audio works fine when previewing on my iPad2. But when i insert the widget in my iBook, wich has already ten pages filled with text, reviews, etc., the animation work, but the audio won't play when previewing on my iPad.
    People from Tumult helped me, but were not able to fix this.
    So in an empty book the widget from Hype works fine, but when inserting the widget in a book that has some pages the audio won't play! How can i fix this?
    Thanks for the support!

  • Movie won't play from start to finish

    I'm an idiot I know but I'm editing my first movie and can't find the answer to this in the online brochure. Here's the problem:
    1. I've assembled all of my clips in the video track.
    2. Have not inserted any transitions because I was having trouble with the "overlap" transition. "Add" button was grayed out.
    3. Whenever I try to play the movie to see how all the clips work with each other, the movie ends at the end of the first clip. I know I'm doing something wrong but I don't know what!!! Can anybody help me out there?
    I'd buy you a beer if you were here!

    Carl and Sweet Polly,
    You guys rock! That was it, I only had the first clip highlighted. When I highlighted everything the movie played from start to finish. Also, learned something new too. I couldn't get the overlay transitions to work so I rebooted, upgraded to os 10.4.11, upgraded Quicktime and now they work. Thanks for your quick response! I probably won't through my computer off the balcony for at least another day now! : > )
    Adgiant

  • Audio only plays when started from the beginning?

         Hi! I'm fairly new to flash, i'd consider myself a beginner, but recently i've been tasked with making an animation for someone! There is a song playing in the animation, it's a wav and it's on its own layer. There are also drawings i imported in too.
         My problem is, i want to be able to sync up the little drawings to the words of the song, but the audio only plays when i start at 0 on the timeline. If i were to start at let's say frame 24, it won't play. Does anyone know how to fix this? This commission needs to be finished by Wednesday and it's a S L O W process, having to start it over only to hear like one or two words later on

    change the sync property (in the properties panel after clicking the keyframe where your sound starts) from event to stream.  retest.

  • ITunes videos won't play when artwork is changed

    I have some of my own Quicktime videos that I've imported into iTunes (10.1.2) and they play fine. However, when I change the artwork to something custom (like a jpg of a screencap) the file will no longer play within iTunes. My Macbook Pro still plays it from Finder, and it works fine on my iPad, but not on iTunes.
    To add insult to injury, if I then delete the artwork, it still won't play. It's like the file itself has become corrupted. I have to reimport it all over again from another source.

    Found another problem. If I playback the file in iTunes, pause it, then right-click and hit "Set Poster Frame," the file also gets locked up. Plus it never actually changes the poster frame / artwork.

  • [Solved] Amarok won't play music

    First off I think I've finally found the Linux distro I'm happy with (and I've tried many of them). EXCELLENT distro.
    But back to the reason for this post; I recently installed Arch with KDE4 (vanilla) and everything works no problem except for Amarok. Amarok opens and runs completely fine except for the fact that it won't actually play any music. The sound on any other program works perfectly so its not a general sound issue. The same mp3 files that won't play in Amarok WILL play in VLC so I'm guessing it's not a codec problem either.
    I've searched for an answer around the internet and this forum and nothing helped. I tried messing around with the devices and backends (xine and Gstreamer) and nothing. Also of note is when i click "Test" in the Amarok sound configuration to test the hardware it works.
    So I click on a song in Amarok to play and it just won't. Any ideas?
    Last edited by herrvideman (2010-01-11 22:11:10)

    herrvideman wrote:
    Upgraded to Amarok testing version (2.2.1.90) and switched the backend to xine (I guess Gstreamer was buggy with Amarok) and it now works.
    Thanks for the help!
    Yes it will. You only need to add testing and community-testing and when you'll update it will update amarok to. Or if you don't want to use testing daily just do
    pacman -Sy amarok
    And disable testing after it.
    It should work.
    PS.: oh didn't see your post there
    Last edited by Primoz (2010-01-11 22:16:46)

  • Audio soundtrack won't play when burn to DVD or save to a file!  HELP!

    When I edit and playback a video project, the soundtrack plays back fine.  But when I burn to DVD or export to a file, the soundtrack is silent.  It DOES still play audiotracks that are from the original video footage, but it won't play the soundtrack song that I added to the video.  I have this problem only when I make a HD version.  The sountrack source file is in standard WAV format (44.1 khz).  The project settings include:
    Editing mode HDV 1080i
      Timebase 29.97 frames/sec
      Video frame size 1440x1080
    Thank you for your help!!!

    Glad that it worked.
    As to why the Fixed Soundtrack sometimes has issues, I haven't a clue. What version of PrE are you working on?
    Several users have reported issues with both the Fixed Soundtrack, and Narration Tracks, not working properly, but those cases seem to be Project specific, in that when the same users use those Fixed Tracks, in other Projects, everything works fine. In every case, that I can recall, the "fix" has been to Move the Audio Clips to an empty "regular" Audio Track.
    The issues seem to have cropped up in about PrE 7, and continued through PrE 9. Again, because the problems with those Tracks, seems to be Project related, it is tough to diagnose what the real "cause" is. To date, I do not recall anyone having the issues in PrE 10, but maybe no one has hit the right combo of criteria (we have never been able to nail down what those criteria are) in a Project, to cause the problems.
    Wish that we could track the problem down to something specific, so we could just say, "Don't do that," but we do not know what "that" is. Until we do, we'll just keep recommending that users Move the Clips to another regular Audio Track.
    Good luck,
    Hunt

  • .mov from iPhone won't play when downloaded using mail

    And when my daughter sends me movies from her iPhone. Some play, some don't when downloaded using Apple Mail. They all play when downloaded using Gmail. They all play within the mail App on my iPad.
    When viewing the information on these files in Finder, the difference seems to be that in the ones that do play, a codec appears likeTin the image:

    Scuba Steve,
    Sorry, I did click on varkgirl's link instead of yours at first. But clicking on your link, I think I know what you problem is. I think that you problem is that the footer on your page is obscuring the movie controller bar and not letting you click on it. I've been trying to tell people on this forum off and on to pay attention to the values in the Inspector Page tab. What you need to do first is to go under the View menu and select "Show Layout" so you can see what is happening. Now go to the Inspector and click on the Page tab. You will see a set of values that define your page dimensions. What you need to do is to adjust the value for Content Height so that it actually encompasses all of your page content. The space for page content actually dynamically resizes things as you drag them down the page, but this value never changes from the default. It has always been my feeling that this leads to problems in the rendering of pages (depending on browser) because it gives the browser some leeway in how it renders the footer-to-body transition. This can lead to shifting of images up the page or something like you have, which is inadvertant obscuring of elements by the footer element.
    So adjust the Content Height to something like 1100. You should see the footer bar in the layout move down. Now fine adjust it so that it is closer to the bottom of your QT movie without obscuring the controller bar. Now republish. I think that you will see that you controller bar now works. BTW. Double clicking on the movie frame will always work as play/pause, too, as you have found.
    Let me know if this solves your problem.

  • Midi recording won't play when keyboard is off

    Hello all! I thank you for answering my last beginner question. Now I have another for you.
    I've gotten my Korg M1 to work by replacing the battery and downloading the factory sounds - not an easy task for a beginner. I've since tried to record from the keyboard onto Logic 8. I have the keyboard hooked up to an M-audio fast track pro and can hear the sounds through my headphones. Everything seems to be working but when I record a track (after choosing external midi device and choosing a channel from the fast track pro option in logic's library), it won't play back unless the keyboard is on. When I turn the keyboard back on, it plays back in the first sound from the sound menu (prob grand piano).
    Any and all help is greatly appreciated!

    You need to use a Program Change message for each of the MIDI tracks that are playing your M1. Look at the Inspector at the left hand side of the Logic Arrange window and tick the box where it says 'Program', then choose the number of the program you want your M1 to play, so that this will be kept when you save your arrangement.
    You'll need to take an audio output from the M1 back to your interface to record as an audio track (create/select an audio track, select the correct Inputs on your interface and arm it). You can mute MIDI tracks except for the one you want to record and record one track at a time that way.

  • IMovie Audio Files Won't Play when the File is Moved

    I imported a lot of audio files into iMovie from my desktop and I set them out how I wanted them in my project. But as my desktop was getting too cluttered, I had to move the audio files into a different folder in my documents, but now the audio files won't play and a warning icon is on each audio clip. Is there a simple way to relocate the files, without moving the files back to my desktop and without having to set out my all my audio files all over again?

    Besides the two files you mentioned in your post, you also need to upload YOUR .swf as well. Then you need to upload your music file/folder.
    Also double check that the path to your mp3 is correct RELATIVE to the location of the Web page that you placed the .swf on, NOT the physical location of the .swf.
    var req:URLRequest = new URLRequest("../Sound/dreamsSound1.mp3");
    This needs to be the path from the WEB PAGE to the mp3, NOT the path from the physical location of the .swf.
    Once you have the pathing correct, it should NOT work when testing in Flash CS4, because the path to the mp3 needs to be RELATIVE to the Web page.
    Best wishes and Good Luck!
    Adninjastrator

  • Ipad apps won't load when connected via Comcast wifi

    We are trying out Comcast for 30 days. We already had Uverse so right now we have both. When connect via Uverse everything works fine on my iPad as always has. Internet access, apps load etc. when I switch over to the Comcast wifi, I can access internet just fine. Sped test are all hella fast. But for some reason a few of my apps/games won't load. for example I have a price is right bingo game. It will not load when connected via Comcast. I get an error that say it won't connect and to check my internet access. and my internet access will be working fine.  If I switch back over to uverse the game will load.  There are a couple other apps doing the same thing. Anyone seen this before? I have an iPad Air 2 on iOS 8.1.2

    Hello, SockMonkeyGirl.  
    Thank you for visiting Apple Support Communities.  
    I understand that you are unable to use your internet based applications when connected to the Comcast network only.  I would recommend making sure that this Comcast network settings are updated to the recommend as outlined below.  Also make sure that all firewalls are disabled as well.  
    iOS and OS X: Recommended settings for Wi-Fi routers and access points
    http://support.apple.com/en-us/HT202068
    Cheers, 
    Jason H.  

Maybe you are looking for