How to get MM Server running on XP SP3

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: How to get MM Server running on XP SP3

Re: How to get MM Server running on XP SP3

by d9amic » Sat Dec 20, 2014 4:48 pm

Hey Captain,

I also have a WD My Cloud and have struggled with some aspects of the installed Twonky media server. Would you care to share what you have learned through your debugging efforts?

Re: How to get MM Server running on XP SP3

by captain paranoia » Fri Dec 12, 2014 3:08 pm

Just to close the loop.

I never got this working, and without further feedback, I gave up on it, and switched my attentions to debugging WD's MyCloud installation of Twonky, which I finally succeeded in doing (succinctly; it doesn't seem to like spaces in the shared folder names MyCloud insists on creating, not surprising on a Unix-based system).

So I've abandoned all thought of using MM's server for the forseeable future. I may have another look in future releases.

Re: How to get MM Server running on XP SP3

by captain paranoia » Mon Nov 10, 2014 8:11 pm

> I setup XP rig for testing and could not replicate issue.

Thanks for investigating. The problem is very reproducible at my end, sadly...

I'd appreciate it if you could document, or point me at the exact sequence you used to install on your XP test rig, so I can follow it to the letter to make sure I'm not doing something stupid. I'm assuming your test rig is similar, with windows firewall and an internet modem / wireless router.

Re: How to get MM Server running on XP SP3

by captain paranoia » Mon Nov 10, 2014 8:02 pm

> The 2 are seen for those that updated from 4 to 4.1. Only 1 is required.

Hmmmm... That suggests my attempt at a 'clean install' wasn't clean enough if it knows I've upgraded. I might have to look into the nooks and crannies a bit harder and destroy all the remnants before reinstalling.

Re: How to get MM Server running on XP SP3

by Peke » Mon Nov 10, 2014 4:59 pm

Hi,
I setup XP rig for testing and could not replicate issue. I only have one admin user and service is running as it should. Also as lowlander said I use MMW a lot so I set it to Minimize and close to tray, set Startup LNK to start MMW minimized when I log on and that covers all.

On Win 7 all worked as it should even without startup LNK in 100% of cases.

Re: How to get MM Server running on XP SP3

by Lowlander » Mon Nov 10, 2014 4:05 pm

The 2 are seen for those that updated from 4 to 4.1. Only 1 is required.

Re: How to get MM Server running on XP SP3

by captain paranoia » Mon Nov 10, 2014 3:53 pm

Okay, thanks for the help Lowlander.

Does anyone else have any suggestions? Ideally, point me to the elusive "comprehensive dummies' guide to installing and running the MM server"... Or simply the steps they've taken to get MMS running standalone.

Reading the forums, I note that some people see only the Server in the Media Sharing options dialogue, and some see the Server and the Library. For instance, this thread:

http://www.mediamonkey.com/forum/viewto ... 20&t=77859 seems to be asking what the two things do.

I've unticked the Library, thinking it not the Server, but I'll try enabling it again before installing the Server. I'm not sure what 'install server' actually installs, or if it bears any relation to those tick boxes... In earlier experiments with my original installation, I noted that 'install server' made MonkeyFlow run when MMW UW wasn't running; i.e. MMW was running pretty much as the UI version. Only without the UI, which makes running MonkeyFlow somewhat pointless...

I'm more than happy to collate information and write a (hopefully) useful article for the Knowledgebase (or update Rusty's 2011 sticky post on this forum), provided I can get reliable information from other users, and crack the secrets of installation. I suspect I'd need someone with admin access to post it, as I doubt a mere mortal user like me has permission to post on the Knowledgebase or edit sticky posts.

Cheers,

cp

Re: How to get MM Server running on XP SP3

by Lowlander » Mon Nov 10, 2014 11:27 am

I don't run the Service as I need the main App a lot.

Re: How to get MM Server running on XP SP3

by captain paranoia » Sat Nov 08, 2014 8:13 pm

Thanks. Yes, having a long playlist takes a long time to read, but in this case, it's reading the database to show how many tracks there are. My fault for leaving the browser on 'All'...

I never have file monitoring on, as all my library additions and removals are done in a strict manual process, with no changes outside my control.

But this is merely a side issue to the main one of the nonfunctional server.

It's looking like I'll need to raise a ticket on this, as I've run out of ideas of what to try. The only thing left is what user the Server task runs as: Lowlander, what User owns your background MediaMonkeyService.exe task? Is it SYSTEM, like mine? Or something else. Not that I'd know how to change it...

Thanks, cp

Re: How to get MM Server running on XP SP3

by Lowlander » Fri Nov 07, 2014 9:53 pm

captain paranoia wrote:it takes a very long time (10 minutes+) to stop 'Reading files...' after starting.
Disable Folder Monitoring (if enabled), reduce the size of the Now Playing as well as have the selected node on startup be one of few files.

Re: How to get MM Server running on XP SP3

by captain paranoia » Fri Nov 07, 2014 9:06 pm

Back again after the Service uninstall/re-boot/re-install/re-boot.

On re-booting the PC, neither Hudl sees any servers. The iPad sees Twonky. Kinsky sees Twonky & Technicolor.
Once again, re-booting the Hudl allowed MMA to see the servers again. Maybe some persistent setting in MMA is causing that problem; closing (from Settings) MMA down and re-starting didn't restore the server visibility.

Task Manager shows MediaMonkey.exe and MediaMonkeyService.exe running, both as SYSTEM tasks.
CM/S shows the MediaMonkey Server running.

My computer security software warned me about a file called 'Program' at C:, and offered to re-name it. I declined, but had a look. It's a simple text file, containing the following:

SERVICE_NAME: MediaMonkeyService
TYPE : 10 WIN32_OWN_PROCESS
STATE : 2 START_PENDING
(NOT_STOPPABLE,NOT_PAUSABLE,IGNORES_SHUTDOWN)
WIN32_EXIT_CODE : 0 (0x0)
SERVICE_EXIT_CODE : 0 (0x0)
CHECKPOINT : 0x0
WAIT_HINT : 0x7d0
PID : 2508
FLAGS :

Hmm... I've deleted it now, as I took heed of the warning about it confusing some applications.

If I now start up MMW UI, the MM server immediately appears in Kinksy, but not on the re-booted Hudl. The non-re-booted Hudl is still showing no servers at all. Re-booting the second Hudl allows it to see all three servers. The iPad sees all three servers.

TM shows two MediaMonkey.exe tasks, but no Service task. CM/S shows the Service has started, but status is Stopped.

Stopping MMW UI, CM/S shows the Service has re-started automatically, and TM reveals on MM.exe and one MMS.exe.

I suspect a lot of the 'missing servers' is due to MM interrogating the 140MB+ database from the NAS, which may be gobbling all the available router bandwidth; it takes a very long time (10 minutes+) to stop 'Reading files...' after starting. I may try moving the database to C: to stop that. But not tonight. My 'quick download and test of Kinsky has taken 2 hours...

Re: How to get MM Server running on XP SP3

by captain paranoia » Fri Nov 07, 2014 8:28 pm

On with the experimentation...

I downloaded Linn Kinsky as a DLNA client.

With MMW UI not running, Kinsky doesn't see the MM Server. It does see the Twonky & Technicolor servers, and actually finds media on the Twonky server; looks like Twonky is sooooo slow to serve, other apps timeout assuming it's dead (MMA says 'connection failed', MediaConnect says 'Error: request timed out'). CM/S says the MM Server service has started.

If I now start up MMW UI, Kinsky sees the MM Server. However, it says 'Access denied'. Hmm... that's odd; neither of my Hudls can now see ANY servers, nor can the iPad... Shut down Kinsky. iPad now finds MMS and Technicolor, and can play from MMS.

Re-booted both Hudls, and they now see all three servers. And MediaConnect on the iPad threw a wobbler whilst playing music from MMS, and re-started itself, and has now found Twonky as well.

I'll risk re-starting Kinsky.. Ah; that caused a 'server refresh' on the iPad, but all three re-appeared. They're also present on the Hudls. And in Kinsky. I can't play anything with Kinsky, of course, as it can't find any renderers.

So, all three tablets and Kinsky on the PC are seeing all three servers, even if they are a little flakey...

If I now shut down MMW UI, the MM Server immediately disappears from Kinksy's 'Library' view, and from one of the Hudls (running MMA 1.1.0.0330), but not from the other (running MMA 1.0.7.0311).

Update both Hudls to the latest MMA... (1.1.0.0335) Now neither sees the MMS.

Re-start MediaConnect on the iPad, and that no longer sees the MMS.


So I think it's pretty conclusive that the MM Server is not running standalone correctly, even though the Service is running.

I don't think it's a password issue, as, during my earlier battles, having given it the wrong password, CM/S showed that the service had failed to start due to the incorrect password.

What now...? I'll try uninstalling the server, re-booting the PC, re-installing the server, re-booting the PC... back soon...

Re: How to get MM Server running on XP SP3

by captain paranoia » Thu Nov 06, 2014 5:59 pm

Thanks for the additional responses. It's interesting that it tries to look for A&B, since File Monitoring is turned off, and I can't think if any other setting that would make it keep looking for drives, other than where the library is held. And there's nothing in the library on A:...

There's only one account on this PC: 'User', which is also Admin. I used this account to install MM, and used this MM to install the Server, using the Tools/Options/MediaServing dialogue. I gave it the User password.

The MediaMonkeyService.exe is running when MMW UI is not running; it's visible using Task Manager, and the Computer Management Tool. This seems to suggest that the service is installed correctly, and has the correct password.

I added a Windows Firewall Exception for both MediaMonkey.exe and MediaMonkeyService.exe, and those permissions are both active. This allows the tasks to communicate with devices on the network, and not get blocked by the Firewall; I discovered the need to do this quite early on this week. It seems a pretty essential step, but that may be a legacy in XP, and it may be managed better on more recent Windows.

MMW UI runs as a task owned by User, as is to be expected, since the UI version is launched from a logged in User account.

When MMW UI isn't running, MMW and MMS are running as tasks owned by SYSTEM. Since they're services, this is what I'd expect them to run as (just as the iPodService and AppleMobileDeviceService run as SYSTEM tasks). SYSTEM tasks ought to be available to all users, I think.

In CM/S, I enabled the 'Allow service to interact with Desktop', and re-started the service. This brought up a 'clean' version of MMW UI... Not what I wanted, so I turned that setting off, and re-started the Service.


The ultimate goal for this is to understand how to make MMS run standalone on an XP platform, and then install it on a small, Atom-based XP Embedded device that will run all the time and act as a music server. It's rather galling that there are two other Media Servers on the network; a Twonky server in the WD NAS I have (bough mainly as a cheap 4TB disk), and a server on the router provided by my ISP (A Technicolor 582n, which seems to be pretty capable). Sadly, the Twonky server doesn't seem to talk to anything, and the router server only serves media from a USB port, and only seems to support FAT32, with NTFS as an 'option' which doesn't seem to be installed on mine... FAT32's 4GB file size limit doesn't sound a good idea for a media server... I my end up buying a 4TB USB disk, formatting it as FAT32 64KB clusters, sticking it on the router, and ditching the WD NAS, or relegating it to backup, as the router seems to be able to do just about everything the NAS does. The problem of impulse buys and not planning acquisitions...

Re: How to get MM Server running on XP SP3

by Lowlander » Thu Nov 06, 2014 3:38 pm

As few have floppy drives and many use USB sticks on drive letters A & B it was removed.

Re: How to get MM Server running on XP SP3

by Lowlander » Thu Nov 06, 2014 3:38 pm

captain paranoia wrote:The floppy tickling seems to have stopped. But, even though I'm logged on, and the Service is running, MMA cannot find the server.

Starting MMW UI, I hear the familiar floppy tickle. This continues at the same 30s interval. It's very annoying... I've never encountered this problem with any previous version of MM.
...

So, it seems that it's MMW UI that is tickling the floppy, and the Server, although running when MMW UI is not running, is not making itself visible to the network, and not serving media.
Lowlander wrote:1) Disable it with IgnoreDriveLetters http://www.mediamonkey.com/support/inde ... ediamonkey

The most common reason the service isn't showing a Media Server is because the Service has been installed as a different Windows User Account then MediaMonkey (thus uses settings from the different Windows User Account). A second problem can be the Firewall (although I'm not sure if it needs separate permissions from the main app). The latter is something you could check with a DLNA capable client running on the same PC.

Top