Owners Manual

Troubleshooting Your Application | Troubleshooting
714 OMNM 6.5.2 User Guide
# This property defines how many days to retain the client's
# log files. Files older than the specified age are purged.
# Setting the property to a negative value disables log file deletion.
# The default is 7.
redcell.log.files.retention.days=7
Log Generation Fails with “Build Failed” Error (Linux)
Log generation and the build process fails when attempting to generate logs and is accompanied by
an error like this:
BUILD FAILED
/opt/dorado/oware/conf/owrtbuild.xml:46: Problem creating jar: /opt/
dorado/logs/ocpinstall_14332.log (Permission denied)
To successfully build logs, included files must be owned by the installing user (example: MyUser).
Solution:
Locate and change the ownership of file(s) breaking the build process. To repair these,
follow these steps:
1
Open a shell and source environment by typing
. /etc/.dsienv
.
2
Ty p e
getlogs
.
3
Navigate to the file location(s) that appear in any error.
4
Ty p e
ls -l
and review the owners for the files in this directory.
5
Ty p e
su root
and enter root password.
6
Change the file ownership from user
root
(or other) to the installing user.
Ty p e , f o r e x a m p l e : c h o w n
MyUser:MyUser ocpinstall_*
to change ownership of all
files beginning with
ocpinstall_
.
7
Ty p e
ls -l
to confirm new file ownership.
8
Ty p e
exit
to return to the installing user prompt.
9
Repeat this process until getlogs builds a
logs.jar
successfully without error. You may
need to correct file ownership in several locations before a successful build can occur.
To avoid a reoccurrence, do not perform any application-related command line operations while
logged in as
root
. Such tasks must always be executed by the installing user.