[SOLVED] Multiple issues preventing MPD from starting

Hey, Arch noob here. I installed MPD and ncmpcpp according to the Wiki. However, I cannot get MPD to run.
Terminal output after running the mpd --verbose --no-daemon command:
config_file: loading file /etc/mpd.conf
server_socket: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
fatal_error: Failed to set group 45: Operation not permitted
This is the journal output, after systemctl start mpd:
Sep 10 23:37:34 arch sudo[7173]: lightning : TTY=pts/3 ; PWD=/ ; USER=root ; COMMAND=/usr/bin/systemctl start mpd
Sep 10 23:37:34 arch sudo[7173]: pam_unix(sudo:session): session opened for user root by (uid=0)
Sep 10 23:37:34 arch sudo[7173]: pam_unix(sudo:session): session closed for user root
Sep 10 23:37:35 arch mpd[7176]: server_socket: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
Sep 10 23:37:35 arch mpd[7176]: mapper: Failed to stat directory "/mnt/DATA/Music": Permission denied
Sep 10 23:37:35 arch mpd[7176]: errno: Failed to open database file "/var/lib/mpd/mpd.db": No such file or directory
Sep 10 23:37:35 arch dbus[246]: [system] Activating via systemd: service name='org.freedesktop.Avahi' unit='dbus-org.freedesktop.Avahi.service'
Sep 10 23:37:35 arch dbus[246]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.Avahi.service': Unit dbus-org.freedesktop.Avahi.service failed to load: No such file or directory.
Sep 10 23:37:35 arch mpd[7176]: state_file: failed to open /var/lib/mpd/mpdstate: No such file or directory
Sep 10 23:37:35 arch mpd[7176]: update: Failed to stat /mnt/DATA/Music: Permission denied
My /etc/mpd.conf, just for kicks:
# See: /usr/share/doc/mpd/mpdconf.example
user "mpd"
pid_file "/run/mpd/mpd.pid"
db_file "/var/lib/mpd/mpd.db"
state_file "/var/lib/mpd/mpdstate"
playlist_directory "/var/lib/mpd/playlists"
music_directory "/mnt/DATA/Music"
audio_output {
type "alsa"
name "Intel [HDA Intel]"
mixer_type "software" # optional
DATA is a NTFS partiton mounted to /mnt/DATA through fstab, as explained in the Beginner's Guide (I think).
If you need more information or would like me to change something in this post, feel free to ask.
Thanks!
Last edited by noobshit (2014-09-14 01:00:54)

I believe the permissions should already be set, according to my fstab:
# /dev/sdb1
UUID=984791e7-1af3-4d5d-9a9b-b1c363a0d73a / btrfs rw,relatime,space_cache 0 0
# /dev/sdb5 LABEL=DATA
UUID=480DD2BD2018AB6E /mnt/DATA ntfs rw,nosuid,nodev,relatime,uid=lightning,gid=users 0 2
# /dev/sda1 LABEL=Sistema\134x20Reservado
UUID=58C633D5C633B1DC /mnt/winC ntfs rw,nosuid,nodev,relatime,uid=lightning,gid=users 0 2
# /dev/sda2
UUID=966A33666A334273 /mnt/win2 ntfs rw,nosuid,nodev,relatime,uid=lightning,gid=users 0 2
# /dev/sda3
UUID=3632E40132E3C449 /mnt/win3 ntfs rw,nosuid,nodev,relatime,uid=lightning,gid=users 0 2
/DATA/Music /var/lib/mpd/music none bind
The usb drive has no hardware switch, and thunar mounted it I believe, through either gvfs or thunar-volman. I did find this entry in journalctl:
Sep 11 22:01:32 arch kernel: ntfs: (device sdd1): load_system_files(): $LogFile is not clean. Mounting read-only. Mount in Windows.
Probably because I didn't eject it the last time I used it...

Similar Messages

  • Is there a way to prevent iTunes from starting up when connecting an iPad to my Macbook?

    Is there a way to prevent iTunes from starting up when connecting an iPad to my Macbook?  We use Apple Configurator and would love to be able to set up the MacBook to open Apple Configurator when we  plug in an iPad.

    When you connect the device open iTunes and select it from the sidebar. Click on the Summary tab in the main window. Uncheck the option to automatically connect to iTunes. You will find it in the collection of options near the lower part of the window.

  • Is there a way to prevent iTunes from starting up when I connect my iPad?

    Is there a way to prevent iTunes from starting up when I connect my iPad?  We use apple configurator and would prefer to have that open up, if possible.

    When you connect the device open iTunes and select it from the sidebar. Click on the Summary tab in the main window. Uncheck the option to automatically connect to iTunes. You will find it in the collection of options near the lower part of the window.

  • Hey there, whenever i try to start iTunes in my laptop amsg coming up saying : data execution prevention prevented iTunes from starting (Dep), would you Pls help me out.I have windows vista installed.

    hey there, whenever i try to start iTunes in my laptop amsg coming up saying : data execution prevention prevented iTunes from starting (Dep), would you Pls help me out.I have windows vista installed.

    No, i do not have quickTime player.
    I have tried to close dep off for iTunes but failed to do so as i got a msg that iTunes can't work without Dep in execution data prevention.

  • Prevent iChat from starting at login

    How do I prevent iChat from starting at login? I looked in my account login items and it is not listed there. I shut the app completely before shutting down the computer so it shouldn't be automatically be relauncing due to the "reopen windows" setting in Lion. Just can't figure it out. Any help would be appreciated.

    Hi,
    With iChat Open check the Window Menu about which windows are actually open
    The App should be Quit at the end rather than hitting the red blobs on the windows (this only closes/Hides the windows and does not Quit the app)
    Are you getting Off Line IMs when it starts up ?
    If this is the case it is a "feature" rather than a fault although you don't have a lot of control over it.
    In earlier versions the support app iChatAgent  "Listens" to the AIM Server in particular and will answer if an Off Line IM is sent.
    If iChat is closed down iChatAgent will launch it.
    In iChat 6 this is done by IMAgent (it does the same job for FaceTime if it's preferences are set to ON but the app is not launched)
    Most likely it is a window that belongs to iChat that is not getting closed.
    At the same time it may not be in view  (the Window Menu should give clues).
    It could be Off Line IMs
    9:47 PM      Monday; January 23, 2012
    Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
      iMac 2.5Ghz 5i 2011 (Lion 10.7.2)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
    "Limit the Logs to the Bits above Binary Images."  No, Seriously

  • Snippet to start one an element and prevent another from starting

    I need help. I need a snippet to start one an element and prevent another from starting. they are at the same place in the timeline and need to be there for other elements. but right now when I click one the other plays also how do I stop one from playing when the other is clicked?

    I need it to show. its a header and a footer that move in and out. but they need to stay on the same timeline in order for the side controls that move in and out from the side. because when they play they move the header in and out. lol did you get that? Thanks for the comment.

  • Prevent iTunes from starting sync?

    I'm sure there must be a way to do this - my iPods are set to automatically begin syncing when connected, but I'd like to either stop it once started or prevent it from starting so I can change some of the options first. Is that possible?
    thanks.
    Sally

    You can use a keyboard command to prevent your iPod auto-syncing with iTunes. While connecting the iPod to the computer on Windows hold down the Shift + Ctrl keys together. This will stop the iPod from auto-syncing with iTunes and the iPod will appear in the source list. Wait until you are sure the iPod has mounted, and that it will not auto sync and then you can let the keys go. This may take between 20 to 30 seconds depending on your computer: iTunes - Keyboard Shortcuts for Windows

  • How do I prevent Skype from starting automatically on arch linux?

    there was point in the settigs "General" folder, but now i can't see it, so how should i prevent this from autostart?I don't use pulseaudio, so i have apulse - pulseaudio emulation tool to use skype without pulseaudio and have modified my skype shortcut to run with itWhen skype autostart - it doesn't use apulse so there is no sound and i have to restart it. thats annoyingAlso i don't use skype to much so i don't need it to autostart even if i had pulseaudioSo, how will i prevent it from autostart?

    I know this is an old post but this is a quite common and relevant topic with which I've spent sometime and would like to drop the solution, at least for Fedora 22 under KDE. In order to avoid skype to start at startup/login (which is quite annoying and a privacy invasion) I just deleted the file /etc/prelink.conf.d/skype.conf and that was it.(let's see if this post is up in the skype forum for long ?!)

  • Defunct RFC destination prevents server from starting

    Hi,
    We have EP7.0 SP8 installed in Windows/Oracle.
    There was an RFC destination defined pointing to a BI system and now the system is removed/renamed from the name space.
    When the j2ee engine is started it looks for the system and results RFC_COMMUNICATION_ERROR and changing the status of the server process to "Starting Apps" and hangs in there for ever.
    The dev_server0 log shows the following error: Is there a way to remove this RFC destination offline, without starting the server (assuming this is the root cause of th e problem   or is there something else is going wrong?
    Thanks for your time.
    [Thr 5112] *  LOCATION    SAP-Gateway on host sisbid00 / sapgw00
    [Thr 5112] *  ERROR       internal error
    [Thr 5112] *
    TIME        Tue Sep 19 17:51:34 2006
    [Thr 5112] *  RELEASE     700
    [Thr 5112] *  COMPONENT   NI (network interface)
    [Thr 5112] *  VERSION     38
    [Thr 5112] *  RC          -1
    [Thr 5112] *  MODULE      nixxi.cpp
    [Thr 5112] *  LINE        4329
    [Thr 5112] *  DETAIL      NiIGetSockName
    [Thr 5112] *  SYSTEM CALL getsockname
    [Thr 5112] *  ERRNO       22
    [Thr 5112] *  ERRNO TEXT  Invalid argument
    [Thr 5112] *  COUNTER     5487
    [Thr 5112] *
    [Thr 5112] *****************************************************************************
    [Thr 5820] Tue Sep 19 17:51:37 2006
    [Thr 5820] JLaunchISetState: change state from [Starting (2)] to [Starting applications (10)]

    Ok I reinstalled the pulseaudio & libpulse upgrades and rebuilt phonon-pulse & kdemultimedia-kmix-pulse against the new versions and it appears to have resolved the issue. I had originally inspected the logs of X & KDM but did not see any errors or information regarding why X would suddenly drop whilst logging in.

  • Prevent Skype from starting automatically

    I need to prevent Skype for Android from starting automatically so it will not ring when a call comes in to my Skype-In number. Most of the time I want calls to my Skype-In number to ring on my Skype phone at home only.

    I know this is an old post but this is a quite common and relevant topic with which I've spent sometime and would like to drop the solution, at least for Fedora 22 under KDE. In order to avoid skype to start at startup/login (which is quite annoying and a privacy invasion) I just deleted the file /etc/prelink.conf.d/skype.conf and that was it.(let's see if this post is up in the skype forum for long ?!)

  • How prevent entourage from starting everytime during start up

    How can I stop Entourage from starting up everytime using OS 10.6.8. Entorage is part of Office 2008 for Mac. Thanks

    Have you removed it from the login items for your account?

  • Prevent Movies from starting at max volume?

    Everytime I click on a movie or sound file that plays in quicktime, the volume bar is maxed out. Is there a way to prevent that from happening?

    Short of editing the file properties there is no other way to reduce the volume. QuickTime Player uses the system volume as a "guide" but many files can be set to "overdrive" using the same steps as above.
    Using the Finder "preview" (Get Info window) hold down the Shift-Command keys as you click on the sound icon of the controller. You'll see a new "line" and anything above it would be overdrive audio.

  • [SOLVED] multiple issues after ram upgrade

    hi everyone!
    2 new ram modules arrived this morning, which i hastily installed in my machine. this is where the fun starts...
    issue 1: no initramfs
    so the boot process starts normally it seems. i get past grub and the initramfs starts to load. thats also where it stops dead.
    a little google-fu reveals that i should try and chroot from a live iso and recreate mkinitcpio. seems easy enough... but:
    issue 2: cannot boot live iso
    multiple tries fail, when i finally stumble upon a post mentioning that the live iso cant handle large amounts of ram that well. adding
    ram=2048M
    gets me one step further. but still no dice. this time she just reboots after systemd does its thing.
    what seems like hours later, i manage to get to the root prompt by also adding
    nomodeset acpi=off
    to the kernel line. so far so good. seems my nvidia gtx 970 and nouveau dont play nice, but that seemed to solve that.
    next up: chrooting and rebuilding the initramfs. following the instructions in the beginners guide, i try and mount my root partition, which leads to...
    issue 3: cannot mount btrfs root partition
    mkdir works fine for the mount point. no problems there. the mount command itself seems to work somewhat too, telling me that sda1 is a btrfs filesystem on an ssd (which it is). then, however, a mysterious series of lines pop up telling me that it is "calling CRDA to update world regulatory domain"...
    about a dozen lines of information appear and stop dead yet again.
    utterly defeated, i decide its time to do some old fashioned hardware debugging. so i swap out the ram modules (2 sets of 2), popping them in multiple configs in the appropriate slots. memtest64 runs through fine in all configurations. nothing special to be found in the bios either. the 2 sets are from different manufacturers (a-data doesnt make the original set anymore - and havent produced a new set with the same specs), though i did pay attention to the timings, clockspeed and size (everything matches on paper). ending up at the last resort: putting everything back together again as it was originally, i reboot, praying for a familiar boot sequence and maybe even a gdm login prompt. but no such luck today. i am now stuck at
    issue 4: putting humpty dumpty back together again
    grub loads up normally. systemd fires up and im now faced with this:
    INFO task mount:172 blocked for more than 120 seconds.
    Not tainted 3.19.2-1-ARCH #1
    "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message.
    INFO task btrfs-transacti:194 blocked for more than 120 seconds.
    ...repeats last INFO a few times...
    so that brings us up to speed i guess. im out of ideas and the interwebs dont seem to have anything more to offer with my somewhat intricate set of problems. i know most of you are tinkerers like myself, and i hope theres someone out there that can help me out. to help you help me, here are a few specs and bits of info that might be of interest:
    mobo: gigabyte 990fxa-ud5
    cpu: amd fx 8350
    ram (old): 2x4GB a-data ddr3 2000Mhz C9
    ram (new): 2x4GB avexir ddr3 2000Mhz C9
    bios settings: defaults all around, except iommu is activated (iommu=pt added to kernel line to let bios handle iommu)
    gpu: nvidia gtx 970
    partitioning (from what i can remember - i can post exact info, if its needed):
    root: 60GB SSD (btrfs)
    home: 200GB SSD (btrfs)
    var: 20 GB on 1TB HDD (btrfs)
    storage: rest of the 1TB HDD (btrfs - i think. this may be an ext4 partition, im not 100% certain)
    any help or hints are greatly appreciated!
    thanks a lot in advance!
    regards,
    m.
    Last edited by miles969 (2015-04-03 17:10:30)

    thanks ewaller, but i had tried that before...
    turns out the arch iso was the culprit. i found an ubuntu-gnome live usb and popped it in. surprisingly, chrooting worked fine with that iso and i managed to boot successfully after running
    /usr/bin/mkinitcpio -p linux
    a few minor fixes (network device names had changed) and im up and running again... with all the ram, no less!
    thanks a lot again!
    regards,
    m.

  • I want to prevent MyDay from starting up when I switch on.  I have followed all instructions for doing this, but to no effect.  I have unlocked and relocked.

    I use an Macbook from 2006 with OS X 10.7.5
    MyDay starts up every time I switch on.  I don't use it, so want to remove it from the list of programs which start automatically.  I have followed all instructions for doing this, and have of course unlocked and relocked the relevant page in Systems Preferences, but the instruction never 'sticks', and MyDay still starts every time.  Anyone know what to do?

    Check StartupItems...
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    /Library/StartupItems
    Click Go. If you see any reference to MyDay, delete it. That does not delete the app Just keeps it from launching when you startup your Mac.
    Just to be sure, you checked System Preferences > Users & Groups > Login Items   ??
    Unlocking or locking the padlock icon only prevents other users from changing your preferences.

  • How do I prevent iPhoto from starting every time I connect to a camera card?

    Every time I put in a camera card iPhoto starts. Is there a way to prevent this short of deleting iPhoto from the applications?

    In the iphoto Preferences disable "connecting Camera opens" - set it to "No application".
    If that does not suffice, do the same in Image Capture:
    In Image Capture - with your camera card inserted- click the disclosure triangle in the lower left corner of the window to reveal the menu to set the preferences for the device:
    Then set the option to "Connectiong this ... opens"  to "No application"

Maybe you are looking for

  • This part of query is taking long time to run, its about 40 minutes. Can anyone help wit it.

    ------Load Dataset into Temp table--------------- SELECT z.SYSTEMNAME --,Case when ZXC.[Subsystem Name] <> 'NULL' Then zxc.[SubSystem Name] --else NULL --End AS SubSystemName , CASE WHEN z.PROV_TAX_ID IN (SELECT DISTINCT zxc.TIN FROM dbo.SQS_Provider

  • Getting my report portlet, to link to my form portlet

    I am attempting to put together a portal page that has the following components: A- Form Portlet with a Pull Down that links to a B- Report Portlet built by a SQL Statement that links to a C- Form Portlet that acts like a Property Sheet from the Repo

  • Read a .txt file

    I'm trying to find out how to read a .txt file and simply assign its contents to a variable. Is this possible? [Edit] Right after posting I found this page which seems like it might be in the direction I want to go but I haven't checked it out comple

  • Which install files

    Hi ! To check for a specific java version and have it installed you can use a tag like this : <object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" width="0" height="0" codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4_1-window

  • Show view options/Show item info - only half working

    Used to be that all my photos in a folder showed the dimension under the name. Now, even tho I do: Show view options/ and check Show item info, only some of them have the dimensions. And what's really funny is that the portrait oriented pix have the