DevTest Services fail to start - "cannot create temp file for here-document: No space left on device"
search cancel

DevTest Services fail to start - "cannot create temp file for here-document: No space left on device"

book

Article ID: 371958

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

All the DevTest services are down, and will not restart. As soon as we try restarting the services, they shut down.

We notice a popup message on the Linux server that states:

"Error: - bash: cannot create temp file for here-document: No space left on device"

We have cleared all the DevTest logs, and temp files. The disk partition that DevTest is installed on has plenty of space. Only 3% of the disk space for that partition is used.

Environment

All supported Service Virtualization releases on LINUX

Cause

The error is thrown by the LINUX system because there's a disk partition that is full. It doesn't necessarily mean that the disk partition where DevTest is installed is full. It can be a partition the system uses, or even the root partition.

Use the top command, or the df -h command to determine which disk partition is full.

Once you have narrowed down the partition, you may need to run df -i <partition> to see the inodes information instead of blocks. In some instances, the inodes could be what is filling up the disk space.

The DevTest services are failing because the system could not create the needed temporary files. When starting the DevTest components as a system process, and not as a service, we do not see this issue because the system processes are running in an open terminal session, and not using temporary resources.

Resolution

Work with your LINUX admin to investigate what is causing the disk partition to be full, and free up additional space, or increase the size of the partition.

Once the system has the required available space, clear out the  <DEVTEST_USER_HOME>\lisatmp_<version> or the DEVTEST_HOME\lisatmp_<version> directory (depending on where you have the logging set up), and restart the DevTest services.

Additional Information