スキップしてコンテンツを表示

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?

質問済み 3年前750ビュー

1回答
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
エキスパート

回答済み 3年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

関連するコンテンツ