Online backup uxbck uni fails systematically with error 255 on Unix Linux
search cancel

Online backup uxbck uni fails systematically with error 255 on Unix Linux

book

Article ID: 366649

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

The uproc that performs the "online backup" of a Dollar Universe node on Unix/Linux fails systematically with return code 255 after having messed up the permissions of the folders when starting the node as root instead of a different administrator user such as univa. 

Command : uxbck uni soc=COMPANY node=NODE exp dir=/duas_folder/backup idx 
command in error
### Return code = 255

Environment

Dollar Universe 6.x or 7.x on Unix/Linux

Cause

The issue was caused by the fact that the node belang to the user root before, hence the backup.log had been created as the user root and the new administrator user (univa) could not delete the file while executing the command.

For example on this case, on a node with area APP and EXP enabled, we could find two backup.log files, both belong to root instead of univa

On  /duas_folder/COMPANY_NODE/log/exp and /duas_folder/COMPANY_NODE/log/app

-rw-r----- 1 root  root     405 24 avril 17:00 backup.log

Since only root could delete the file, and the node was not started by univa, the command "uxbck uni" would fail systematically.

Resolution

Delete or change the owner of the file backup.log on each of the Dollar Universe log/xxx subfolders (being xxx app, int, sim or exp).

Then you can launch again the command.