Tools

Error message displays when uploading an attachment

This article describes how to troubleshoot an error message that displays when you upload an attachment to Web Help Desk. Error message: IOError: [Errno 21] No usable temporary directory found in ['/tmp, '/var/tmp', '/usr/tmp', '/home/admin']

First published date

11/8/2018 1:11 PM

Last published date

11/8/2018 1:11 PM

Overview

When you upload an attachment to WHD, the following error message displays: 
IOError: [Errno 21] No usable temporary directory found in ['/tmp, '/var/tmp', '/usr/tmp', '/home/admin']

 

Product section

Web Help Desk

Cause

The Virtual Appliance (VA) root partition is out of disk space. 

Resolution

  1. Clear out the tomcat log.
    1. Go to cd /usr/local/webhelpdesk/bin/tomcat/log.
    2. Delete all the logs (including the Catalina log) inside the directory either by using
      root right with rm -rf*

       or using WinSCP with root login.
  2. Move the backup files to another partition - data1/backup.
    1. Go to cd /usr/local/webhelpdesk/pgsql9/Backups/.
    2. Enter the command: 
      mv * /data1/backup
  3. Restart the WHD service.
    1. Open a command line.
    2. Execute:
      service webhelpdesk stop
    3. Execute:
      service webhelpdesk start
 
See Unable to access the Linux-based WHD Console for additional information.