Results 1 to 9 of 9

Thread: Unable to create temporary file in /tmp

  1. #1
    Join Date
    Aug 2005
    Location
    Los Alamos, NM
    Beans
    91

    Unable to create temporary file in /tmp

    Ubuntu 12.04 LTS on my laptop

    Was trying to run NVIDIA driver install from console startup using
    "sudo sh ./NVIDIA-...." Yes, I was doing it in the correct directory to run and file was set to +x.

    Get the message "Unable to create temporary file in /tmp"

    ?
    Last edited by deeppow; August 16th, 2013 at 01:31 PM.
    Gigabyte Z97X-UD5H, Intel i7 4770K @4.7Ghz
    -- GSkill DDR3 2400 (2*2Gb) 9-11-11-31
    -- EVGA GTX680

  2. #2
    Join Date
    Jul 2013
    Beans
    190

    Re: Unable to create temporary file in /tmp

    Hello,

    is it possible that you got not enough space on tmp? you can try

    sudo mount -t tmpfs -o remount,size=5m,mode=1777 tmp /tmp

    to change the size of tmp without restart. Here to 5MB. Hope it helps.

  3. #3
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,046
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Unable to create temporary file in /tmp

    Try the following:

    Code:
    free
    cd /tmp
    sudo su
    ./NVIDIA*
    First determine that you have enough free space on your disk. I presume that this is not a virtual machine. Otherwise, make a directory in your directory, copy the file over and run it from there.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

  4. #4
    Join Date
    Aug 2005
    Location
    Los Alamos, NM
    Beans
    91

    Re: Unable to create temporary file in /tmp

    Quote Originally Posted by GwL3eNC View Post
    Hello,

    is it possible that you got not enough space on tmp? you can try

    sudo mount -t tmpfs -o remount,size=5m,mode=1777 tmp /tmp

    to change the size of tmp without restart. Here to 5MB. Hope it helps.
    When I try the command, it says "mount: /tmp not mounted or bad option". While I'm not expert with Ubuntu, I don't see anything wrong with the command.

    Doing a "sudo du -hs /tmp" it shows the size of 44K. And doing a "sudo du -hs /tmp/*" shows the folders with /tmp being a total of 28K so appears to me that /tmp has some free space. I'm not sure if that is enough or not.
    Gigabyte Z97X-UD5H, Intel i7 4770K @4.7Ghz
    -- GSkill DDR3 2400 (2*2Gb) 9-11-11-31
    -- EVGA GTX680

  5. #5
    Join Date
    Jul 2013
    Beans
    190

    Re: Unable to create temporary file in /tmp

    Hello,

    please forgive me, i believe my idea was wrong. Can you post me the link to your driver.
    I would like to know if it have some command line options. I cant promise something. Hopefully
    some other people also take a look on your problem.

    PS: No error, but it wont work like i thought

    sudo mount -t tmpfs -o size=5m mode=1777 /tmp
    Last edited by oldos2er; August 16th, 2013 at 10:31 PM. Reason: Please watch your language.

  6. #6
    Join Date
    Aug 2005
    Location
    Los Alamos, NM
    Beans
    91

    Re: Unable to create temporary file in /tmp

    The driver was download from http://www.geforce.com/drivers using the following manual search input:
    GeForce
    GeForce 600M Series (Notebooks)
    GeForce GTX 675M
    Linux 64-bit
    English (US)
    All

    I then downloaded "NVIDIA-Linux-x86_64-319.32.run" and stored it for execution.
    Gigabyte Z97X-UD5H, Intel i7 4770K @4.7Ghz
    -- GSkill DDR3 2400 (2*2Gb) 9-11-11-31
    -- EVGA GTX680

  7. #7
    Join Date
    Jul 2013
    Beans
    190

    Re: Unable to create temporary file in /tmp

    phu, i found something. For the installation it's importand that you read that

    http://us.download.nvidia.com/XFree8...alldriver.html

    If i use

    ./NVIDIA-Linux-x86_64-319.32.run --advanced-options

    i can see a list of all otions the script provide. One is:

    --tmpdir=TMPDIR
    Use the specified directory as a temporary directory when
    downloading files from the NVIDIA ftp site; if not given,
    then the following list will be searched, and the first one
    that exists will be used: /tmp, /tmp, ., /home/fidel.

    I realy hope this solves your problem. But also, if you dont shutdown X like mentiond in
    the readme the create error can appear (i think). If this not work i'm out of range.

  8. #8
    Join Date
    Aug 2005
    Location
    Los Alamos, NM
    Beans
    91

    Re: Unable to create temporary file in /tmp

    Thanks GwL3eNC, I'll give that a try.
    Gigabyte Z97X-UD5H, Intel i7 4770K @4.7Ghz
    -- GSkill DDR3 2400 (2*2Gb) 9-11-11-31
    -- EVGA GTX680

  9. #9
    Join Date
    Aug 2005
    Location
    Los Alamos, NM
    Beans
    91

    Re: Unable to create temporary file in /tmp

    OK, got the Nvidia setup installed. Thanks GwL3eNC.

    But I have another problem. I'll post that as a new thread.
    Gigabyte Z97X-UD5H, Intel i7 4770K @4.7Ghz
    -- GSkill DDR3 2400 (2*2Gb) 9-11-11-31
    -- EVGA GTX680

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •