* [gentoo-user] mpd issues
@ 2009-08-31 17:11 Maxim Wexler
2009-08-31 18:14 ` Greg Fitzgerald
` (2 more replies)
0 siblings, 3 replies; 12+ messages in thread
From: Maxim Wexler @ 2009-08-31 17:11 UTC (permalink / raw
To: gentoo-user
Hi group,
This is too baffling to get my head around, I hope someone can explain it to me:
mpd is set to run in the default level but if you want to update the
database mpd must first be stopped! Then to top it off, it doesn't
have to be restarted to run the client, ncmpcpp in my case.
So what does mpd do if it's not required for these two essential tasks?
Maxim
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] mpd issues
2009-08-31 17:11 [gentoo-user] mpd issues Maxim Wexler
@ 2009-08-31 18:14 ` Greg Fitzgerald
2009-08-31 19:55 ` Maxim Wexler
2009-08-31 20:43 ` Joshua Murphy
2009-09-02 22:50 ` [gentoo-user] " Maxim Wexler
2 siblings, 1 reply; 12+ messages in thread
From: Greg Fitzgerald @ 2009-08-31 18:14 UTC (permalink / raw
To: gentoo-user
On Mon, Aug 31, 2009 at 11:11:23AM -0600, Maxim Wexler wrote:
> Hi group,
>
> This is too baffling to get my head around, I hope someone can explain it to me:
>
> mpd is set to run in the default level but if you want to update the
> database mpd must first be stopped! Then to top it off, it doesn't
> have to be restarted to run the client, ncmpcpp in my case.
>
> So what does mpd do if it's not required for these two essential tasks?
>
> Maxim
Most clients that I have used, ncmpc, mpc, gmpc, all have support to
update the database within the client without restarting the daemon. For
example mpc update will do just that.
Greg
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] mpd issues
2009-08-31 18:14 ` Greg Fitzgerald
@ 2009-08-31 19:55 ` Maxim Wexler
2009-08-31 20:01 ` Greg Fitzgerald
2009-08-31 20:38 ` Alan McKinnon
0 siblings, 2 replies; 12+ messages in thread
From: Maxim Wexler @ 2009-08-31 19:55 UTC (permalink / raw
To: gentoo-user
So I oughta be able just to #rc-update del mpd, since I don't need(or
can't even use ) it as long as the client has permission to access the
files under /var?
On 8/31/09, Greg Fitzgerald <netzdamon@gmail.com> wrote:
> On Mon, Aug 31, 2009 at 11:11:23AM -0600, Maxim Wexler wrote:
>> Hi group,
>>
>> This is too baffling to get my head around, I hope someone can explain it
>> to me:
>>
>> mpd is set to run in the default level but if you want to update the
>> database mpd must first be stopped! Then to top it off, it doesn't
>> have to be restarted to run the client, ncmpcpp in my case.
>>
>> So what does mpd do if it's not required for these two essential tasks?
>>
>> Maxim
>
> Most clients that I have used, ncmpc, mpc, gmpc, all have support to
> update the database within the client without restarting the daemon. For
> example mpc update will do just that.
>
> Greg
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] mpd issues
2009-08-31 19:55 ` Maxim Wexler
@ 2009-08-31 20:01 ` Greg Fitzgerald
2009-08-31 20:38 ` Alan McKinnon
1 sibling, 0 replies; 12+ messages in thread
From: Greg Fitzgerald @ 2009-08-31 20:01 UTC (permalink / raw
To: gentoo-user
On Mon, Aug 31, 2009 at 01:55:41PM -0600, Maxim Wexler wrote:
> So I oughta be able just to #rc-update del mpd, since I don't need(or
> can't even use ) it as long as the client has permission to access the
> files under /var?
No, you still need the daemon running or clients will not be able to
connect. The update command is sent to the daemon and tells it to rehash
its database.
--
Greg Fitzgerald
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] mpd issues
2009-08-31 19:55 ` Maxim Wexler
2009-08-31 20:01 ` Greg Fitzgerald
@ 2009-08-31 20:38 ` Alan McKinnon
1 sibling, 0 replies; 12+ messages in thread
From: Alan McKinnon @ 2009-08-31 20:38 UTC (permalink / raw
To: gentoo-user
On Monday 31 August 2009 21:55:41 Maxim Wexler wrote:
> So I oughta be able just to #rc-update del mpd, since I don't need(or
> can't even use ) it as long as the client has permission to access the
> files under /var?
No. mpd clients tell the mpd daemon to reindex itself, it then does that and
sends an updated list back to the client.
The mod daemon must run. Just because there's no command line switch to get it
to reindex on the fly doesn't mean it can't do it or it does not need to run.
>
> On 8/31/09, Greg Fitzgerald <netzdamon@gmail.com> wrote:
> > On Mon, Aug 31, 2009 at 11:11:23AM -0600, Maxim Wexler wrote:
> >> Hi group,
> >>
> >> This is too baffling to get my head around, I hope someone can explain
> >> it to me:
> >>
> >> mpd is set to run in the default level but if you want to update the
> >> database mpd must first be stopped! Then to top it off, it doesn't
> >> have to be restarted to run the client, ncmpcpp in my case.
> >>
> >> So what does mpd do if it's not required for these two essential tasks?
> >>
> >> Maxim
> >
> > Most clients that I have used, ncmpc, mpc, gmpc, all have support to
> > update the database within the client without restarting the daemon. For
> > example mpc update will do just that.
> >
> > Greg
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] mpd issues
2009-08-31 17:11 [gentoo-user] mpd issues Maxim Wexler
2009-08-31 18:14 ` Greg Fitzgerald
@ 2009-08-31 20:43 ` Joshua Murphy
2009-09-02 22:50 ` [gentoo-user] " Maxim Wexler
2 siblings, 0 replies; 12+ messages in thread
From: Joshua Murphy @ 2009-08-31 20:43 UTC (permalink / raw
To: gentoo-user
On Mon, Aug 31, 2009 at 1:11 PM, Maxim Wexler<maxim.wexler@gmail.com> wrote:
> Hi group,
>
> This is too baffling to get my head around, I hope someone can explain it to me:
>
> mpd is set to run in the default level but if you want to update the
> database mpd must first be stopped! Then to top it off, it doesn't
> have to be restarted to run the client, ncmpcpp in my case.
>
> So what does mpd do if it's not required for these two essential tasks?
>
> Maxim
>
>
Firstly, to update the database directly, using the daemon's command
line options themselves, yes you need to restart it. The same, as has
been mentioned by others, is not true when updating the database
through a client. Clients don't manipulate *any* of MPDs system
directly, they all do so through the server/client set of commands it
provides (which includes the ability to update the database for a
running daemon). The clients also don't require a running server
process on the local system to run for the simple fact that it's a
server/client system and the server does not have to be local. To be
of any use, however, the clients have to be connected to a running MPD
server *somewhere*. Clients don't themselves play music or anything
else, they merely send commands to the daemon that, then, carries out
those commands.
--
Poison [BLX]
Joshua M. Murphy
^ permalink raw reply [flat|nested] 12+ messages in thread
* [gentoo-user] Re: mpd issues
2009-08-31 17:11 [gentoo-user] mpd issues Maxim Wexler
2009-08-31 18:14 ` Greg Fitzgerald
2009-08-31 20:43 ` Joshua Murphy
@ 2009-09-02 22:50 ` Maxim Wexler
2009-09-03 7:21 ` Alan McKinnon
2 siblings, 1 reply; 12+ messages in thread
From: Maxim Wexler @ 2009-09-02 22:50 UTC (permalink / raw
To: gentoo-user
Hi group,
Fresh issue, might as well keep the same thread.
Like I said before the Music Player Daemon is set to start in the
default level, so as the netbook boot msgs scroll by I've been use to
seeing the msg: Music Player Daemon started just before login. Now
suddenly, for some reason I can't fathom, the daemon starts and then
stops.
Before I can turn on ncmpcpp I have to run #/etc/init.d/mpd start, manually :(
Anyone know what's going on here?
Maxim
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Re: mpd issues
2009-09-02 22:50 ` [gentoo-user] " Maxim Wexler
@ 2009-09-03 7:21 ` Alan McKinnon
2009-09-03 19:04 ` Maxim Wexler
0 siblings, 1 reply; 12+ messages in thread
From: Alan McKinnon @ 2009-09-03 7:21 UTC (permalink / raw
To: gentoo-user
On Thursday 03 September 2009 00:50:34 Maxim Wexler wrote:
> Hi group,
>
> Fresh issue, might as well keep the same thread.
>
> Like I said before the Music Player Daemon is set to start in the
> default level, so as the netbook boot msgs scroll by I've been use to
> seeing the msg: Music Player Daemon started just before login. Now
> suddenly, for some reason I can't fathom, the daemon starts and then
> stops.
>
> Before I can turn on ncmpcpp I have to run #/etc/init.d/mpd start, manually
> :(
>
> Anyone know what's going on here?
NAFC. But if you give me an account on that box I can have a look for you.
I'll send you a public key.
Or, you could look in your logs and tell us what you see. You might have to
tell mpd to start logging errors first.
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Re: mpd issues
2009-09-03 7:21 ` Alan McKinnon
@ 2009-09-03 19:04 ` Maxim Wexler
2009-09-03 19:18 ` Alan McKinnon
0 siblings, 1 reply; 12+ messages in thread
From: Maxim Wexler @ 2009-09-03 19:04 UTC (permalink / raw
To: gentoo-user
>
> NAFC.
New anagram for me. Not As Far...?
>But if you give me an account on that box I can have a look for you.
> I'll send you a public key.
Can't grok. If I have an "account" on this box it's news to me. How
and what would you be looking for?
>
> Or, you could look in your logs and tell us what you see. You might have to
> tell mpd to start logging errors first.
>
Not doing it now. I followed the wiki and made the log_level "verbose"
did a restart and just got a lot of 'database: get song' lines.
I've heard this from others. mpd known to change it's behavior from
boot to boot.
mw
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Re: mpd issues
2009-09-03 19:04 ` Maxim Wexler
@ 2009-09-03 19:18 ` Alan McKinnon
2009-09-08 19:19 ` Maxim Wexler
0 siblings, 1 reply; 12+ messages in thread
From: Alan McKinnon @ 2009-09-03 19:18 UTC (permalink / raw
To: gentoo-user
On Thursday 03 September 2009 21:04:06 Maxim Wexler wrote:
> > NAFC.
>
> New anagram for me. Not As Far...?
Not A F..king Clue
:-)
>
> >But if you give me an account on that box I can have a look for you.
> > I'll send you a public key.
>
> Can't grok. If I have an "account" on this box it's news to me. How
> and what would you be looking for?
Well, you basically said "mpd doesn't work. Why?"
To which the best answer is "I haven't the foggiest idea". But, if I could log
into the machine in question and run a shell, I'd be in an excellent position
to give a sane answer.
Don't read too much into it. I felt like taking the mickey out of someone and
today was your turn :-)
> > Or, you could look in your logs and tell us what you see. You might have
> > to tell mpd to start logging errors first.
>
> Not doing it now. I followed the wiki and made the log_level "verbose"
> did a restart and just got a lot of 'database: get song' lines.
>
> I've heard this from others. mpd known to change it's behavior from
> boot to boot.
Without some form of sane output message or a well-known bug, it's not
possible to diagnose what you might be running into.
I personally have never heard of mpd doing different things between boots.
Changing configs and not restarting mpd - yes. Random changes - no.
mpd works just fine for me and is rock-solid here.
--
alan dot mckinnon at gmail dot com
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Re: mpd issues
2009-09-03 19:18 ` Alan McKinnon
@ 2009-09-08 19:19 ` Maxim Wexler
2009-09-24 18:39 ` Maxim Wexler
0 siblings, 1 reply; 12+ messages in thread
From: Maxim Wexler @ 2009-09-08 19:19 UTC (permalink / raw
To: gentoo-user
Doing it again. Only change is to tell the conf to get debuggy. Unit
boots; last three lines before login:
Starting Music Player Daemon
Starting local
Stopping Music Player Daemon
This after several successful boots with no problem.
Nothing in mpd.log
A clue? Seems to occur when I'm mobile(this is an Asus netbook BTW)
and I have to enter the BIOS to turn the wifi on(I know, there's a key
to do this but it doesn't work, yet).
If you think it would help to login to my machine, I'm game. Send me
the details, pls
On 9/3/09, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Thursday 03 September 2009 21:04:06 Maxim Wexler wrote:
>> > NAFC.
>>
>> New anagram for me. Not As Far...?
>
> Not A F..king Clue
>
> :-)
>>
>> >But if you give me an account on that box I can have a look for you.
>> > I'll send you a public key.
>>
>> Can't grok. If I have an "account" on this box it's news to me. How
>> and what would you be looking for?
>
> Well, you basically said "mpd doesn't work. Why?"
>
> To which the best answer is "I haven't the foggiest idea". But, if I could
> log
> into the machine in question and run a shell, I'd be in an excellent
> position
> to give a sane answer.
>
> Don't read too much into it. I felt like taking the mickey out of someone
> and
> today was your turn :-)
>
>> > Or, you could look in your logs and tell us what you see. You might have
>> > to tell mpd to start logging errors first.
>>
>> Not doing it now. I followed the wiki and made the log_level "verbose"
>> did a restart and just got a lot of 'database: get song' lines.
>>
>> I've heard this from others. mpd known to change it's behavior from
>> boot to boot.
>
> Without some form of sane output message or a well-known bug, it's not
> possible to diagnose what you might be running into.
>
> I personally have never heard of mpd doing different things between boots.
> Changing configs and not restarting mpd - yes. Random changes - no.
>
> mpd works just fine for me and is rock-solid here.
>
> --
> alan dot mckinnon at gmail dot com
>
>
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: [gentoo-user] Re: mpd issues
2009-09-08 19:19 ` Maxim Wexler
@ 2009-09-24 18:39 ` Maxim Wexler
0 siblings, 0 replies; 12+ messages in thread
From: Maxim Wexler @ 2009-09-24 18:39 UTC (permalink / raw
To: gentoo-user
On 9/8/09, Maxim Wexler <maxim.wexler@gmail.com> wrote:
> Doing it again. Only change is to tell the conf to get debuggy. Unit
> boots; last three lines before login:
>
> Starting Music Player Daemon
> Starting local
> Stopping Music Player Daemon
>
> This after several successful boots with no problem.
>
> Nothing in mpd.log
>
> A clue? Seems to occur when I'm mobile(this is an Asus netbook BTW)
> and I have to enter the BIOS to turn the wifi on(I know, there's a key
> to do this but it doesn't work, yet).
OK, more info: Music Player Daemon turns itself on, then off ONLY when
the battery is in place and the AC adapter is unplugged. Strange, no?
Something about setting up the battery sensing stuff causes MPD to
shut down(my theory). Like I said, I upped the debug level and when
the daemon starts there's a message ending with 'daemon: daemonized!
daemon: writing pid file'. And if the battery only is being used the
daemon stops, but there's no message other than 'Stopping Music Player
Daemon'.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2009-09-24 18:39 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-31 17:11 [gentoo-user] mpd issues Maxim Wexler
2009-08-31 18:14 ` Greg Fitzgerald
2009-08-31 19:55 ` Maxim Wexler
2009-08-31 20:01 ` Greg Fitzgerald
2009-08-31 20:38 ` Alan McKinnon
2009-08-31 20:43 ` Joshua Murphy
2009-09-02 22:50 ` [gentoo-user] " Maxim Wexler
2009-09-03 7:21 ` Alan McKinnon
2009-09-03 19:04 ` Maxim Wexler
2009-09-03 19:18 ` Alan McKinnon
2009-09-08 19:19 ` Maxim Wexler
2009-09-24 18:39 ` Maxim Wexler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox