This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

TheBrig Jails have no IP Address?

Jails with XigmaNAS
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
kalamingo
NewUser
NewUser
Posts: 14
Joined: 09 Jun 2013 18:13
Status: Offline

TheBrig Jails have no IP Address?

Post by kalamingo »

Hey all,

So I upgraded my Nas4Free to the lastest 10.1.0.2 64bit, as I found out I was actually on a 32bit version of ver 9.

Upgraded theBrig to the latest Alcatraz version and I can enter the page fine and see my old Jail there. Problem is that the settings is all there and it's started but when I SSH and do a jls I get this:-

Code: Select all

 server: ~# jls
   JID  IP Address      Hostname                      Path
Here's what my settings look like: http://imgur.com/Z2ABMNT and http://imgur.com/BQJjeEH

Is this issue related to my router? I've also tried creating a new jail and likewise it does not have an IP address.

Also - Is there a way I can do a clean uninstall of TheBrig? When i upgraded it I do remember seeing some errors but it installed successfully. Didnt manage to screenshot it though.

Edit: As my old nas4free install was a 32bit version, and I just noticed somewhere that theBrigs also have a 32/64bit version as well, could it be some incompatibility issues with my old jail that i upgraded?

Appreciate some help.

Thanks

n1k
NewUser
NewUser
Posts: 1
Joined: 09 Jul 2014 20:15
Status: Offline

Re: TheBrig Jails have no IP Address?

Post by n1k »

I have the same problem. Any ideas how to fix it?
The problem only occurs if I insert a fstab entry.

KageKeeper
NewUser
NewUser
Posts: 1
Joined: 02 Sep 2015 01:40
Status: Offline

Re: TheBrig Jails have no IP Address?

Post by KageKeeper »

I, too, am having this issue, also after entering fstab info (for Plex). I have another jail (ownCloud), and it has an IP, I can jexec to it, etc.

I deleted the Plex jail and created a new jail, and it also has no IP (I have not entered fstab info yet).

Any ideas?

User avatar
Parkcomm
Advanced User
Advanced User
Posts: 384
Joined: 21 Sep 2012 12:58
Location: Australia
Status: Offline

Re: TheBrig Jails have no IP Address?

Post by Parkcomm »

Kalamingo - your jail isn't running, thats why you can't see it with jls. You'll need to do some command line shenanigans.

Code: Select all

/etc/rc.d/thebrig onestart proto
that might start the jail but if you get

Code: Select all

proto already exists
then run

Code: Select all

rm /var/run/jail_proto.id
/etc/rc.d/thebrig onestart proto
If that does not start the jail - the command will spit our some diagnostics. Post them here and we'll have a look
NAS4Free Embedded 10.2.0.2 - Prester (revision 2003), HP N40L Microserver (AMD Turion) with modified BIOS, ZFS Mirror 4 x WD Red + L2ARC 128M Apple SSD, 10G ECC Ram, Intel 1G CT NIC + inbuilt broadcom

Storms
NewUser
NewUser
Posts: 4
Joined: 06 Nov 2014 21:18
Location: Bradford, UK
Status: Offline

Re: TheBrig Jails have no IP Address?

Post by Storms »

Using 10.2.0.2.2235 and alcatraz

tried the above but still jails don't have IP's assigned

These are my steps (brig is intsalled at /mnt/nas/data/jails/brig):
  • Installed brig from command line
  • Save rudimentary config in brig and download tarballs
  • Create a jail called jail1 using GUI:
  • Check 'Enable mount procfs'
  • Check 'Enable mount fdescfs'
  • Everythimg else left as default setting (I do not click 'Enable virtual network stack' nor do I edit the FStab and I dont choose an archive)

I get the following error when trying to start it via commandline:

Code: Select all

 
 nas4free: jails# pwd
/mnt/nas/data/jails

nas4free: jails# /etc/rc.d/thebrig onestart jail1
Starting jails: security.jail.enforce_statfs: 2 -> 2
jail1 jail: jail1: mount.fstab: /mnt/nas/data/jails/brig/jail1/basejail: No such file or directory

 nas4free: jails# cd brig/jail1/
 nas4free: jail1# ls -alrt
total 33
drwxr-xr-x  6 root  admin  10 Dec 31 16:39 ..
drwxr-xr--  2 root  admin   2 Dec 31 16:39 .
 nas4free: jail1# 

 
Motherboard: Gigabyte GA-78LMT-USB3
CPU: AMD FX-6100 Six-Core Processor
Storage: 6 x 2TB Western Digital 3.5 hard drives
RAM: 32GB DDR3
Boot device: KINGSTON 120GB SSD (connected via PCI Card)
Redundancy: raidz2
Installation type: RootOnZfs

drdoo
Starter
Starter
Posts: 17
Joined: 24 Sep 2013 14:26
Status: Offline

Re: TheBrig Jails have no IP Address?

Post by drdoo »

I usually get the no ip bug when i misconfigured something in the jail.
Like forgetting the subnet (/24) with the ip adress. Or mounting a directory with fstab but forgetting to create the directory inside the jail before starting it.

Storms
NewUser
NewUser
Posts: 4
Joined: 06 Nov 2014 21:18
Location: Bradford, UK
Status: Offline

Re: TheBrig Jails have no IP Address?

Post by Storms »

The problem was that I wasn't setting up networking correctly when creating the jail.

In the 'Networking' section I chose 're0' and 192.168.1.200/24 then it worked
Motherboard: Gigabyte GA-78LMT-USB3
CPU: AMD FX-6100 Six-Core Processor
Storage: 6 x 2TB Western Digital 3.5 hard drives
RAM: 32GB DDR3
Boot device: KINGSTON 120GB SSD (connected via PCI Card)
Redundancy: raidz2
Installation type: RootOnZfs

spoocky68
Starter
Starter
Posts: 24
Joined: 29 Dec 2014 13:54
Status: Offline

Re: TheBrig Jails have no IP Address?

Post by spoocky68 »

Hi. Thanks for your job.

I'd got de same problem, but I follow the Parkcomm instructions and finally jail start. But question is that I cannot shutdown jail from Extensions|TheBrig|Jail page on webgui. What can I do?

User avatar
alexey123
Moderator
Moderator
Posts: 1469
Joined: 19 Aug 2012 08:22
Location: Israel, Karmiel
Contact:
Status: Offline

Re: TheBrig Jails have no IP Address?

Post by alexey123 »

Ip you not see IP address , so jail not start.

Check it with jls.

If you not see your jail simple remove /var/run/jail_<JAILNAME>.id file

If jail started, JAIL stop red button must work
Home12.1.0.4 - Ingva (revision 7091)/ x64-embedded on AMD A8-7600 Radeon R7 A88XM-PLUS/ 16G RAM / UPS Ippon Back Power Pro 600
Lab 12.1.0.4 - Ingva (revision 7091) /x64-embedded on Intel(R) Core(TM) i3-3220 CPU @ 3.30GHz / H61M-DS2 / 4G RAM / UPS Ippon Back Power Pro 600

spoocky68
Starter
Starter
Posts: 24
Joined: 29 Dec 2014 13:54
Status: Offline

Re: TheBrig Jails have no IP Address?

Post by spoocky68 »

Thanks a lot. All run fine!

Post Reply

Return to “Jails”