WARNING: /tmp does not have enough disk space!

Questions about applications and software
Forum rules
Before you post please read this

WARNING: /tmp does not have enough disk space!

Postby timbo on Wed Mar 21, 2012 1:48 pm

Hey. I'm fighting to get SPSS installed on my system after I did a fresh install.

The problem which occurs during the installation (actually before I can install) is that /tmp doesn't have sufficient space:

Code: Select all
Preparing to install...
WARNING: /tmp does not have enough disk space!
         Attempting to use /root for install base and tmp dir.

WARNING! The amount of /root disk space required to perform
this installation is greater than what is available.  Please
free up at least 1489714 kilobytes in /root and attempt this
installation again.  You may also set the IATEMPDIR environment
variable to a directory on a disk partition with enough free
disk space.  To set the variable enter one of the following
commands at the UNIX command line prompt before running this
installer again:

- for Bourne shell (sh), ksh, bash and zsh:

     $ IATEMPDIR=/your/free/space/directory
     $ export IATEMPDIR

- for C shell (csh) and tcsh:

     $ setenv IATEMPDIR /your/free/space/directory



Trying to solve the problem in the suggested way, i.e. creating a substitute folder does so far not work for me. Am I not doing it correctly?

Code: Select all
:~$ IATEMPDIR=/home/timbo/tmp/
:~$ export IATEMPDIR
Last edited by timbo on Tue Mar 27, 2012 10:54 am, edited 1 time in total.
timbo
Level 1
Level 1
 
Posts: 46
Joined: Sun Oct 09, 2011 5:06 pm

Linux Mint is funded by ads and donations.
 

Re: WARNING: /tmp does not have enough disk space!

Postby karlchen on Thu Mar 22, 2012 6:25 pm

Hello, timbo.

The setup programme needs round about 1.4 GB of free disk space
+ either in the filesystem where /tmp is located
+ or in another filesystem where the variable IATEMPDIR points to

Pointing the variable IATEMPDIR to /home/timbo/tmp would be fine, provided the filesystem which holds your home directory has got sufficient free disk space.

The most important question really is which filesystems do you have on your machine and how much free disk space is available on each of them?

Please, inside a terminal window execute the commands
Code: Select all
sudo fdisk -l
df -k
and post the screen output here so that we can determine which filesystems you have created during your Mint installation, what sizes they have and how much space is still available on each of them.

Kind regards,
Karl
Enlightened by Lucid Lynx, enchanted by Maya Mint, productive on Precise Pangolin's Minty sister
User avatar
karlchen
Level 5
Level 5
 
Posts: 855
Joined: Sat Dec 31, 2011 7:21 am

Re: WARNING: /tmp does not have enough disk space!

Postby timbo on Thu Mar 22, 2012 8:07 pm

Hey Karlchen.

df -k:
Code: Select all
Filesystem                                             1K-blocks     Used Available Use% Mounted on
rootfs                                                   7786092  3605308   3790232  49% /
udev                                                     2993628        0   2993628   0% /dev
tmpfs                                                     599916      444    599472   1% /run
/dev/disk/by-uuid/f21e01fd-664a-41fd-82b6-8730a5fe414e   7786092  3605308   3790232  49% /
tmpfs                                                       5120        0      5120   0% /run/lock
tmpfs                                                    1199828       20   1199808   1% /tmp
tmpfs                                                    1199828      372   1199456   1% /run/shm
/dev/sda2                                              293177400 76488396 201796412  28% /home


There is plenty (>200gb) of space on my /home partition, so using IATEMPDIR should normally work just fine.
timbo
Level 1
Level 1
 
Posts: 46
Joined: Sun Oct 09, 2011 5:06 pm

Re: WARNING: /tmp does not have enough disk space!

Postby karlchen on Fri Mar 23, 2012 6:36 am

Hello, timbo.

Confirmed. 200 GB of available disk space is definitely more than the needed 1.4 GB. :wink:
Have you tried something trivial like not appending a trailing slash to the IATEMPDIR path, i.e.
Code: Select all
export IATEMPDIR=/home/timbo/tmp

Another thing: you export IATEMPDIR under your account inside the current terminal session. So the variable IATEMPDIR will only be known and valid inside this terminal session and inside child processes of this terminal session. Is the SPSS installation really launched and executed by user timbo and inside the same terminal session where you exported IATEMPDIR?

I have got no idea what SPSS, what the system prerequisites are and how it is installed. So in case you should keep on experiencing trouble installing the software, the right thing to do may be contacting the software producer?!

Kind regards,
Karl
Enlightened by Lucid Lynx, enchanted by Maya Mint, productive on Precise Pangolin's Minty sister
User avatar
karlchen
Level 5
Level 5
 
Posts: 855
Joined: Sat Dec 31, 2011 7:21 am

Re: WARNING: /tmp does not have enough disk space!

Postby timbo on Mon Mar 26, 2012 8:05 am

Hey there.

The trailing slash was among the many hunches I had about what I might have done wrong. Unfortunately I still didn't get it to install, but it was suggested to me to mount a USB drive as /tmp to fstab, which I'll try next.

Thanks for your help and I'll post back here how the fstab approach went.
timbo
Level 1
Level 1
 
Posts: 46
Joined: Sun Oct 09, 2011 5:06 pm

Re: WARNING: /tmp does not have enough disk space!

Postby AlbertP on Mon Mar 26, 2012 8:10 am

The program wants to have disk space available on your root partition. Probably you can use GParted from a Live CD to shrink /home and give / some more space.
Registered Linux User #528502
Image
Feel free to correct me if I'm trying to write in Spanish, French or German.
AlbertP
Level 15
Level 15
 
Posts: 5853
Joined: Sun Jan 30, 2011 12:38 pm
Location: The Netherlands

Re: WARNING: /tmp does not have enough disk space!

Postby timbo on Tue Mar 27, 2012 10:54 am

SOLVED. I figured that resizing would be a quick thing but neglected the fact that I had to free space at the beginning of /home. 2.5 hours later I can do statistics again ;-)

Thank you everyone!
timbo
Level 1
Level 1
 
Posts: 46
Joined: Sun Oct 09, 2011 5:06 pm

Linux Mint is funded by ads and donations.
 

Return to Software & Applications

Who is online

Users browsing this forum: Dis93 and 26 guests