Unable to create temporary library directory (is /tmp full?)

  • Article ID: 120219
  • Rating:
  • 1 customers rated this article 1.0 out of 6
  • Updated: 24 Mar 2014


When installing Sophos Anti-Virus for Linux/UNIX the following error message is encountered:

Unable to create temporary library directory (is /tmp full?)

First seen in
Sophos Anti-Virus for Unix
Sophos Anti-Virus for Linux


There are a couple of possible causes for this error, as the message suggests it can simply be caused by lack of disk space in /tmp.

However this issue has also been seen if installing Sophos Anti-Virus on a AIX computer running software from Hitachi called JP1 (http://www.hitachi.com/products/it/software/prod/jp1/index.html). JP1 sets its own mktemp value in the system path. 

What To Do

You can check the amount of space used in /tmp by running the following command:

df /tmp

If you use the JP1 software then use the following commands to enable an update to run using the specified path:

PATH=/bin:/usr/bin:/usr/sbin:/sbin savupdate -v5
PATH=/bin:/usr/bin:/usr/sbin:/sbin /etc/rc.d/rc2.d/Ssav-protect

This would need to be run manually.


If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent