SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#76 2011-09-30 00:48:09

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: SOLVED - mpd client can't connect (timeout)

machinebacon wrote:

OMG, maybe that's the point: /etc/mpd.conf vs. /.mpdconf roll

All I am trying to do is point out what is working... wink


VSIDO | Words That Build Or Destroy

I dev VSIDO

Offline

Help fund CrunchBang, donate to the project!

#77 2011-09-30 01:04:35

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,826
Website

Re: SOLVED - mpd client can't connect (timeout)

^ Oh I didn't mean your setup being problematic, VastOne, but pointing at el_koraco's problem. Sorry that I didn't quote him smile I have read through the thread and didn't find a 100% statement if /etc/mpd.conf and/or .mpdconf is used, and I remember there was a problem like ths a few weeks/months ago with a user editing the wrong file. smile


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#78 2011-09-30 01:20:16

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: SOLVED - mpd client can't connect (timeout)

^ I knew as much machinebacon... 

I had been ranting on and on about mine and wanted to qualify the reason why I was doing it...

77 messages to read... I know smile

No offense taken whatsoever..  I knew your intent...


VSIDO | Words That Build Or Destroy

I dev VSIDO

Offline

#79 2011-09-30 01:32:43

machinebacon
#! unstable
From: China
Registered: 2009-07-02
Posts: 6,826
Website

Re: SOLVED - mpd client can't connect (timeout)

^ but yours works, doesn't it? big_smile


Sweaty lads picking up the soap | I love the new "Ignore user" button

Offline

#80 2011-09-30 01:43:15

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: SOLVED - mpd client can't connect (timeout)

machinebacon wrote:

^ but yours works, doesn't it? big_smile

Like a pig in a blanket!  Perfectly... smile

I have always believed that when you get to what is wrong and hit the road block, the best/obvious course is to then get to what is right...

Last edited by VastOne (2011-09-30 01:45:23)


VSIDO | Words That Build Or Destroy

I dev VSIDO

Offline

#81 2011-09-30 08:11:03

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: SOLVED - mpd client can't connect (timeout)

machinebacon wrote:

Timeout error could be related to localhost in the host file. God knows what mpd thinks/does..... (later more about this)

bind_to_address        "localhost"

what if this is changed to 127.0.0.1

If it's changed to 127..., it fails to start. If I put :: in, it starts, but the clients get the same error. WIth regard to IPv6, I think it's enabled globally, at least I didnt't disable it manually.

Offline

#82 2011-09-30 19:30:07

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: SOLVED - mpd client can't connect (timeout)

@VastOne:

Binding to IPV6 before IPV4
If on startup, you see this message:
listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
MPD is attempting to bind to the ipv6 interface before binding to ipv4. If you want to use your ipv4 interface, hardcode it in mpd.conf, like so:
bind_to_address "127.0.0.1"

hardcode it in your user config file if you start mpd as a user, not as a system daemon.

Edit: extracted from archlinux wiki: https://wiki.archlinux.org/index.php/Mu … yer_Daemon

Last edited by xaos52 (2011-09-30 19:32:17)

Offline

#83 2011-09-30 19:41:13

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: SOLVED - mpd client can't connect (timeout)

xaos52 wrote:

@VastOne:

Binding to IPV6 before IPV4
If on startup, you see this message:
listen: bind to '0.0.0.0:6600' failed: Address already in use (continuing anyway, because binding to '[::]:6600' succeeded)
MPD is attempting to bind to the ipv6 interface before binding to ipv4. If you want to use your ipv4 interface, hardcode it in mpd.conf, like so:
bind_to_address "127.0.0.1"

hardcode it in your user config file if you start mpd as a user, not as a system daemon.

Edit: extracted from archlinux wiki: https://wiki.archlinux.org/index.php/Mu … yer_Daemon


Thanks for that xaos52..  I did make the change and no more errors..


VSIDO | Words That Build Or Destroy

I dev VSIDO

Offline

#84 2011-10-01 10:20:52

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: SOLVED - mpd client can't connect (timeout)

@VastOne:
To get rid of the remaining error(or warning), remove the 'user' entry from your mpd config file, since you already run mpd as your user.
Found that here https://bbs.archlinux.org/viewtopic.php?id=118255
I had that too, and it is gone after the modification.
hth

Offline

#85 2011-10-01 10:27:30

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: SOLVED - mpd client can't connect (timeout)

@el_koraco
I installed mpd/mpc on a fresh copy of #!, and up until now I have not been able to create a situation where the client can NOT connect to the daemon. Tried all sorts of combinations of config options. Same after dist-upgrade. Same after including backport sources.

Edit: may I suggest adding

log_level            "verbose"

to your $HOME/.mpdconf file, if you have not done so already.

Last edited by xaos52 (2011-10-01 10:33:25)

Offline

#86 2011-10-01 14:02:00

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: SOLVED - mpd client can't connect (timeout)

xaos52 wrote:

@VastOne:
To get rid of the remaining error(or warning), remove the 'user' entry from your mpd config file, since you already run mpd as your user.
Found that here https://bbs.archlinux.org/viewtopic.php?id=118255
I had that too, and it is gone after the modification.
hth


Thanks xaos52

I found that same thread and made those changes earlier.. Should have posted it like you did..


VSIDO | Words That Build Or Destroy

I dev VSIDO

Offline

#87 2011-10-04 02:21:27

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: SOLVED - mpd client can't connect (timeout)

@el_koraco, just in case you didn't think of it, I had all the same symptoms as you till I did this...
http://crunchbanglinux.org/forums/post/150347/#p150347

Hoping that will help. *crosses fingers*


bunsenlabs     8)     forum mod squad

Offline

#88 2011-10-04 09:35:56

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: SOLVED - mpd client can't connect (timeout)

hhh wrote:

@el_koraco, just in case you didn't think of it, I had all the same symptoms as you till I did this...
http://crunchbanglinux.org/forums/post/150347/#p150347

Hoping that will help. *crosses fingers*

YES!!!! YOU'RE A FREAKING GENIUS!!!!
Makes perfect sense, I didn't even think to mention my connectivity type. Network manager, wicd and others handle this automatically, that's why noone could reproduce the problem.

tYW5icw

Edit @xaos - I missed your last message, sorry. Thanks for your help again, we did cover a lot of ground with config options, which won't be in vain.

Last edited by el_koraco (2011-10-04 11:36:07)

Offline

#89 2011-10-04 12:18:58

xaos52
The Good Doctor
From: Planet of the @s
Registered: 2011-06-24
Posts: 4,602

Re: SOLVED - mpd client can't connect (timeout)

No problem smile
Glad it is solved.
I did not think of that, no.
And Yes, hhh is a GENIUS big_smile

Offline

#90 2011-10-04 14:25:47

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

Re: SOLVED - mpd client can't connect (timeout)

xaos52 wrote:

No problem smile
Glad it is solved.
I did not think of that, no.
And Yes, hhh is a GENIUS big_smile

Well done with all your work on this xaos52!

hhh is awesome... with a much bigger head now too!  big_smile big_smile


VSIDO | Words That Build Or Destroy

I dev VSIDO

Offline

#91 2011-10-04 16:20:57

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

Re: SOLVED - mpd client can't connect (timeout)

ah, 4 pages of stuff and solved in the end. been following this thread like a thriller :)

mark it solved!

Offline

#92 2011-10-04 17:10:42

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: SOLVED - mpd client can't connect (timeout)

rhowaldt wrote:

mark it solved!

Yup, forgot about it. I've changed the title as well, so someone can find it via keywords if the need ever arises.

Offline

#93 2011-10-04 17:35:35

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: SOLVED - mpd client can't connect (timeout)

el_koraco wrote:

YES!!!! YOU'RE A FREAKING GENIUS!!!!

Supergenius, please.

But seriously, I'm so glad that worked for you as well. After fighting with mpd and uninstalling/reinstalling/logging out/logging in/rebooting for three days with no luck, finally hearing sound made me wet my pants a little.

Cheers!


bunsenlabs     8)     forum mod squad

Offline

#94 2011-10-04 17:40:38

el_koraco
#!/loony/bun
From: inside Ed
Registered: 2011-07-25
Posts: 4,749

Re: SOLVED - mpd client can't connect (timeout)

hhh wrote:

But seriously, I'm so glad that worked for you as well. After fighting with mpd and uninstalling/reinstalling/logging out/logging in/rebooting for three days with no luck, finally hearing sound made me wet my pants a little.

I'd already gone and started tweaking the MOC colors, and suddenly, I'm in ncmpcpp, lol.

Offline

#95 2011-10-04 21:58:39

hhh
Cityspeak
Registered: 2010-08-04
Posts: 3,253

Re: SOLVED - mpd client can't connect (timeout)

smile

The cow knows.


bunsenlabs     8)     forum mod squad

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat

Debian Logo