[Tutorial] Installing MinimServer on FreeNAS or FreeBSD
|
11-02-2020, 08:44
Post: #61
|
|||
|
|||
RE: [Tutorial] Installing MinimServer on FreeNAS or FreeBSD
In this section of code:
Code: pid="$(cat "${MINIMPIDFILE}" 2>/dev/null)" the startd script is looking for the minimserver.pid file to be non-null and checking whether /proc/$pid/cmdline is also non-null. If the minimserver.pid file is non-null and /proc/$pid/cmdline is null, the "Failed to start" message will be produced. Does /proc/$pid/cmdline work on BSD? If it doesn't, this would explain the error message. The other possibility is that the minimserver.pid file is non-null and /proc/$pid/cmdline is null because of some startup sequencing/timing issue. If this is the case, adding a short delay into this check might solve the problem. I can't check this myself because it is working for me on Linux. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)