shri

Member
Apr 7, 2002
7
0
301
We're moving from a linux base to FreeBSD 7. How well does cPanel perform under 7? Or is it broken?
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,212
13
313
Houston, TX
cPanel Access Level
Root Administrator
We're moving from a linux base to FreeBSD 7. How well does cPanel perform under 7? Or is it broken?
Keep in mind that FreeBSD 7 is not yet supported. I would class the current issues with running cPanel/WHM on FreeBSD 7 as "substantial." Unless you are very well versed with FreeBSD 7, I would not recommend attempting to run cPanel/WHM on it until the QA and Dev teams have resolved these various issues.
 

ReiJu

Well-Known Member
Mar 14, 2008
57
1
58
AFAIK, cPanel haven't fully support FreeBSD-6.3 yet. Then maybe it's a long way to go to 7.0. But I still hope the waiting can be shortened.
 

pipo

Member
Nov 4, 2003
18
0
151
Quebec, Canada
Successfully running CPanel 11 under FreeBSD 7.0-STABLE

We have successfully upgraded from FreeBSD 6.3 to FreeBSD 7.0.

We had some problems with apache rebuilt process under easyapache3. We had to tweak the variable under Easy.pm that get the OS version.
This error was appearing :
!! Could not download '/var/cpanel/perl/easy/Cpanel/Easy/Zendopt.pm.tar.gz.freebsd-7-32' from httpupdate.cpanel.net /cpanelsync/easy/targz//Cpanel/Easy/Zendopt.pm.tar.gz.freebsd-7-32 !!

So we made that change to /var/cpanel/perl/easy/Cpanel/Easy.pm at line 127.


#$self->{'getos_releaseversion'} = [ Cpanel::Sys::getreleaseversion() ]->[0];
$self->{'getos_releaseversion'} = '6';

  1. Apache would not run until rebuilt.
  2. Apache required components under /opt is not compatible until rebuilt.
  3. Easy.pm (easyapache) request a file with the release version, so we had to set the variable under Easy.pm to 6 so the requested file exist.

To solve them, simply move /opt related folders (curl, xslt, xml2, libmcrypt, curlssl, mm) to a backup folder to tell easyapache to rebuild them. Then run the /scripts/easyapache process. Everything should runs fine. If minor compilations problems appears, keep in mind that you have to rebuild many libraries to take advantages of FreeBSD 7.0 performance improvements. We rebuilt MySQL for this reason but it would runs fine without rebuilt.

Please note that this process should only be performed by an experianced system administrator.
Be aware that some alternative shell (bash) require recompilation.
 
Last edited:

pipo

Member
Nov 4, 2003
18
0
151
Quebec, Canada
FreeBSD 7.0 support

FreeBSD 7.0 seems to be supported since the last stable release. I no longer have to modify the code to obtain packages with "upcp". I also installed CPanel-DNSONLY on a fresh FreeBSD 7.0 release two weeks ago without problems.

I think you should give it a try on a test box.

My CPanel was initially installed with FreeBSD 6.0 then I upgraded the FreeBSD release to 6.3 and to 7.0. So I don't know how it goes from a fresh install. For my part, it runs very very well.