I am trying to find a temp directory , but when i am trying to get the directory using
tempfile.gettempdir()
it\'s giving me error of
I got the same issue when there was no space on /.
Issue:
File "/usr/lib64/python2.6/tempfile.py", line 201, in _get_default_tempdir("No usable temporary directory found in %s" % dirlist))
IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/'] [FAILED]
[root@master hue]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_master-lv_root
35G 34G 0 100% /tmpfs
7.8G 72K 7.8G 1% /dev/shm/dev/sda1
477M 34M 418M 8% /boot
When I cleared out some space then it worked fine for me.
[root@master log]# service hue start
Starting hue: [ OK ]
[root@master log]#