You are not logged in.

#1 2011-03-21 22:35:53

chris-kun
Member
From: SF Bay Area
Registered: 2010-09-07
Posts: 235
Website

mpd problems


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you." -- Bregol

Offline

#2 2011-03-21 22:43:04

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: mpd problems


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#3 2011-03-21 23:57:09

ilusi0n
Member
Registered: 2010-06-09
Posts: 187

Re: mpd problems

Regarded to bind there is a line in mpd.conf that is related to that. I think there is no need to uncomment it.
Regarded do the errors of database and pid file is simple because you don't have permissions to write. You have 2 options. Or change the permisson of the folder or simple create a folder called mpd for example in your home and save those files there. Log, pid file and etc. Regarded to database mpd ---create-db is not needed since mpd 0.16. The database will be created automatically.

Last edited by ilusi0n (2011-03-21 23:58:46)

Offline

#4 2011-03-22 04:56:08

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: mpd problems

Please read the wiki carefully, it's all in there:
https://wiki.archlinux.org/index.php/Mu … yer_Daemon


tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

#5 2011-03-25 21:48:35

chris-kun
Member
From: SF Bay Area
Registered: 2010-09-07
Posts: 235
Website

Re: mpd problems

ok I read the wiki, but doesn't seem to do much help. I get as far as the create files step, and then when I try and run 'mpc update', it just says connection refused. when I try and start mpd, I get a similar error:

http://paste.pocoo.org/show/359655/

@ilusi0n- ok, so there's no need to uncomment it? it was never uncommented in the first place. and how can I have no permissions when it's running as root?


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you." -- Bregol

Offline

#6 2011-03-25 21:54:50

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: mpd problems

Try to put this --

mpd: ALL

-- to you /etc/hosts.allow.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#7 2011-03-25 22:34:22

chris-kun
Member
From: SF Bay Area
Registered: 2010-09-07
Posts: 235
Website

Re: mpd problems

doesn't seem to help


[home page] -- [code / configs]

"Once you go Arch, you must remain there for life or else Allan will track you down and break you." -- Bregol

Offline

#8 2011-03-25 22:54:55

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: mpd problems

Well, the last thing I can think about is to set up mpd locally, not as a root but a regular user. BTW, may I see your mpd.conf?


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#9 2011-03-25 23:04:32

lives2evil
Member
From: GMT+7
Registered: 2010-03-21
Posts: 244

Re: mpd problems

I suppose you have this line in your mpd.conf

user                  "mpd"

If so try these commands as root:

chown -R mpd:users /var/lib/mpd
chown -R mpd:users /var/run/mpd

tsujeruplive, tnarongisi... ... ... ... ɥsılƃuǝ sı sıɥʇ

Offline

Board footer

Powered by FluxBB