Client Automation - AM Hardware Inventory Failure on Crontabs on Solaris machine
search cancel

Client Automation - AM Hardware Inventory Failure on Crontabs on Solaris machine

book

Article ID: 135702

calendar_today

Updated On:

Products

CA Client Automation - Asset Management CA Client Automation - IT Client Manager CA Client Automation

Issue/Introduction

In log TRC_UAM_HWINV_*.log there is following error :


HWInv     |HWInv           |Pr_OperatingSystemCr|000047|INFO   | ENTER method Pr_OperatingSystemCronQueue

HWInv     |HWInv           |Pr_OperatingSystemCr|000067|INFO   | command: <ls /var/spool/cron/crontabs 2>/dev/null>

HWInv     |cfOSServices    |cfOSServices        |000000|DETAIL | ICFOSProcess::GetReturnCode: Child process 8855 exited with rc = 0

HWInv     |cfOSServices    |cfOSServices        |000000|DETAIL | ICFOSProcess::Create: Created child process 8855 = /bin/sh /tmp/tmpcmd.01.9zaGkm

HWInv     |HWInv           |myPopen.cpp         |000965|DETAIL | Requested 12287 bytes, read 25

HWInv     |HWInv           |Pr_OperatingSystemCr|000076|DETAIL | line: <archive>

HWInv     |HWInv           |printux.cpp         |001197|WARNING| cannot encode MBCS <  > to WCS


Environment


Release : 14.x

Component : Asset Management



Cause


Under /var/spool/cron/crontabs a directory exists with same name as an existing user.


Example :

Directory /var/spool/cron/crontabs/archive has been created. But user archive also exists.


This is causing a confusion during AM inventory of crontabs

 

Resolution



Make sure there is no directory under /var/spool/cron/crontabs with same name as an existing user.


If a such directory exists rename it.


Example :

user archive exists and there is a directory /var/spool/cron/crontabs/archive

Execute this to rename the directory to archives (there is no archive user).


mv /var/spool/cron/crontabs/archive /var/spool/cron/crontabs/archives