gladiola
Cadet
- Joined
- Apr 28, 2019
- Messages
- 5
I'm a FreeNAS newbie who's been using FreeBSD for about ten years. I tried my first FreeNAS install last night, and it has not gone well. I cannot get the system to stand up completely; I see persistent error messages about the middlewared not started. As near as I can tell, it creates a cascade of other errors that I see.
I think I am probably experiencing the same kind of condition described in this unsolved thread: https://www.ixsystems.com/community/threads/middleware-failed-to-start.75493/
I am installing FreeNAS 11.2-U3 to a Dell T110 Poweredge with 8GiB RAM and four HDD in the box. The ISO was written to a USB drive. BIOS set to boot from the internal drive. I can tell you that I had to try many times to write the ISO. The installer was so quiet that several times I had thought it had just completely stalled out and was doing nothing. I wasn't sure if I was wrestling with the BIOS settings or the installer of a new kind of system I had not used before.
I would clear the USB by switching it back over to a Win10 machine and reformatting the drive. Once written to drive, it took about an hour for the install process to complete. The console output was extremely slow. Compared to other FreeBSD installs from ports, I did not see the type of output I would have been expecting. Out of exasperation, I just left the machine alone and let it run. At one point, it was about a one word change every ten or twenty minutes. Very slow. It eventually picked up speed after the base os install part 1 segment. I did see and receive a "Success" dialog that matches the one on the directions. When I powered up this morning for its initial trial, that's when I started seeing the middlewared not started errors.
The installer was written using a separate machine. I wrote the ISO using imageUSB from Proxmark. It's the one that comes with memtest86. I've used it before without trouble. I had also tried writing to DVD. That imaging would work, but when I was conducting that install on the T110 itself, I kept getting errors that said it would not let me write to da0, where the USB was waiting. It was being recognized by the installer dialog; but, it would eventually fail. When I switched over to writing the installer to USB using a separate machine, I was able to succeed.
Once the BIOS of the T110 is rigged to recognize the internal USB, it'll go to the FreeNAS installer. Aside from the cascade of middlewared not started errors, it looks like the startup process is rolling along. When I get to the end, I do get to a "Console setup" menu that allows me to go to shell.
When I give a
If I give a
When I drill down into /usr/local/etc/rc.d and
When I say I think I'm seeing other errors related to this middlewared not started problem, I mean:
I suspect that the service is getting used in a way, but that it is working partially and too late. Since it's not ready when it seems to be needed, I don't think the install will work as it is. I thought I would ask for help.
Please advise.
What is the preferred way to get the middlewared service started at the right time during boot? Any advice you can provide might be helpful.
I think I am probably experiencing the same kind of condition described in this unsolved thread: https://www.ixsystems.com/community/threads/middleware-failed-to-start.75493/
I am installing FreeNAS 11.2-U3 to a Dell T110 Poweredge with 8GiB RAM and four HDD in the box. The ISO was written to a USB drive. BIOS set to boot from the internal drive. I can tell you that I had to try many times to write the ISO. The installer was so quiet that several times I had thought it had just completely stalled out and was doing nothing. I wasn't sure if I was wrestling with the BIOS settings or the installer of a new kind of system I had not used before.
I would clear the USB by switching it back over to a Win10 machine and reformatting the drive. Once written to drive, it took about an hour for the install process to complete. The console output was extremely slow. Compared to other FreeBSD installs from ports, I did not see the type of output I would have been expecting. Out of exasperation, I just left the machine alone and let it run. At one point, it was about a one word change every ten or twenty minutes. Very slow. It eventually picked up speed after the base os install part 1 segment. I did see and receive a "Success" dialog that matches the one on the directions. When I powered up this morning for its initial trial, that's when I started seeing the middlewared not started errors.
The installer was written using a separate machine. I wrote the ISO using imageUSB from Proxmark. It's the one that comes with memtest86. I've used it before without trouble. I had also tried writing to DVD. That imaging would work, but when I was conducting that install on the T110 itself, I kept getting errors that said it would not let me write to da0, where the USB was waiting. It was being recognized by the installer dialog; but, it would eventually fail. When I switched over to writing the installer to USB using a separate machine, I was able to succeed.
Once the BIOS of the T110 is rigged to recognize the internal USB, it'll go to the FreeNAS installer. Aside from the cascade of middlewared not started errors, it looks like the startup process is rolling along. When I get to the end, I do get to a "Console setup" menu that allows me to go to shell.
When I give a
service -e
I can see several services running, but none of them are middlewared.If I give a
service middlewared start
, then I see a PID of such a service already running.When I drill down into /usr/local/etc/rc.d and
cat
the middlewared file, I can see the middlewared_start() function. I can see the error message in that function that I was witnessing earlier during startup. When I do a printenv
, I cannot see LD_LIBRARY_PATH set. When I look at the PATH variable, I don't see a value that is as complex as the one set in the "else" block that follows the tmux stuff.When I say I think I'm seeing other errors related to this middlewared not started problem, I mean:
- "The web interface could not be accessed."
- "Error: attempt to write to a read-only database"
- Python scripting errors about a server cert
- Many warnings about the middlewared not started, but they seem to subside near the middlewared plugins section.
I suspect that the service is getting used in a way, but that it is working partially and too late. Since it's not ready when it seems to be needed, I don't think the install will work as it is. I thought I would ask for help.
Please advise.
What is the preferred way to get the middlewared service started at the right time during boot? Any advice you can provide might be helpful.
Last edited: