MinimServer Forum
minimwatch thinks it's already running - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: Support (/forumdisplay.php?fid=4)
+--- Thread: minimwatch thinks it's already running (/showthread.php?tid=3236)



minimwatch thinks it's already running - adrian - 11-06-2016 17:14

I invoked minimwatch under linux and got this:

Code:
adrian> minimwatch
MinimWatch 0.8.4, Copyright (c) 2012-2016 Simon Nash. All rights reserved.
Enter command (? for help):
>MinimWatch: can't run multiple instances with the same configuration file     Selected media server: MinimWatch
MinimWatch failure: now stopped, use 'relaunch' or 'exit'

even though I don't have any other minimwatches running. (I just rebooted.) Is there a lock file somewhere I need to delete?


RE: minimwatch thinks it's already running - simoncn - 11-06-2016 22:03

(11-06-2016 17:14)adrian Wrote:  I invoked minimwatch under linux and got this:

Code:
adrian> minimwatch
MinimWatch 0.8.4, Copyright (c) 2012-2016 Simon Nash. All rights reserved.
Enter command (? for help):
>MinimWatch: can't run multiple instances with the same configuration file     Selected media server: MinimWatch
MinimWatch failure: now stopped, use 'relaunch' or 'exit'

even though I don't have any other minimwatches running. (I just rebooted.) Is there a lock file somewhere I need to delete?

There might be a lock file if MinimWatch was terminated abnormally before you rebooted. It is in the minimwatch/data directory and it is named minimwatch.config.lock.

I am surprised to see "Selected media server: MinimWatch". I will investigate why this is being displayed.


RE: minimwatch thinks it's already running - adrian - 12-06-2016 00:07

(11-06-2016 22:03)simoncn Wrote:  There might be a lock file if MinimWatch was terminated abnormally before you rebooted. It is in the minimwatch/data directory and it is named minimwatch.config.lock.

I am surprised to see "Selected media server: MinimWatch". I will investigate why this is being displayed.

I located the lock file and removed it, and now it runs normally:

Code:
MinimWatch 0.8.4, Copyright (c) 2012-2016 Simon Nash. All rights reserved.
Enter command (? for help):
Selected media server: MinimServer[echidna]
MinimServer[echidna] is running
>rescan
restarting MinimServer[echidna]
starting MinimServer[echidna]
MinimServer[echidna] is running
>

The "Selected media server" message no longer appears.