Job execution error, no access to software package library. Native OS error: 28 - No space left on device. [SDM228482].
search cancel

Job execution error, no access to software package library. Native OS error: 28 - No space left on device. [SDM228482].

book

Article ID: 44203

calendar_today

Updated On:

Products

CA Automation Suite for Data Centers - Configuration Automation CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation CA Client Automation - Remote Control CA Client Automation - Asset Intelligence CA Client Automation - Desktop Migration Manager CA Client Automation - Patch Manager

Issue/Introduction

Deploying packages to unix machines results in the following error for some of the deployments even though the machines have 
plenty of free disk space:
"Job execution error, no access to the software package library, native OS error:28 - No space left on device [SDM228482]"

Environment

CA Client Automation - All Versions

Cause

Cause 1 :
The default temporary location that software delivery uses during the package install process does not have enough free space.
By default UNIX agents use the SDROOT environment variable. If you run "echo $SDROOT on UNIX it will give you the path.
Within there is a /tmp directory that is used.
 
Cause 2 :
Client Automation Agent is installed on a file system which has more than 1 TB of free disk space.
In SD Agent logs there are a negative freeKB number :
241023-11:27:17.3856400L|006211|00000001|SDAgent||sdjeunixharddriveif.|000075|INFO   | Path=/opt/CA/DSM/sd/tmp,reqSpace=19
241023-11:27:17.3856830L|006211|00000001|SDAgent||sdjeunixharddriveif.|000094|INFO   | freeKB=-1049684733,reqSpace=19
241023-11:27:17.3857200L|006211|00000001|SDAgent||sdjeasmlibraryif.cpp|000118|ERROR  | There is NOT enough available disk space
241023-11:27:17.3857530L|006211|00000001|SDAgent||sdjecontainerif.cpp |001081|NOTIFY | RequestAccess failed for library 1

Resolution

The following command can be run on the UNIX machine to reset the tmp path used for deployments:
 
ccnfcmda -cmd SetParamterValue -ps itrm/usd/shared -pn insttemppath -v <new location>
 
 
Example :
Set a path which has enough free disk space (cause 1) or with less free disk space than 1 TB
ccnfcmda -cmd SetParamterValue -ps itrm/usd/shared -pn insttemppath -v /tmp/agentsd