Post Reply 
[Solved] cannot start minimserver on raspberry automatically
23-07-2014, 22:00
Post: #2
RE: cannot start minimserver on raspberry pi
(23-07-2014 18:19)prodigy999 Wrote:  Hi,

I installed the latest version of minimserver on my raspberry pi.
I can start minimserver with command sudo, but autostart does not work.
I think it has to do with rights on my pi.

there are some error messages:

pi@raspberrypi ~ $ minimserver/bin/stopall
Checking for running instances of MinimServer...
No MinimServer instances are running
pi@raspberrypi ~ $ minimserver/bin/startd
pi@raspberrypi ~ $ minimserver/bin/startd: 5: minimserver/bin/startd: cannot cre ate minimserver.out: Permission denied
pi@raspberrypi ~ $ minimserver/bin/startc
Unable to delete file /home/pi/minimserver/data/./native/libohNet.so
pi@raspberrypi ~ $

How can I fix this?

Thanks, prodigy

If you want to use autostart, you need to set this up using the miniimserver/bin/setup command. See points 5 and 6 of this section.

It looks like the error you are getting is caused by having MinimServer start automatically and then trying to start it again manually. The automatic instance is started with root ownership and the manual instance has user privilege, so the manual instance can't write to files that have been created by the automatic instance.

If you want MinimServer to start automatically (with root ownership), you can use minimserver/bin/setup to disable desktop integration and enable automatic startup, then reboot the Raspberry Pi. After doing this, you don't need to use the minimserver/bin/startc or minimserver/bin/startd commands because MinimServer will already be running.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: cannot start minimserver on raspberry pi - simoncn - 23-07-2014 22:00

Forum Jump:


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