Unable to create Jail error

Status
Not open for further replies.

Chris230291

Patron
Joined
Mar 21, 2012
Messages
300
Hello. I am having trouble creating Jails in FreeNas for some reason. It' keeps giving me errors.

I have been having trouble getting a custom template to install over the past couple of weeks so I decided I would try a fresh install of FreeNas. I did a clean install from disk (FreeNAS-9.2.1.3-RELEASE-x64 (dc0c46b)), auto imported my datasets/disks and manually reconfigured users, shares etc. I did not restore the config file just in case the problem lay in that. I also decided to wipe the Jail drive in case something was corrupt on there and so that it really was a fresh start. It would appear all of that was a waste of time though as I'm still getting the same/similar error message.

Hopefully someone understands the error messages and can advise me on what to try next. I've been fighting with this on and off for a couple of weeks now so any help is genuinely appreciated.

Cheers,
Chris.
 
D

dlavigne

Guest
Hmmm...did your original post indicate this error? I'm not seeing it in the post now...

"http://cdn.freenas.org/9.2.0/RELEASE/x64/jails/freenas-pluginjail-9.2-RELEASE.tgz: Not Found ERROR: Failed extracting: http://cdn.freenas.org/9.2.0/RELEASE/x64/jails/freenas-pluginjail-9.2-RELEASE.tgz cannot open 'Jails/.warden-template-pluginjail': dataset does not exist ERROR: Failed to create ZFS base dataset"

If so, that URL would be the problem as the CDN no longer exists.

What error are you getting now?
 

Chris230291

Patron
Joined
Mar 21, 2012
Messages
300
Hmmm...did your original post indicate this error? I'm not seeing it in the post now...

"http://cdn.freenas.org/9.2.0/RELEASE/x64/jails/freenas-pluginjail-9.2-RELEASE.tgz: Not Found ERROR: Failed extracting: http://cdn.freenas.org/9.2.0/RELEASE/x64/jails/freenas-pluginjail-9.2-RELEASE.tgz cannot open 'Jails/.warden-template-pluginjail': dataset does not exist ERROR: Failed to create ZFS base dataset"

If so, that URL would be the problem as the CDN no longer exists.

What error are you getting now?


Sorry the original error was incorrect. It was late here when I posted this and I made a mistake. I'm trying to accomplish several things at once and got them mixed up.
The full story is in the link I posted to the bug page.
To be honest I'm thinking of giving up on uploading the template (it's a preconfigured Ubuntu template that has a game server inside it, set up in a VM) as I'm not getting anywhere, I'm not sure if its me or FreeNas but either way I can't get it to work.

I just created a blank Ubuntu Jail in FreeNas with the intention of starting from scratch and configuring it after the Jail has been successfully created. The problem I'm having now though is I can't SSH into the Ubuntu Jail. I tried using the web GUI shell but it seems to freeze and stuff while I'm trying to configure things. This is why I want to use SSH and Putty. Is there any way I can use SSH with my fresh Ubuntu Jail?

Code:
[root@Server] ~# jls
  JID  IP Address      Hostname                      Path
    6  10.0.1.210      Transmission                  /mnt/Jails/Transmission
    9  10.0.1.220      ArmA_3_Server                /mnt/Jails/ArmA_3_Server
[root@Server] ~# jexec 9 tcsh
jexec: execvp(): tcsh: No such file or directory
[root@Server] ~#


Cheers,
Chris.
 

Chris230291

Patron
Joined
Mar 21, 2012
Messages
300
Any particular reason you're using a Linux jail instead of a plugins or ports jail? Linux jails are experimental and limited to 32-bit apps.

Setting up SSH is covered at http://doc.freenas.org/ind.ex.php/Adding_Jails#Accessing_a_Jail_Using_SSH_Instead_of_its_Shell_Icon, though this section leaves the Linux instructions up to the knowledge of the user as the steps (and what is installed by default) can vary by distro.


I am using Linux because I think I have to? The game server is written for Linux but I think some people are running it in FreeBSD (I'm guessing it takes loads of work). The server application is 32bit.

I actually have it running now, I just persevered with the slow/buggy web shell but I would still like to figure out how to enable SSH for the future. I will take a look at that link and have a good read through it.

Thanks,
Chris
 

Chris230291

Patron
Joined
Mar 21, 2012
Messages
300
Can I ask what's experimental about the Linux distros? Stability? Functionality?

Is there any way to make the Jail more powerful? ie, let it utilize more CPU power etc. At the moment it seems to be limited quite a bit as I'm getting much lower performance than I did in a VM configured at a lower spec than my actual server.

Chris.
 
Status
Not open for further replies.
Top