Salta al contenuto

ec2 instance error

0

In the shell if i type a command i see the error

Temporary failure in name resolution

If I run a python script i get this error

FileNotFoundError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/home/ubuntu']

I have 37 servers running and I only see this error in half of them, all ubuntu ec2 instances.

Any ideas on what is wrong?

posta 3 anni fa750 visualizzazioni

1 Risposta
1

Hi,

This error is most likely coming for one of the following reason:

  1. These file systems are in read only mode

  2. User doesn't have write access to these file system(did you try running as sudo user)

  3. Very less likely, it would be a space issue as you are getting message for four locations but still to make sure, check file system available space for all of these file system:

    ls -la /tmp
    df -h /tmp
    df -i
    

Comment here, if you have additional questions.

AWS
ESPERTO

con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.