The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

FreeBSD, cPanel, jails

Discussion in 'General Discussion' started by silentbob, Nov 19, 2007.

  1. silentbob

    silentbob Member

    Joined:
    Nov 2, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    Hi guys
    I'm a newbie here & to cpanel, can anyone tell me if cPanel supports jails in FreeBSD??
     
    #1 silentbob, Nov 19, 2007
    Last edited: Nov 19, 2007
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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.
     
  3. silentbob

    silentbob Member

    Joined:
    Nov 2, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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??
     
  4. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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.
     
  5. silentbob

    silentbob Member

    Joined:
    Nov 2, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  6. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Well the client's SSH account would be jailed, not the content of the account per-se.
     
  7. JamesSmith

    JamesSmith Well-Known Member

    Joined:
    Sep 17, 2003
    Messages:
    185
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    UK, Luton
    cPanel support for FreeBSD 7 would be very welcome, FreeBSD 7 has some very good performance related enhancements.
     
  8. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    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.
     
  9. silentbob

    silentbob Member

    Joined:
    Nov 2, 2006
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
  10. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    cPanel supports jails. It just can't be installed into a jailed environment.
     
  11. queldor

    queldor Registered

    Joined:
    Oct 30, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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?
     
  12. FreedomBI

    FreedomBI Well-Known Member

    Joined:
    Jul 7, 2008
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    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.
     
  13. sirotex

    sirotex Well-Known Member

    Joined:
    Jul 10, 2008
    Messages:
    121
    Likes Received:
    0
    Trophy Points:
    16
    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 :)
     
  14. queldor

    queldor Registered

    Joined:
    Oct 30, 2008
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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.
     
Loading...

Share This Page