Post Reply 
Custom MinimServer Installation Not Starting
04-09-2017, 16:46
Post: #3
RE: Custom MinimServer Installation Not Starting
Hi Simon,

Thank you very much for your reply and assistance - I greatly appreciate it. After seeing the error message I too thought that another MinimServer instance was running. However, I later confirmed that this was not the case.

For a bit of background information: unRAID is based on Slackware Linux (currently v14.2) with a similar file/folder structure as standard Linux. However, since the OS and any custom applications are installed/loaded at boot time, I have had to change the default locations of the MinimServer directories to mirror the layout used in previous versions. I began doing this when the MinimServer folder structure changed (for ease of updating) where newer versions of MinimServer were placed within the top level "minimserver" directory. The change that I have made was to move the bin, icons, and lib directories out from the "minimserver-8.X" folder and place them in the top level "minimserver" directory (and delete the corresponding file/symbolic links using the same names). For instance my top-level minimserver directory contains the following directories and scripts:

Code:
minimserver
-bin
-data
-etc
-icons
-lib
-libext
-libsys
-opt
-tmp
License.txt
autostart.sh (start script)
stopall.sh (stop script)

Using this format takes a bit more work when newer versions of MinimServer are available, however it survives a reboot and has been working great with MinimWatch on my Windows workstation. To start MinimServer I use the following autostart.sh script within the minimserver directory, which works fine up to MinimServer v0.8.1 (Linux x64) as well as up to MinimServer v0.8.4 (Linux x86). My issue only appears with newer versions of MinimServer x64 beyond v0.8.1.

Code:
#!/bin/sh

cd /boot/custom/minimserver/data

/usr/lib64/java/jre/bin/java -jar /boot/custom/minimserver/lib/mserver.jar --noconsole --nohup </dev/null >minimserver.out 2>&1 &

exit 0

Is there a chance that my autostart.sh script may be out of date as required by to the newest versions of MinimServer? The problem I originally ran into is that the default "/bin/startd" script doesn't appear to work with the file structure that I have listed above. I have customized an older version of the startd script by hard coding the directory structure which does appear to work. However, I receive the same error message as mentioned in my initial forum post.

Does this shed any light on the error message that I am seeing? I'm not certain at what point multiple instances of MinimServer may be starting based on how I have it installed.

Thank you very much for any suggestions you can provide - your time is greatly appreciated.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Custom MinimServer Installation Not Starting - Jeeves - 04-09-2017 16:46

Forum Jump:


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