Post Reply 
Minimserver 0.8.3 StartError on Synology
18-12-2014, 09:59
Post: #21
RE: Minimserver 0.8.3 StartError on Synology
(18-12-2014 08:30)simoncn Wrote:  Thanks for this. You are getting this problem because the /var/run/minimserver.pid file doesn't exist. Please run the following commands and post the output:

ls -l /var
ls -l /var/run
ps

Many thanks!

Attached the output of those 3 commands

bbrip


Attached File(s)
.txt  Diskstation2.txt (Size: 7.61 KB / Downloads: 2)
Find all posts by this user
Quote this message in a reply
18-12-2014, 22:25
Post: #22
RE: Minimserver 0.8.3 StartError on Synology
(18-12-2014 09:59)bbrip Wrote:  Attached the output of those 3 commands

bbrip

Please can you also do this for:

ls -l /run

Many thanks!
Find all posts by this user
Quote this message in a reply
19-12-2014, 09:49
Post: #23
RE: Minimserver 0.8.3 StartError on Synology
(16-12-2014 22:02)simoncn Wrote:  You shouldn't normally be using startd to launch MinimWatch on Ubuntu. This runs MinimWatch as a daemon background process. Instead, you should use minimwatch/bin/setup to enable MinimWatch desktop integration and then double-click the MinimWatch launch icon on the desktop.

If MinimServer isn't visible anywhere on the network, are you sure it is running? To find out, open the web page http://x.x.x.x:9790 in your browser, where x.x.x.x is the IP address of the machine running MinimServer.

I tried but nothing appear.
I've got this message when i lauched ./setup:
"MinimWatch desktop integration is not available"

I'm under Ubuntu 14.04 LTS.
And when I open a web page to see the statut of minim server, it's say me:

MinimServer 0.8.3 update 51, Copyright © 2012-2014 Simon Nash. All rights reserved.

Media server status for MinimServer[Nas]: Error

Any idea?
Cause me no...Sad
Find all posts by this user
Quote this message in a reply
19-12-2014, 09:59
Post: #24
RE: Minimserver 0.8.3 StartError on Synology
(18-12-2014 22:25)simoncn Wrote:  Please can you also do this for:

ls -l /run

Many thanks!

Hi Simon,

attached the output


Attached File(s)
.txt  Diskstation3.txt (Size: 3.63 KB / Downloads: 3)
Find all posts by this user
Quote this message in a reply
19-12-2014, 17:54
Post: #25
RE: Minimserver 0.8.3 StartError on Synology
(19-12-2014 09:49)kkwete Wrote:  I tried but nothing appear.
I've got this message when i lauched ./setup:
"MinimWatch desktop integration is not available"

I'm under Ubuntu 14.04 LTS.
And when I open a web page to see the statut of minim server, it's say me:

MinimServer 0.8.3 update 51, Copyright © 2012-2014 Simon Nash. All rights reserved.

Media server status for MinimServer[Nas]: Error

Any idea?
Cause me no...Sad

Are you using the 0.8.3 version of MinimWatch or an older version? The 0.8.3 release added support for desktop integration on Ubuntu. If you have an older version of MinimWatch, please uninstall it and install 0.8.3 instead.

When you have MinimWatch running, this will show you a red minim icon. The hover text for this icon will show you more information about the error. Please post this information here.
Find all posts by this user
Quote this message in a reply
19-12-2014, 19:01
Post: #26
RE: Minimserver 0.8.3 StartError on Synology
(19-12-2014 09:59)bbrip Wrote:  Hi Simon,

attached the output

Thanks very much! I need to find out why starting MinimServer isn't creating the /var/run/minimserver.pid file. Please do the following:

1) Login as root (not admin) via SSH

2) Run the following commands:

export SYNOPKG_PKGNAME=MinimServer
export SYNOPKG_PKGDEST=/var/packages/MinimServer/target
sh -x /var/packages/MinimServer/scripts/start-stop-status stop
sh -x /var/packages/MinimServer/scripts/start-stop-status start

3) Copy the complete output to a file and attach it here.

Many thanks!
Find all posts by this user
Quote this message in a reply
19-12-2014, 19:22
Post: #27
RE: Minimserver 0.8.3 StartError on Synology
(19-12-2014 19:01)simoncn Wrote:  Thanks very much! I need to find out why starting MinimServer isn't creating the /var/run/minimserver.pid file. Please do the following:

1) Login as root (not admin) via SSH

2) Run the following commands:

export SYNOPKG_PKGNAME=MinimServer
export SYNOPKG_PKGDEST=/var/packages/MinimServer/target
sh -x /var/packages/MinimServer/scripts/start-stop-status stop
sh -x /var/packages/MinimServer/scripts/start-stop-status start

3) Copy the complete output to a file and attach it here.

Many thanks!

Hi Simon,

attached the output. Those commands have resulted in an addl. "red Icon" in MinimWatch.

bbrip


Attached File(s)
.txt  Diskstation4.txt (Size: 3.68 KB / Downloads: 1)
Find all posts by this user
Quote this message in a reply
19-12-2014, 20:30
Post: #28
RE: Minimserver 0.8.3 StartError on Synology
(19-12-2014 19:22)bbrip Wrote:  Hi Simon,

attached the output. Those commands have resulted in an addl. "red Icon" in MinimWatch.

bbrip

I think we are very close to solving the mystery.

Does the system log contain any messages that begin with "MinimServer start error"? If so, please post the full text of these messages.

If there aren't any messages in the system log, please repeat the previous stop/start sequence and then copy the file /volume1/MinimServer/appData/minimserver-out.log and attach it here.
Find all posts by this user
Quote this message in a reply
19-12-2014, 20:41
Post: #29
RE: Minimserver 0.8.3 StartError on Synology
This is the error log created:

Fri Dec 19 19:19:44 MinimServer 0.8.3 update 51, Copyright © 2012-2014 Simon Nash. All rights reserved.
Fri Dec 19 19:19:45 HTTPService: error creating server socket: Address already in use
Fri Dec 19 19:19:45 MinimServer error: now stopped, use 'restart' or 'exit'
Enter command (? for help), or null to exit:
>
Find all posts by this user
Quote this message in a reply
19-12-2014, 22:00
Post: #30
RE: Minimserver 0.8.3 StartError on Synology
(19-12-2014 20:41)bbrip Wrote:  This is the error log created:

Fri Dec 19 19:19:44 MinimServer 0.8.3 update 51, Copyright © 2012-2014 Simon Nash. All rights reserved.
Fri Dec 19 19:19:45 HTTPService: error creating server socket: Address already in use
Fri Dec 19 19:19:45 MinimServer error: now stopped, use 'restart' or 'exit'
Enter command (? for help), or null to exit:
>

Do you also see "MinimServer start error" messages in the system log? I would expect something like this:

MinimServer start error: Fri Dec 19 19:19:44 MinimServer 0.8.3 update 51, Copyright © 2012-2014 Simon Nash. All rights reserved.

The problem occurs because you have set the .logPrefix property in your MinimServer properties. This changes the first line of output from:

MinimServer 0.8.3 update 51, Copyright © 2012-2014 Simon Nash. All rights reserved.

to:

Fri Dec 19 19:19:44 MinimServer 0.8.3 update 51, Copyright © 2012-2014 Simon Nash. All rights reserved.


The MinimServer startup script reads this output line to check whether MinimServer has started correctly. It doesn't allow for the date/time stamp at the start of this line and therefore thinks the MinimServer process hasn't started. It then deletes the /var/run/minimserver.pid file, which causes the other problems you are seeing.

I have made a fix to remove the .logPrefix value from the start of this output line. This fix is available in MinimServer update 52. Please do the following:

1) From the minim icons, use Close to close all but one of these icons

2) From the last minim icon, use About + Show updates to install update 52 without relaunching MinimServer

3) From the last minim icon, select Close

4) From the Synology Package Center, start MinimServer

Thanks for all your help with finding and fixing this problem!
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)