Post Reply 
[Solved] cannot start minimserver on raspberry automatically
24-07-2014, 12:50
Post: #7
[Solved] cannot start minimserver on raspberry automatically
(24-07-2014 11:50)simoncn Wrote:  
(24-07-2014 11:26)prodigy999 Wrote:  MinimServer 0.8.1 update 31, Copyright © 2012-2014 Simon Nash. All rights reserved.
starting MinimServer
MinimServer[raspberrypi] is running
ending MinimServer
stopping MinimServer[raspberrypi]
MinimServer[raspberrypi] is stopped

It does not start automatically.

I think I know what has happened. If you have previously used sudo to run /minimserver/bin/startd or minimserver/bin/setup (as you mentioned in a previous post), this has created some files with root ownership.

The minimserver/bin/setup command is careful not to do this. It autostarts MinimServer with the same process owner that ran the minimserver/bin/setup command. This doesn't work if there are some existing MinimServer files with root ownership because the autostarted process can't access these files.

This also explains why the uninstall didn't work.

To fix the problem, you can run sudo minimserver/bin/uninstall and select the option not to preserve the configuration file. After doing this, do the following:

1) Reinstall MinimServer
2) From the installation directory, run the command minimserver/bin/setup and enable automatic startup (you will be prompted to enter your password for sudo)
3) Reboot the Raspberry Pi

You should now find that MinimServer has started automatically and the files are not owned by root.

Thanks. it works fine now.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
[Solved] cannot start minimserver on raspberry automatically - prodigy999 - 24-07-2014 12:50

Forum Jump:


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