FreeBSD 7.x amd64 and latest cpanel

sistemi_clab

Registered
Sep 24, 2009
2
0
51
Hi,
me and my staff are experienced freebsd sysadmins and are planning to migrate (very) old plesk platforms to a cpanel one.
Today I created (using a DELL R710) a jail using ezjails (which uses nullfs read only mount point for jailss) and then I tried to install cpanel.
I had a lot of errors, like this one (regarding expect):

Package 'expect-5.43.0_3' depends on 'kbproto-1.0.3' with 'x11/kbproto' origin.
- already installed.
Package 'expect-5.43.0_3' depends on 'tcl-8.4.19_3,1' with 'lang/tcl84' origin.
- already installed.
Package 'expect-5.43.0_3' depends on 'python26-2.6.2_3' with 'lang/python26' origin.
- already installed.
Package 'expect-5.43.0_3' depends on 'xcb-proto-1.5' with 'x11/xcb-proto' origin.
- already installed.
Package 'expect-5.43.0_3' depends on 'pkg-config-0.23_1' with 'devel/pkg-config' origin.
- already installed.
Package 'expect-5.43.0_3' depends on 'xproto-7.0.15' with 'x11/xproto' origin.
- already installed.
Package 'expect-5.43.0_3' depends on 'libXau-1.0.4' with 'x11/libXau' origin.
- already installed.
Package 'expect-5.43.0_3' depends on 'libXdmcp-1.0.2_1' with 'x11/libXdmcp' origin.
- already installed.
Package 'expect-5.43.0_3' depends on 'libpthread-stubs-0.1' with 'devel/libpthread-stubs' origin.
- already installed.
Package 'expect-5.43.0_3' depends on 'libxcb-1.4' with 'x11/libxcb' origin.
- already installed.
Package 'expect-5.43.0_3' depends on 'libX11-1.2.1_1,1' with 'x11/libX11' origin.
- already installed.
Package 'expect-5.43.0_3' depends on 'tk-8.4.19_2,2' with 'x11-toolkits/tk84' origin.
pkg_add: could not find package tk-8.4.19_2,2 !

Consider that I had to install packages like kbproto-1.0.3, xcbproto and others by hand.

So, that's the question: is there a procedure (or a list of ports to install BEFORE launching $HOME/latest) to install cpanel "in the right way" avoiding errors?

Thanks in advance,
Davide D'Amico
 

MattCurry

Well-Known Member
Aug 18, 2009
275
0
66
Houston, Tx
FreeBSD 7.x amd64 and latest cpanel Reload this Page

Hello,

I do see what you are trying to do, and I apologize for the inconvenience. However, we are not able to directly support the install of cPanel in a jailed BSD environment. If you have any other questions or require assistance with a migration please open a ticket via the link at the bottom of this post.

Thank you,
Matthew Curry
 

sistemi_clab

Registered
Sep 24, 2009
2
0
51
./latest requires perl installed.
So I think I could install other ports needed by latest to avoid a lot of errors about file unavailable fetching source files from remote repositories, but I was unable to find a list of ports to install before cpanel.

Anyway, installing cpanel I see:

/usr/local/cpanel/3rdparty/mailman/Mailman/Utils.py:32: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
Traceback (most recent call last):
File "/usr/local/cpanel/3rdparty/mailman/bin/mailmanctl", line 110, in <module>
from Mailman.MailList import MailList
File "/usr/local/cpanel/3rdparty/mailman/Mailman/MailList.py", line 51, in <module>
from Mailman.Archiver import Archiver
File "/usr/local/cpanel/3rdparty/mailman/Mailman/Archiver/__init__.py", line 17, in <module>
from Archiver import *
File "/usr/local/cpanel/3rdparty/mailman/Mailman/Archiver/Archiver.py", line 32, in <module>
from Mailman import Mailbox
File "/usr/local/cpanel/3rdparty/mailman/Mailman/Mailbox.py", line 21, in <module>
import mailbox
File "/usr/local/lib/python2.6/mailbox.py", line 19, in <module>
import email.message
ImportError: No module named message
No matching processes were found

in the final phase of ./latest.


Thanks in advance,
d.
 
Last edited:

hostultra

Well-Known Member
Aug 21, 2002
167
0
166
I don't know about ezjail or nullfs but following these instructions to setup a freebsd jail works fine with cpanel.

jail(8)
See: Setting up a Jail Directory Tree