FreeNAS setup help?
-
@Mike-Ralston said:
@coliver said:
I'm sure you've already seen this post but it may help to double-check your work:
https://forums.freenas.org/index.php?threads/cifs-windows-sharing-guide.20948/I followed all of these steps, and everything looks to be set up properly, except, I can't enable the CIFS service, and it doesn't tell me why. It just says "This Service Could Not Be Started".
If I remember correctly that means that something is wrong with your config file. I haven't worked with CIFS shares on Linux in a while... Can you look into the log and see if there is an issue there? Generally it says the line number an error occurred on.
-
Ah, well that's a huge step. That the service isn't started means that there is no reason to be looking at firewalls and such. There is something wrong with the service.
We need to look a the logs and see what errors are being recorded.
-
@coliver Where do I find the Log?
-
Should be /var/log/daemon.log
-
@Mike-Ralston said:
@coliver Where do I find the Log?
I'm not sure with FreeBSD or FreeNAS. Generally it is in something like /var/log/messages. Although that may be different on this server.
-
@coliver said:
I'm not sure with FreeBSD or FreeNAS. Generally it is in something like /var/log/messages. Although that may be different on this server.
/var/log/messages is RHEL only.
-
@scottalanmiller Good to know.
-
@scottalanmiller None of those work. They actually do nothing but bring up the main page again.
-
-
if you do this we can see all of the available logs...
ls /var/log
-
@scottalanmiller Doesn't work. Neither the virtualized WebUI console, nor the physical server, accept any commands.
-
All the logs are under /var/log but they are stored in memory and not preseistant. You need a syslog server if you want them presistant.
-
@Mike-Ralston said:
@scottalanmiller Doesn't work. Neither the virtualized WebUI console, nor the physical server, accept any commands.
Well that's another issue altogether. Maybe you need a working OS before trying to get the apps on top of it running This is like telling your mechanic that something is wrong and you can't get to the store when you know that the issue is that the garage door hasn't been opened yet. Let's get the garage door open before we look at the car, the car might run just fine.
What is a virtualized WebUI console? You have two FreeNAS devices, one virtual and one physical?
-
@scottalanmiller FreeNAS is the OS level software. The only way you can properly access it is by navigating to it's IP from a PC within the LAN.
-
Wait... is FreeNAS an application or deployed as a VM?
-
@art_of_shred said:
Wait... is FreeNAS an application or deployed as a VM?
It is a software appliance. So it would be deployed as a VM.
-
Ok, so it IS the OS, doesn't sit on an OS. Would you deploy that on a blank machine, or on a hypervisor? Sorry for the dumb questions, I just know absolutely nothing about it but want a better grasp so I can help troubleshoot.
-
@art_of_shred said:
Wait... is FreeNAS an application or deployed as a VM?
It's an OS + extra stuff. So could be a VM or could be installed directly to hardware. It's not an application.
-
@Mike-Ralston said:
@scottalanmiller FreeNAS is the OS level software. The only way you can properly access it is by navigating to it's IP from a PC within the LAN.
Correct. That doesn't relate to what I had asked though. You said something about being virtual.
-
@art_of_shred said:
Ok, so it IS the OS, doesn't sit on an OS. Would you deploy that on a blank machine, or on a hypervisor? Sorry for the dumb questions, I just know absolutely nothing about it but want a better grasp so I can help troubleshoot.
Either. Depends on the situation. Best practice would be "nearly always" on a hypervisor except in cases where it was just mammoth and you were using it to manage software RAID on huge numbers of drives.