• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

ERROR: Not enough space for product installation

V

verybad

Guest
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.
 
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.
 
Yes im a 1&1 customer lol. Thanks for your reply. Ill give it a try.

:D
 
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
 
Sorry before I do anything, I like to make sure im doing it right.
 
Yes, use /var instead of /home and use the same procedure.
 
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.
 
command line:

[root@server ~]# mv /opt /var/opt
[root@server ~]# ln -s /var/opt ./opt
 
Drop the . before ./opt in the last command. This dot gives a wrong result if you aren't in the / dir.
 
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
 
Do this

Code:
#cd /
#ls -la

Do you see the /opt directory listed as a symbolic link?
 
A symlink should look like
lrwxr-xr-x 2 root root 4096 Apr 17 18:24 opt -> /var/opt
 
Ran throught it fine on my FC2 box

[root /]# cd /
[root /]# ls
boot dev home lib mnt pear root selinux sys usr
bin command etc initrd lost+found opt proc sbin service tmp var
[root /]# mv /opt /home/opt
[root /]# ls
boot dev home lib mnt proc sbin service tmp var
bin command etc initrd lost+found pear root selinux sys usr
[root /]# ln -s /home/opt /opt
[root /]# ls -la
lrwxrwxrwx 1 root root 9 Apr 18 12:46 opt -> /home/opt
 
[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
 
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
 
#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
 
Back
Top