1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

ERROR: Not enough space for product installation

Discussion in 'Plesk for Linux - 8.x and Older' started by verybad, Apr 14, 2006.

  1. verybad

    verybad Guest

    0
     
    I get this error when I do an update, can anyone help?

    Get system update packages.
    ERROR: Not enough space for product installation: In directory /opt the are 300 Mb is required but available only 238 Mb.
     
  2. Highland

    Highland Guest

    0
     
    1and1 customer, right?

    SSH in and do the following
    Code:
    #df -h
    Take note of what the largest partition is. It's either going to be /home or /var. I'm going to assume /home
    Code:
    #cd /
    #mv /opt /home/opt
    # ln -s /home/opt ./opt
    Now your opt directory is symlinked to the large home partition and you should have all the room you need.
     
    Traian likes this.
  3. verybad

    verybad Guest

    0
     
    Yes im a 1&1 customer lol. Thanks for your reply. Ill give it a try.

    :D
     
  4. verybad

    verybad Guest

    0
     
    So im gussing /var is the biggest?

    /dev/hda1 479M 216M 239M 48% /
    none 1009M 0 1009M 0% /dev/shm
    /dev/hda5 4.7G 2.0G 2.8G 42% /usr
    /dev/hda7 101G 9.1G 91G 10% /var
    /dev/hda6 4.7G 148K 4.7G 1% /home


    So id command:

    mv /opt /var/opt

    ln -s /var/opt ./opt
     
  5. verybad

    verybad Guest

    0
     
    Anyone?????
     
  6. prodius

    prodius Guest

    0
     
    Anyone what? You posted the solution, it should work.
     
  7. verybad

    verybad Guest

    0
     
    Sorry before I do anything, I like to make sure im doing it right.
     
  8. Highland

    Highland Guest

    0
     
    Yes, use /var instead of /home and use the same procedure.
     
  9. verybad

    verybad Guest

    0
     
    I still get the error

    This is the full error:

    Download file versions.inf3: 48%..100% done Download file PSA_8.0.0/plesk-8.0.0-fc4-i386.inf3: 37%..100% done Checking for system installed packages...done.
    Check for components installation status Reading system installed packages...done.
    Download file plesk-8.0.0-fc4-i386.hdr.gz: 33%..55%..79%..100% done Download file plesk-8.0.0-fc4-i386.hdr.gz: 19%..33%..47%..60%..74%..88%..100% done Resolve components There are some also needed components will installed too: 'autoinstaller'
    Get Plesk product packages.
    Get system update packages.
    ERROR: Not enough space for product installation: In directory /opt the are 300 Mb is required but available only 238 Mb.
     
  10. verybad

    verybad Guest

    0
     
    command line:

    [root@server ~]# mv /opt /var/opt
    [root@server ~]# ln -s /var/opt ./opt
     
  11. prodius

    prodius Guest

    0
     
    Drop the . before ./opt in the last command. This dot gives a wrong result if you aren't in the / dir.
     
  12. verybad

    verybad Guest

    0
     
    Still get the same.

    Command line:

    [root@server ~]# mv /opt /var/opt
    mv: cannot overwrite directory `/var/opt/opt'
    [root@server ~]# ln -s /var/opt /opt
     
  13. Highland

    Highland Guest

    0
     
    Do this

    Code:
    #cd /
    #ls -la
    Do you see the /opt directory listed as a symbolic link?
     
  14. verybad

    verybad Guest

    0
     
    looks like it


    drwxr-xr-x 2 root root 4096 Apr 17 18:24 opt
     
  15. prodius

    prodius Guest

    0
     
    A symlink should look like
    lrwxr-xr-x 2 root root 4096 Apr 17 18:24 opt -> /var/opt
     
  16. Highland

    Highland Guest

    0
     
    Ran throught it fine on my FC2 box

     
  17. verybad

    verybad Guest

    0
     
    [root@server ~]# cd /
    [root@server /]# is
    -bash: is: command not found
    [root@server /]# mv /opt /var/opt
    mv: cannot overwrite directory `/var/opt/opt'
    [root@server /]# ln -s /var/opt /opt
    ln: `/opt/opt': File exists
    [root@server /]# ls -la
    total 84
    drwxr-xr-x 19 root root 4096 Apr 17 17:55 .
    drwxr-xr-x 19 root root 4096 Apr 17 17:55 ..
    drwxr-x--- 3 root root 4096 Apr 8 04:20 apf-0.9.6-1
    -rw-r--r-- 1 root root 0 Apr 10 14:42 .autofsck
    -rw-r--r-- 1 root root 0 Mar 6 13:43 .autorelabel
    drwxr-xr-x 2 root root 4096 Apr 5 23:45 bin
    drwxr-xr-x 4 root root 4096 Apr 7 22:41 boot
    drwxr-xr-x 10 root root 13540 Apr 10 14:42 dev
    drwxr-xr-x 66 root root 4096 Apr 16 23:22 etc
    drwxr-xr-x 3 root root 16 Mar 7 16:30 home
    drwxr-xr-x 10 root root 4096 Apr 5 23:45 lib
    drwx------ 2 root root 28672 Apr 7 22:41 lost+found
    drwxr-xr-x 2 root root 4096 May 23 2005 mnt
    drwxr-xr-x 2 root root 4096 Apr 17 18:24 opt
    dr-xr-xr-x 134 root root 0 Apr 10 14:42 proc
    drwxr-x--- 6 root root 4096 Apr 17 17:51 root
    drwxr-xr-x 2 root root 4096 Apr 5 23:45 sbin
    drwxr-xr-x 11 root root 0 Apr 10 14:42 sys
    drwxrwxrwt 4 root root 4096 Apr 18 19:08 tmp
    drwxr-xr-x 15 apache apache 4096 Mar 28 04:12 usr
    drwxr-xr-x 23 root root 4096 Apr 7 22:41 var
     
  18. Highland

    Highland Guest

    0
     
    Let's try this
    Code:
    #cd /var
    #ls -l
    What does that give you?
    And then
    Code:
    #cd /var/opt
    #ls -l
    You should have a psa directory underneath
     
  19. verybad

    verybad Guest

    0
     
    #cd /var
    #ls -l

    total 12
    drwxr-xr-x 2 root root 18 Jul 18 2005 account
    drwxr-xr-x 8 root root 87 Mar 6 16:25 cache
    drwxr-xr-x 3 root root 17 Jul 18 2005 db
    drwxr-xr-x 4 root root 33 Mar 6 16:30 drweb
    drwxr-xr-x 3 root root 17 Jul 18 2005 empty
    drwxr-xr-x 17 root root 4096 Mar 7 04:14 lib
    drwxr-xr-x 2 root root 6 May 23 2005 local
    drwxrwxr-x 5 root lock 43 Apr 18 04:03 lock
    drwxr-xr-x 5 root root 4096 Apr 18 01:00 log
    lrwxrwxrwx 1 root root 10 Apr 7 22:40 mail -> spool/mail
    drwxr-x--- 5 root named 45 Mar 20 22:02 named
    drwxr-xr-x 2 root root 6 May 23 2005 nis
    drwxr-xr-x 3 root root 16 Apr 17 17:51 opt
    drwxr-xr-x 2 root root 6 May 23 2005 preserve
    drwxr-xr-x 3 root root 42 Apr 8 16:24 psa
    drwxr-xr-x 10 root qmail 107 Mar 31 08:25 qmail
    drwxr-xr-x 2 root root 6 Mar 28 2005 racoon
    drwxr-xr-x 18 root root 4096 Apr 16 23:22 run
    drwxr-xr-x 11 root root 123 Mar 6 16:26 spool
    drwxrwxrwt 2 root root 6 Apr 11 01:18 tmp
    drwxr-xr-x 10 root root 104 Apr 8 16:28 www
    drwxr-xr-x 2 root root 6 Jul 18 2005 yp


    and

    #cd /var/opt
    #ls -l

    total 0
    drwxr-xr-x 2 root root 6 May 23 2005 opt
     
  20. Highland

    Highland Guest

    0
     
    Is there anything underneath /var/opt/opt?
     
Loading...