silentbob

Member
Nov 2, 2006
7
0
151
Hi guys
I'm a newbie here & to cpanel, can anyone tell me if cPanel supports jails in FreeBSD??
 
Last edited:

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Hi guys
I'm a newbie here & to cpanel, can anyone tell me if cPanel supports jails in FreeBSD??
Do you mean cPanel being installed onto a jailed environment? In that scenario, No, cPanel cannot be installed to a jail as root access is required for it to properly install.

Do you mean cPanel/WHM accounts having Jailed shell accounts? In that situation, yes - jailed shell access is supported.
 

silentbob

Member
Nov 2, 2006
7
0
151
Do you mean cPanel/WHM accounts having Jailed shell accounts? In that situation, yes - jailed shell access is supported.
Yep, cPanel with WHMCS installed on a freebsd box then all the client accounts/sites running in individual jails so that everything is seperated.

Whats the support status of cPanel/WHMCS for FreeBSD 7.0??
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
Yep, cPanel with WHMCS installed on a freebsd box then all the client accounts/sites running in individual jails so that everything is seperated.

Whats the support status of cPanel/WHMCS for FreeBSD 7.0??
WHMCS is made by a third party company, you can ask them at WHMCS.com

As for cPanel/WHM, I know that work has begun on FreeBSD 7 support. Development will likely speed up once FreeBSD 7 has reached final release status.
 

silentbob

Member
Nov 2, 2006
7
0
151
ok cool, I'll check out the WHMCS stuff out but as far as cPanel nstalled on a freebsd box then all the client accounts/sites running in individual jails so that everything is seperated it should all work ok, right?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
ok cool, I'll check out the WHMCS stuff out but as far as cPanel nstalled on a freebsd box then all the client accounts/sites running in individual jails so that everything is seperated it should all work ok, right?
Well the client's SSH account would be jailed, not the content of the account per-se.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
cPanel support for FreeBSD 7 would be very welcome, FreeBSD 7 has some very good performance related enhancements.
Note, it is our general policy to not begin work on supporting a distribution until it has reached final release. Right now FreeBSD 7 is still in Beta, however we do intend to support FreeBSD 7. Unfortunately, I don't have any ETA on that for you.
 

silentbob

Member
Nov 2, 2006
7
0
151
it doesn't really matter, I'm even more disappointed with cpanel now, you would have thought that it would have been able to support jails as it is quiet a key feature in *nix hosting.
 

queldor

Registered
Oct 30, 2008
2
0
51
Details

Are there any details as to why cPanel can not be installed in a FreeBSD Jail?

I have a jail I setup for a friend and they have root in the jail. Is there anything stopping them from being able to install it?
 

FreedomBI

Well-Known Member
Jul 7, 2008
65
0
56
One thing I can think of is that you can only have a single IP in a FreeBSD jail. I think there's a patch that allows multiple IP's in a jail, but last time I tried it, it broke localhost.

Some features like shutdown/reboot also won't work, of course. And you might have issues using postgresql.
 

sirotex

Well-Known Member
Jul 10, 2008
121
0
66
Hello,

We currently run FreeBSD 7.x with cPanel 11.x

Jails IP Patch is only for FreeBSD 6.x however it can be modified :P

I first tried installing cPanel in a Jail. It did Install, and ran also, but a few Services like cpsrvd & bind was faulty. We did however get cpsrvd to run & bind.

In the end we decided to rm -rf the jail and install system wide, with a few modifications you can probably get it to work, the fact there is no IP Jail Patch for FreeBSD 7.x means its pretty useless to install cPanel if you want to use your own DNS :)
 

queldor

Registered
Oct 30, 2008
2
0
51
Yeah, I think we are going to try one more time. It will only be running cPanel for one person and one site.

The loopback might be a big issue.

A small one was the check for /proc/1. In the jail there is no process id of 1. That was a quick mod.

I had to disable SSL, for some reason it did not work. (I think that was my fault, the file system did not nosuid on which I have since disabled, but have not corrected all the files.)

Yeah shutdown/reboot should not be to big of an issue.
Mysql is mine and my friends preferred database of choice.

Thanks for the info.

If you know of anything else off hand, please feel free to let me know.