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 7.x amd64 and latest cpanel

Discussion in 'General Discussion' started by sistemi_clab, Sep 24, 2009.

  1. sistemi_clab

    sistemi_clab Registered

    Joined:
    Sep 24, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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
     
  2. MattCurry

    MattCurry Well-Known Member

    Joined:
    Aug 18, 2009
    Messages:
    275
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    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
     
  3. sistemi_clab

    sistemi_clab Registered

    Joined:
    Sep 24, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    ./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.
     
    #3 sistemi_clab, Sep 25, 2009
    Last edited: Sep 25, 2009
  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
    You can find information on how to install cPanel "the right way" by going to Quick Start Installation Guide

    Root access is absolutely required for a successful installation.
     
  5. hostultra

    hostultra Well-Known Member

    Joined:
    Aug 21, 2002
    Messages:
    167
    Likes Received:
    0
    Trophy Points:
    16
    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
     

Share This Page