Results 1 to 3 of 3

Thread: Cantata & mpd not working.

  1. #1

    Default Cantata & mpd not working.

    I get connection to personal failed or failed to send command to personal - not connected, every time i open it up.
    Google doesnt give any useful clues and a reinstall didnt help either.

    I tried with gmpc to see if its cantata that messes up, but no. gmpc says error 13 problems to connect to localhost.

    Mpd & in terminal gives this output:
    Code:
    Jormvngandr@localhost:~> exception: unrecognized parameter in config file at line 283: type
    And when looking at line 283 and the surrounding lines:
    Code:
    # An example of a pulseaudio output (streaming to a remote pulseaudio server)
    #
    #audio_output {
    type        "pulse"
    
    name        "Pulse Output"
    ##    server        "remote_server"        # optional
    ##    sink        "remote_server_sink"    # optional
    If i try to start it as a service with service mpd start (same thing if i try with a restart)
    Code:
    ob for mpd.service failed because the control process exited with error code.
    See "systemctl  status mpd.service" and "journalctl  -xe" for details.
    [1]+  Avslut 1                mpd


    If i run a status check i get this:
    Code:
    ● mpd.service - Music Player Daemon
       Loaded: loaded (/usr/lib/systemd/system/mpd.service; disabled; vendor preset>
       Active: failed (Result: exit-code) since Tue 2020-07-07 08:17:09 CEST; 4min >
         Docs: man:mpd(1)
               man:mpd.conf(5)
      Process: 11317 ExecStart=/usr/bin/mpd --no-daemon (code=exited, status=1/FAIL>
     Main PID: 11317 (code=exited, status=1/FAILURE)
    
    jul 07 08:17:09 localhost.localdomain systemd[1]: Starting Music Player Daemon.>
    jul 07 08:17:09 localhost.localdomain mpd[11317]: exception: unrecognized param>
    jul 07 08:17:09 localhost.localdomain systemd[1]: mpd.service: Main process exi>
    jul 07 08:17:09 localhost.localdomain systemd[1]: Failed to start Music Player >
    jul 07 08:17:09 localhost.localdomain systemd[1]: mpd.service: Unit entered fai>
    jul 07 08:17:09 localhost.localdomain systemd[1]: mpd.service: Failed with resu>
    lines 1-14/14 (END)
    And before someone asks, no i havent edited any files manually since i dont know how to & where to find them. This is a clean install of 15.2 with just the "first run" setup that cantata shows.

  2. #2

    Default Re: Cantata & mpd not working.

    Clarification comment

    Mpd & in terminal gives this output:
    Code:
    Jormvngandr@localhost:~> mpd &
    [1] 6849
    Jormvngandr@localhost:~> exception: unrecognized parameter in config file at line 283: type

    And if i look at line 283 in a text editor it says this:
    # An example of a pulseaudio output (streaming to a remote pulseaudio server) #
    #audio_output {
    type "pulse"
    name "Pulse Output"
    ## server "remote_server" # optional
    ## sink "remote_server_sink" # optional

    If i try to run it, or restart it as a service.
    Code:
    Jormvngandr@localhost:~> systemctl start mpd
    Job for mpd.service failed because the control process exited with error code.
    See "systemctl  status mpd.service" and "journalctl  -xe" for details.
    Jormvngandr@localhost:~>
    Code:
    Jormvngandr@localhost:~> systemctl restart mpd
    Job for mpd.service failed because the control process exited with error code.
    See "systemctl  status mpd.service" and "journalctl  -xe" for details.
    Jormvngandr@localhost:~>
    A status check
    Code:
    Jormvngandr@localhost:~> sudo systemctl status mpd
    [sudo] lösenord för root: 
    ● mpd.service - Music Player Daemon
       Loaded: loaded (/usr/lib/systemd/system/mpd.service; disabled; vendor preset>
       Active: failed (Result: exit-code) since Tue 2020-07-07 09:59:30 CEST; 1min >
         Docs: man:mpd(1)
               man:mpd.conf(5)
      Process: 7028 ExecStart=/usr/bin/mpd --no-daemon (code=exited, status=1/FAILU>
     Main PID: 7028 (code=exited, status=1/FAILURE)
    
    jul 07 09:59:30 localhost.localdomain systemd[1]: Starting Music Player Daemon.>
    jul 07 09:59:30 localhost.localdomain mpd[7028]: exception: unrecognized parame>
    jul 07 09:59:30 localhost.localdomain systemd[1]: mpd.service: Main process exi>
    jul 07 09:59:30 localhost.localdomain systemd[1]: Failed to start Music Player >
    jul 07 09:59:30 localhost.localdomain systemd[1]: mpd.service: Unit entered fai>
    jul 07 09:59:30 localhost.localdomain systemd[1]: mpd.service: Failed with resu>
    lines 1-14/14 (END)

  3. #3

    Default Re: Cantata & mpd not working.

    Looks like a few # was missing so edited the config so the config should look like this around line 283

    # An example of a pulseaudio output (streaming to a remote pulseaudio server) #
    #audio_output {
    #type "pulse"
    #name "Pulse Output"
    ## server "remote_server" # optional
    ## sink "remote_server_sink" # optional

    This is how a status check looks after the edit of the config

    Code:
    Jormvngandr@localhost:~> systemctl --user start mpd.service
    Jormvngandr@localhost:~> sudo systemctl status mpd
    [sudo] lösenord för root: 
    ● mpd.service - Music Player Daemon
       Loaded: loaded (/usr/lib/systemd/system/mpd.service; disabled; vendor preset>
       Active: inactive (dead)
         Docs: man:mpd(1)
               man:mpd.conf(5)
    lines 1-5/5 (END)

    So how do i take it from here? any suggestions?

Posting Permissions

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