Post Reply 
 
Thread Rating:
  • 3 Vote(s) - 4.33 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] Installing MinimServer on FreeNAS or FreeBSD
24-09-2017, 19:34
Post: #18
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
Hi,

Any idea why on attemtp of starting service minimserver start I'm getting attached error.

   

Restarting jail and server didn't help either.

Minimserver is working fine when started manually though.

FreeNAS version is 9.10.2-U6

I followed below steps, but no luck

(23-01-2016 17:52)airflow Wrote:  Want to make MinimServer to start automatically when starting the jail (or starting FreeNAS, that is)? In this case also do the following steps:
  1. Edit the file minimserver/bin/startd and replace the line
    Code:
    mknod -m a=rw "${MINIMPIPE}" p || exit
    with
    Code:
    mkfifo -m a=rw "${MINIMPIPE}" || exit
  2. Create the file /etc/rc.d/minimserver with the following contents:
    Code:
    #!/bin/sh
    PATH=${PATH}:/usr/local/sbin:/usr/local/bin
    export PATH
    LANG=en_US.UTF-8
    export LANG
    LC_CTYPE=en_US.UTF-8
    export LC_CTYPE
    LC_ALL=en_US.UTF-8
    export LC_ALL

    /usr/local/share/minimserver/bin/startd
  3. Make the file executable with "chmod +x minimserver"
  4. Edit the file /etc/rc.conf and add the line "minimserver_enable="YES""
  5. You can now start the server in the background with "service minimserver start" or by just restarting the jail or FreeNAS itself.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD - lukeru - 24-09-2017 19:34

Forum Jump:


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