You are not logged in.

#1 2010-03-04 09:40:15

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Mpd failing to start

Mpd failing to start with system,but when I manually start mpd daemon,it starts without any error.It show some error on booting,but I can't to find that log to copy the error.My daemons area in rc.conf:

DAEMONS=(cpufreq syslog-ng iptables !network !netfs cups crond sensors hal networkmanager fam alsa bluetooth mpd laptop-mode)

It happens from last week.

Offline

#2 2010-03-04 21:52:32

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: Mpd failing to start

i have the same problem.

Last edited by n0dix (2010-03-04 22:00:27)

Offline

#3 2010-03-04 22:48:24

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Mpd failing to start

run mpd as root with this command:

mpd --verbose --stdout --no-daemon

This will give you a proper error message


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#4 2010-03-05 07:23:30

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: Mpd failing to start

Rasi wrote:

run mpd as root with this command:

mpd --verbose --stdout --no-daemon

This will give you a proper error message

I don't see any error here,like I said before,everything works nice when I start mpd from terminal

config: loading file /etc/mpd.conf
listen: binding to address for 127.0.0.1
listen: binding to socket address 127.0.0.1:6600
path: path_set_fs_charset: fs charset is: UTF-8
database: reading DB
mixer: mixer api is disabled
output: No "audio_output" defined in config file
output: Attempt to detect audio output device
output: Attempting to detect a alsa audio device
output: Successfully detected a alsa audio device
daemon: opening pid file
daemon: writing pid file
avahi: Initializing interface
avahi: Client changed to state 101
avahi: Client is CONNECTING
state_file: Saving state file

Offline

#5 2010-03-05 08:30:14

JackH79
Member
From: Australia
Registered: 2009-06-18
Posts: 663
Website

Re: Mpd failing to start

Never mind.

Last edited by JackH79 (2010-03-05 09:36:24)

Offline

#6 2010-03-05 18:36:33

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Mpd failing to start

na12 wrote:
Rasi wrote:

run mpd as root with this command:

mpd --verbose --stdout --no-daemon

This will give you a proper error message

I don't see any error here,like I said before,everything works nice when I start mpd from terminal
...

Then i guess something is slowing down your network startup (probably dhcp)
If you use mpd locally only, you can make it use a socket file instead of a tcp connection. That should work around this.

Last edited by Rasi (2010-03-05 18:36:48)


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#7 2010-03-06 13:50:31

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: Mpd failing to start

I managed to read the error on boot:

/etc/rc.d/mpd: line 6 2238 aborted  /usr/bin/mpd /etc/mpd.conf &> /dev/null

Offline

#8 2010-03-06 20:38:25

Rasi
Member
From: Germany
Registered: 2007-08-14
Posts: 1,914
Website

Re: Mpd failing to start

na12 wrote:

I managed to read the error on boot:

/etc/rc.d/mpd: line 6 2238 aborted  /usr/bin/mpd /etc/mpd.conf &> /dev/null

thats no mpd error.. just the usual rc.d error message


He hoped and prayed that there wasn't an afterlife. Then he realized there was a contradiction involved here and merely hoped that there wasn't an afterlife.

Douglas Adams

Offline

#9 2010-03-06 21:39:15

na12
Member
From: /home/serbia
Registered: 2008-12-23
Posts: 752

Re: Mpd failing to start

And,how to fix that error?

Offline

#10 2010-03-06 22:48:28

barzam
Member
From: Sweden
Registered: 2009-01-27
Posts: 277

Re: Mpd failing to start

I start mpd in my .xinitrc and have all my config files in .config/mpd, running the program as my normal user not the "mpd user". Maybe that works instead of the daemon method running.

Offline

Board footer

Powered by FluxBB