Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 23
  1. #1
    Member
    Join Date
    Jul 2004
    Posts
    22

    Arrow CentOS v5.0 with the CURRENT version 11.2-CURRENT_11480

    Hi,

    I want to install a new server, and I need to know if I can install CentOS 5.0 to use it with the CURRENT version 11.2-CURRENT_11480. (I don't know if the website requeriment is updated with the release of the v11).

    Can the installer script (http://layer1.cpanel.net/latest) install directly the CURRENT v11 version?

    Thanks.

  2. #2
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Quote Originally Posted by MuNLoK View Post
    Hi,

    I want to install a new server, and I need to know if I can install CentOS 5.0 to use it with the CURRENT version 11.2-CURRENT_11480. (I don't know if the website requeriment is updated with the release of the v11).

    Can the installer script (http://layer1.cpanel.net/latest) install directly the CURRENT v11 version?

    Thanks.
    The installer installs release by default

    you can


    echo "CPANEL=current" >> /etc/cpupdate.conf

    before installing to force CURRENT.

  3. #3
    Member
    Join Date
    Jul 2004
    Posts
    22

    Default

    fantastic! And the CentOS v5.0 will work correctly with that version no?

    Thank you!

  4. #4
    cPanel Staff cpanelnick's Avatar
    Join Date
    Feb 2003
    Location
    Houston, TX
    Posts
    4,597

    Default

    Quote Originally Posted by MuNLoK View Post
    fantastic! And the CentOS v5.0 will work correctly with that version no?

    Thank you!
    Unofficially ... yes. YMMV

  5. #5
    Member
    Join Date
    Jul 2004
    Posts
    22

    Wink

    Thank you!

  6. #6
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    courier will fail to install. Until we get the RPMs built, you need to do this:

    1. chown cpanel:cpanel /usr/local/cpanel/rpm-build/tmp
    2. /scripts/courierup --force --source

    You should have a working courier after that.

  7. #7
    Member
    Join Date
    Jun 2003
    Location
    Florida
    Posts
    51

    Default

    Quote Originally Posted by cpanelkenneth View Post
    courier will fail to install. Until we get the RPMs built, you need to do this:

    1. chown cpanel:cpanel /usr/local/cpanel/rpm-build/tmp
    2. /scripts/courierup --force --source

    You should have a working courier after that.
    Most times, that will fail as well..

    We modified /etc/redhat-release to say version 4, and the default install worked fine.. Alternatively, you can fine the location of the rpms, download them manually and rpm -Uvh then run /scripts/upcp and it worked fine

  8. #8
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Quote Originally Posted by cpanelkenneth View Post
    courier will fail to install. Until we get the RPMs built, you need to do this:

    1. chown cpanel:cpanel /usr/local/cpanel/rpm-build/tmp
    2. /scripts/courierup --force --source

    You should have a working courier after that.
    That solution has worked fine for me too on CentOSv5 (had to work it out myself )
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  9. #9
    cPanel Development cpanelkenneth's Avatar
    Join Date
    Apr 2006
    Posts
    3,788
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by mr2jzgte View Post
    Most times, that will fail as well..

    We modified /etc/redhat-release to say version 4, and the default install worked fine.. Alternatively, you can fine the location of the rpms, download them manually and rpm -Uvh then run /scripts/upcp and it worked fine

    If it fails, that means something else (possibly other permisisons) is wrong. One example is an edge case in the RELEASE branch where attempting to download the RPMs that aren't there triggers an alarm that causes the entire process to die 60 seconds into the courierup process. This is a bug in the RELEASE version of HttpUtils that we haven't tracked down yet, as it only afflicts distros where we don't provide RPMs, and it doesn't always happen even in those circumstances.

    Running /scripts/courierup --force --verbose --source will give one a good indication of what is preventing the install from happening. The same holds true for any *up scrip that downloads RPMs.

    Mixing RPMs from different distro versions is neither recommended nor supported.

  10. #10
    Member
    Join Date
    Jun 2003
    Location
    Florida
    Posts
    51

    Default

    Quote Originally Posted by cpanelkenneth View Post
    If it fails, that means something else (possibly other permisisons) is wrong. One example is an edge case in the RELEASE branch where attempting to download the RPMs that aren't there triggers an alarm that causes the entire process to die 60 seconds into the courierup process. This is a bug in the RELEASE version of HttpUtils that we haven't tracked down yet, as it only afflicts distros where we don't provide RPMs, and it doesn't always happen even in those circumstances.

    Running /scripts/courierup --force --verbose --source will give one a good indication of what is preventing the install from happening. The same holds true for any *up scrip that downloads RPMs.

    Mixing RPMs from different distro versions is neither recommended nor supported.
    Supported pfft If it works, it works. At the time of install, there were no packages available for rhel5 so we had to make do with what we had.

  11. #11
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    Which is fine for your purposes, but it's still not a good idea to recommend it to others for the reason cpanelkenneth gave.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

  12. #12
    Member
    Join Date
    Jan 2003
    Posts
    10

    Default

    Well on CentOS5 after I run:

    Code:
    1. chown cpanel:cpanel /usr/local/cpanel/rpm-build/tmp
    2. /scripts/courierup --force --source
    I'v got:

    (root)>/scripts/courierup --force --source
    courier-imap Setup Script Version 1.0
    Fetching version information from http://updates.cpanel.net/courierinstall/version (CURRENT)....Fetching http://updates.cpanel.net/courierinstall/version (0)....@xxx.xxx.xxx.xxx......connected......receiving...100%......Done
    Done
    This is the courier-authlib 0.57 installer release number 6cp
    Using newyum support..
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Resetting courier-authlib to cPanel Defaults and Installing the Latest Version
    usermod: invalid numeric argument 'compiler'
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Excluding Packages in global exclude list
    Finished
    Parsing package install arguments
    Nothing to do
    Building RPM....Done
    Rpm failed to build! Please recall courierup with --source --verbose to find out why at /scripts/courierup line 462.


  13. #13
    Member
    Join Date
    Jan 2003
    Posts
    10

    Default

    This is + --verbose

    Building RPM...error: cannot open /usr/local/cpanel/rpm-build/SRPMS/courier-authlib-0.57-6cp.src.rpm: Permission denied
    Done
    Rpm failed to build! Please recall courierup with --source --verbose to find out why at /scripts/courierup line 462.


    The file is owned by cpanel.:

    (root)>ls -la /usr/local/cpanel/rpm-build/SRPMS/courier-authlib-0.57-6cp.src.rpm
    -rw-r--r-- 1 cpanel cpanel 2009871 May 4 00:01 /usr/local/cpanel/rpm-build/SRPMS/courier-authlib-0.57-6cp.src.rpm

    (root)>stat /usr/local/cpanel/rpm-build/SRPMS/courier-authlib-0.57-6cp.src.rpm
    File: `/usr/local/cpanel/rpm-build/SRPMS/courier-authlib-0.57-6cp.src.rpm'
    Size: 2009871 Blocks: 3944 IO Block: 4096 regular file
    Device: fd00h/64768d Inode: 99158173 Links: 1
    Access: (0644/-rw-r--r--) Uid: ( 504/ cpanel) Gid: (32003/ cpanel)
    Access: 2007-05-05 00:16:50.000000000 -0400
    Modify: 2007-05-04 00:01:33.000000000 -0400
    Change: 2007-05-04 16:23:13.000000000 -0400

  14. #14
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Apr 2006
    Posts
    59

    Default

    Quote Originally Posted by vladi2n View Post
    This is + --verbose

    Building RPM...error: cannot open /usr/local/cpanel/rpm-build/SRPMS/courier-authlib-0.57-6cp.src.rpm: Permission denied
    Done
    Rpm failed to build! Please recall courierup with --source --verbose to find out why at /scripts/courierup line 462.


    The file is owned by cpanel.:

    (root)>ls -la /usr/local/cpanel/rpm-build/SRPMS/courier-authlib-0.57-6cp.src.rpm
    -rw-r--r-- 1 cpanel cpanel 2009871 May 4 00:01 /usr/local/cpanel/rpm-build/SRPMS/courier-authlib-0.57-6cp.src.rpm

    (root)>stat /usr/local/cpanel/rpm-build/SRPMS/courier-authlib-0.57-6cp.src.rpm
    File: `/usr/local/cpanel/rpm-build/SRPMS/courier-authlib-0.57-6cp.src.rpm'
    Size: 2009871 Blocks: 3944 IO Block: 4096 regular file
    Device: fd00h/64768d Inode: 99158173 Links: 1
    Access: (0644/-rw-r--r--) Uid: ( 504/ cpanel) Gid: (32003/ cpanel)
    Access: 2007-05-05 00:16:50.000000000 -0400
    Modify: 2007-05-04 00:01:33.000000000 -0400
    Change: 2007-05-04 16:23:13.000000000 -0400
    chown -R cpanel:cpanel /usr/local/cpanel/rpm-build

    Fixed it for me

  15. #15
    Member
    Join Date
    Jan 2003
    Posts
    10

    Default

    Well now this error:

    Executing(%build): /bin/sh -e /usr/local/cpanel/rpm-build/tmp/rpm-tmp.20303
    + umask 022
    + cd /usr/local/cpanel/rpm-build/BUILD
    + cd courier-authlib-0.57
    + /usr/bin/make '%{_smp_mflags}'
    make: *** No rule to make target `%{_smp_mflags}'. Stop.
    error: Bad exit status from /usr/local/cpanel/rpm-build/tmp/rpm-tmp.20303 (%build)


    RPM build errors:
    Bad exit status from /usr/local/cpanel/rpm-build/tmp/rpm-tmp.20303 (%build)
    Done
    Rpm failed to build! Please recall courierup with --source --verbose to find out why at /scripts/courierup line 462.
    Last edited by vladi2n; 05-05-2007 at 12:31 PM.

Similar Threads & Tags
Similar threads

  1. Current Version: 0.7.3
    By darren in forum cPGS Discussions
    Replies: 7
    Last Post: 07-07-2010, 10:46 AM
  2. Current Version: 0.7.2
    By darren in forum cPGS Discussions
    Replies: 8
    Last Post: 02-27-2010, 05:23 PM
  3. Current Version: 0.6.16
    By darren in forum cPGS Discussions
    Replies: 0
    Last Post: 02-24-2009, 05:33 PM
  4. RoundCube Version 0.2-stable released (current used version vulnerable?)
    By Domenico in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 01-19-2009, 10:24 AM
  5. Current Version
    By jmc67 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-28-2005, 12:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube