Post Reply 
Synology DSM 4.2 is incompatible with MinimServer
11-03-2013, 11:48 (This post was last modified: 11-03-2013 11:51 by Rairwave.)
Post: #30
RE: Synology DSM 4.2 is incompatible with MinimServer
(10-03-2013 22:52)winxi Wrote:  Am I right that this package is just about installing Oracle Java at the NAS?

Yes, from what I understand is that the Java Manager is just for installing Java on your NAS:
"Java Manager helps you to install JDK and JRE on your DiskStation to run business applications. .....
Java Manager and Tomcat are available on the models: RS10613xs+, RS3413xs+, DS2413+, DS713+, DS3612xs, RS3412RPxs , RS3412xs, RS2212+, RS2212RP+, DS1812+, DS1512+, RS812RP+, RS812+, DS712+, DS412+, DS3611xs, RS3411RPxs, RS3411xs, RS2211RP+, RS2211+, DS2411+, DS1511+, DS411+II, DS411+, DS1010+, RS810RP+, RS810+, DS710+."

(10-03-2013 22:52)winxi Wrote:  Second option: Edit the file '/var/packages/MinimServer/scripts/start-stop-status' and change line 10 from
Code:
ps -w | grep "^ *[0-9]* minimser.*java -jar.*[m]inimserver.jar" > /dev/null
to
Code:
ps -w | grep "^ *[0-9]* minimser.*java -jar.*[m]inimserver" > /dev/null
Important: Reboot the NAS.

Edit: if you choose option two, you should also change lines 97, 130 and 150 from
Code:
PID=`ps -w | grep "^ *[0-9]* minimser.*java -jar.*[m]inimserver.jar" | awk '{print $1}'`
to
Code:
PID=`ps -w | grep "^ *[0-9]* minimser.*java -jar.*[m]inimserver" | awk '{print $1}'`

I confirm these edits work. Package Manager is now showing MinimServer as running, straight after a reboot.
(Still with 29 java processes, but that is a different matter I know)

Thanks for your help on this one, I am happy!

Edit: line 91 should be 97, changed in above guideline.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Synology DSM 4.2 is incompatible with MinimServer - Rairwave - 11-03-2013 11:48

Forum Jump:


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