The job logs are not archived correctly, on the log: tar: Multiple archive files require `-M' option

book

Article ID: 85795

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

Error Message :
 On the universe.log, these kind of messages every day when the purge is launched:

####################################################################
tar: Multiple archive files require `-M' option 
Try `tar --help' or `tar --usage' for more information. 
| 2014-10-16 16:10:59 |ERROR|X|IO |pid=8791.139712199128832| o_purge_job_logs | archiving command [tar -cf /apps/du/600/EURPRD_prdreference/log/exp/dulogs20141016161058.tar -C /apps/du/600/EURPRD_prdreference/log/exp dulogs20141016161058; /apps/du/600/EURPRD_prdreference/bin/unicompress -f /apps/du/600/EURPRD_prdreference/log/exp/dulogs20141016161058.tar] error; return code is [2] 
| 2014-10-16 16:10:59 |ERROR|X|IO |pid=8791.139712199128832| o_io_on_purge | o_purge_job_logs returns [-1] 
####################################################################  

Patch level detected:Dollar Universe 6.2.00
Product Version: Dollar.Universe 6.2.0

Description :Job log archiving does not work properly, the archives being either not created or not compressed

Cause

Cause type:
Defect
Root Cause: It was introduced by Dollar Universe 6.2.41, so only the versions 6.2.4x and 6.3.01 are concerned.

Environment

OS: All Unix

Resolution

After upgrading the node, the job logs will be properly archived.
However, job logs that should have been archived in the past and the previous archive folders are not deleted, so they will have to be removed manually.
The archive joblogs are directories that have the name starting by dulogs*
Therefore, they can be removed via a simple rm when being on the folder:

rm -rf $UNI_DIR_LOG/AREA/dulogs*

Being AREA: app or int or sim or exp.

Fix Status: Released

Fix Version(s):
Component: Application.Server
Version: Dollar.Universe 6.3.21

Additional Information

Workaround :
N/A