MinimServer Forum
Waversa Mini Nas - Printable Version

+- MinimServer Forum (https://forum.minimserver.com)
+-- Forum: MinimServer (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: Waversa Mini Nas (/showthread.php?tid=3679)

Pages: 1 2


RE: Waversa Mini Nas - geekuix - 02-12-2016 03:45

(01-12-2016 21:12)simoncn Wrote:  This means that MinimServer has identified your version of Linux as supporting System V init and has configured System V init to start MinimServer. For more information on System V init, see this page.

There are two possibilities:

1) MinimServer is starting but the startup is failing for some reason. You can check this by looking at the files minimserver/data/minimserver-out.log and minimserver/data/minimserver.log to see if there are any startup error messages.

2) MinimServer is not starting because your NAS doesn't fully support System V init. You would need to contact the NAS manufacturer to ask about this.

It seems like i have trouble with java:

root@W-MINI-NAS:~# cat java/minimserver/data/minimserver-out.log
/home/root/java/minimserver/bin/startd: line 184: exec: java: not found


RE: Waversa Mini Nas - simoncn - 02-12-2016 09:49

(02-12-2016 03:45)geekuix Wrote:  It seems like i have trouble with java:

root@W-MINI-NAS:~# cat java/minimserver/data/minimserver-out.log
/home/root/java/minimserver/bin/startd: line 184: exec: java: not found

You need to have the java executable on your PATH when the system starts. The usual way to do this is to create a symbolic link to the java executable as /usr/local/bin/java or /usr/bin/java. Alternatively, you can create a file named minimstart.conf in the minimserver/etc directory containing the full path to where you have installed java, in the following format:

java = /full/path/to/where/you/have/installed/java


RE: Waversa Mini Nas - geekuix - 02-12-2016 10:58

Do i need to add something for minimstart.conf on the minimserver script?


RE: Waversa Mini Nas - simoncn - 02-12-2016 11:12

(02-12-2016 10:58)geekuix Wrote:  Do i need to add something for minimstart.conf on the minimserver script?

No, just do what I said.


RE: Waversa Mini Nas - geekuix - 02-12-2016 11:58

Thank you Simon, i've found the problem. The update-rc.d was not updated properly so i've launched the command:
# update-rc.d minimserver defaults
Now minimserver start at boot as root privilege.

Thank you very much for your help.

Best regards,
Geekuix


RE: Waversa Mini Nas - simoncn - 02-12-2016 12:42

I don't understand why this would make a difference. The minimserver/bin/setup command runs the "update-rc.d minimserver defaults" command when you enable automatic startup. If you have run minimserver/bin/setup as the root user, MinimServer would have been started with root privilege. It seems that automatic startup was already working because you were seeing MinimServer starting up but not finding java on the PATH.


RE: Waversa Mini Nas - geekuix - 02-12-2016 14:32

(02-12-2016 12:42)simoncn Wrote:  I don't understand why this would make a difference. The minimserver/bin/setup command runs the "update-rc.d minimserver defaults" command when you enable automatic startup. If you have run minimserver/bin/setup as the root user, MinimServer would have been started with root privilege. It seems that automatic startup was already working because you were seeing MinimServer starting up but not finding java on the PATH.

It seems not working here, so i did it manually.


RE: Waversa Mini Nas - simoncn - 02-12-2016 15:45

(02-12-2016 14:32)geekuix Wrote:  It seems not working here, so i did it manually.

You were getting a startup error message in minimserver-out.log and this could not have happened if the update-rc.d setup had not been done. In any case, I am pleased you have found a solution.