[Solved]Minimserver not starting automatically on Raspberry Pi
|
23-01-2014, 17:48
Post: #11
|
|||
|
|||
RE: Minimserver not starting automatically on Raspberry Pi
(23-01-2014 17:39)simoncn Wrote:(23-01-2014 16:49)guussie Wrote: Yes, this is what I did. I tried it several times after it did not seem to work. Thanks Simon! |
|||
24-01-2014, 01:10
Post: #12
|
|||
|
|||
RE: Minimserver not starting automatically on Raspberry Pi
(23-01-2014 17:48)guussie Wrote: Thanks Simon! I tried this and it worked OK. There is a small problem with the 'stop' command, but automatic startup is working fine. Here is my version of /etc/init.d/minimserver: Code: #!/bin/sh The important difference is the line su "pi" -c "/home/pi/minimserver/bin/startd" where you have su "pi" -c "/home/pi/minimserver/minimserver-0.8.1/bin/startd" I am wondering if there was a problem when you unpacked the .tar.gz file. The minimserver/bin file should be a symbolic link to the minimserver/minimserver-0.8.1/bin directory. It is important to run all the commands (including setup and startd) from the minimserver/bin directory, not the minimserver/minimserver-0.8.1/bin directory. Here are the contents of my minimserver directory: Code: pi@raspberrypi ~ $ ls -l minimserver Also, the rc*.d links are correct for me. Here's an example: Code: pi@raspberrypi ~ $ ls -l /etc/rc2.d |
|||
24-01-2014, 08:38
Post: #13
|
|||
|
|||
RE: Minimserver not starting automatically on Raspberry Pi
(24-01-2014 01:10)simoncn Wrote:(23-01-2014 17:48)guussie Wrote: Thanks Simon! Dear Simon, I will try to tinker with this and see if I can get it working. Since it's working for you, I was thinking whether the installation setup could have made a difference. I work with a Mac. When I download the .tar.gz file on the Mac, OSX automatically unpacks it into a .tar file. I then transfer this file to the RPI using the Finder on the Mac (I have previously installed samba on the RPi so I just drag and drop). Then I unpack that pile, which seems to produce the relevant directories. After that I follow the instructions on your site, so I nave went into 0.8.1. Could this somehow make a difference? From my side, I will redo the whole procedure, see what happens and then report back. |
|||
24-01-2014, 10:18
Post: #14
|
|||
|
|||
RE: Minimserver not starting automatically on Raspberry Pi
(24-01-2014 08:38)guussie Wrote: Dear Simon, Unpacking the .tar.gz file to a .tar file on the Mac shouldn't cause a problem. I think the problem is caused by "so I nave went into 0.8.1". The instructions on the website are: cd /home/pi tar xf MinimServer-0.8.1-linux-armhf.tar.gz minimserver/bin/setup You need to follow these exactly and run minimserver/bin/setup from the /home/pi directory, as I said in a previous post. If the .tar.gz file was unpacked on the Mac, you should do: cd /home/pi tar xf MinimServer-0.8.1-linux-armhf.tar minimserver/bin/setup |
|||
24-01-2014, 12:24
Post: #15
|
|||
|
|||
RE: Minimserver not starting automatically on Raspberry Pi
(24-01-2014 10:18)simoncn Wrote: Unpacking the .tar.gz file to a .tar file on the Mac shouldn't cause a problem. I ran setup from the /home/pi directory and now minim server is starting automatically at startup. Apologies for wasting your time. I must have ignored your instructions and have started setup from minim server/bin.... Thanks anyway for sorting this out! |
|||
24-01-2014, 12:46
Post: #16
|
|||
|
|||
RE: Minimserver not starting automatically on Raspberry Pi
(24-01-2014 12:24)guussie Wrote: I ran setup from the /home/pi directory and now minim server is starting automatically at startup. No problem! I will see what I can do to make this more robust so things still work if the setup command is run from a different directory. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)