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.

cPanel version change is blocked

Discussion in 'General Discussion' started by xsenses, May 9, 2013.

  1. xsenses

    xsenses Well-Known Member

    Aug 29, 2002
    Likes Received:
    Trophy Points:
    Huntington Beach, Ca
    fatal,Cannot upgrade due to insufficent disk space. Detected 1.00G. You will need atleast 1.6G to install a new version of cPanel
    fatal,The mysql-version value in /var/cpanel/cpanel.config is invalid. Valid values are 5.0, 5.1 or 5.5. You can change the value here: <A HREF="../scripts/mysqlupgrade">MySQL Upgrade</A>
    fatal,Newer releases of cPanel & WHM are not compatible with your MySQL version: 4.1. Upgrade your MySQL server to a version greater or equal to 5.0

    The datacenter has mentioned cleaning up in areas I have never put anything so I am hesitant to delete anything.

    He is my current drive space:

    Filesystem Size Used Avail Use% Mounted on
    /dev/sda1 6.4G 5.1G 1.1G 84% /
    tmpfs 1014M 0 1014M 0% /dev/shm
    /dev/sda2 108G 63G 41G 61% /home
    /dev/sda3 1.4G 565M 711M 45% /var
    /dev/sda6 24M 1.3M 21M 6% /tmp
    /dev/sda8 40G 21G 18G 56% /backup

    An ideas would be greatly appreciated.
  2. cPanelKenneth

    cPanelKenneth cPanel Development
    Staff Member

    Apr 7, 2006
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    The size of both / and /var are very small.

    With a / partition that small it is unlikely you will find enough cruft to remove (you would need to free up around 500 or 600 MB of disk space on / ). One suggestion is to relocate /usr/local/cpanel to a directory in /home, then bind mount back to the original location.

    For example (completely untested):

    # mkdir /home/cpanel
    # cp -Rpv /usr/local/cpanel/* /home/cpanel
    # mv /usr/local/cpanel /usr/local/cpanel-2013-05-10
    # mount --bind /home/cpanel /usr/local/cpanel

    If you go that route, you'll need to add a mount line to /etc/fstab

    An alternative is to relocate /usr/local/cpanel, then use a symlink rather than a bind mount.

Share This Page