uvms command line throws permission denied errors when launched as non root user
search cancel

uvms command line throws permission denied errors when launched as non root user

book

Article ID: 433295

calendar_today

Updated On:

Products

CA Automic Dollar Universe

Issue/Introduction

The uvms command line throws a lot of errors on Linux when launched by users other than root (when uvms is started as root) due to the fact that somehow every command initializes log4j to then try to use the loggers defined in the config file and it gets permission denied due to the files being rw-r--r-- and owned by root:

uvserver.log
uxiotrns.log
uvmsdump.log
alertmanager.log
uvldapsync.log

 

Fortunately, despite the errors, the commands work perfectly fine and display the results after a bunch of errors during log4j initialization.

Example of a command "unilst tag" launched as the user univa on a UVMS started as root on a Linux server:

univa@server bin]$ ./unilst tag
UniViewer Management Server environment loaded.
Init log4j from: /uvms_server/data/log4j2.xml
2026-03-09T15:33:00.480798Z main ERROR RollingFileManager (/uvms_server/data/log/uvserver.log) java.io.FileNotFoundException: /uvms_server/data/log/uvserver.log (Permission denied) java.io.FileNotFoundException:... 
2026-03-09T15:33:00.518589Z main ERROR Null object returned for RollingFile in Appenders. 2026-03-09T15:33:00.528452Z main ERROR Unable to locate appender "UNI_SIZE_LIMITER" for logger config "root"
2026-03-09T15:33:00.528636Z main ERROR Unable to locate appender "UNI_SIZE_LIMITER" for logger config "com.orsyp.alertmanager"
2026-03-09T15:33:00.528735Z main ERROR Unable to locate appender "UNI_SIZE_LIMITER" for logger config "com.orsyp.central.server"
2026-03-09T15:33:00.528853Z main ERROR Unable to locate appender "ALM" for logger config "alm.file"
2026-03-09T15:33:00.528989Z main ERROR Unable to locate appender "LDAP" for logger config "ldap.file"
2026-03-09T15:33:00.529082Z main ERROR Unable to locate appender "DUMP" for logger config "dump.file"
2026-03-09T15:33:00.529264Z main ERROR Unable to locate appender "UNI_SIZE_LIMITER" for logger config "com.orsyp"
2026-03-09T15:33:00.529398Z main ERROR Unable to locate appender "AUDIT" for logger config "audit.trail"
2026-03-09T15:33:00.529551Z main ERROR Unable to locate appender "UNI_SIZE_LIMITER" for logger config "com.orsyp.central.ldap"
Tag ----
- liste_of_tags
55 tags

Environment

Univiewer Management Server 6.x and 7.x started as root on Linux

UVMS command line launched by an user other than root (ie. univa).

Cause

DE183686

Resolution

Update to a fix version listed below or a newer version if available.

Fix version(s): 
Component: Univiewer Management Server (UVMS)
Dollar Universe 7.01.21 - planned release June 2026

Additional Information

Solution details: Implemented code changes to ensure that non-admin users no longer encounter log4j errors.