Knowledge Document: zman run as non root account generates errors in version 2020 update 3

1 Likes

Products

ZENworks Configuration Management (ZCM),ZENworks Endpoint Security Management (ZESM),ZENworks Asset Management,ZENworks Patch Management (ZPM)

Environment

ZENworks Configuration Management 2020 Update 3


Situation

Running zman as non root user generates errors
 
2023-04-04 08:51:06,550 main ERROR Could not define attribute view on path "/var/opt/microfocus/log/zenworks/zman.log" got /var/opt/microfocus/log/zenworks/zman.log: Operation not permitted java.nio.file.FileSystemException: /var/opt/microfocus/log/zenworks/zman.log: Operation not permitted
at sun.nio.fs.UnixException.translateToIOException(UnixException.java:91)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
at sun.nio.fs.UnixFileAttributeViews$Posix.setOwners(UnixFileAttributeViews.java:252)
at sun.nio.fs.UnixFileAttributeViews$Posix.setOwner(UnixFileAttributeViews.java:274)
at org.apache.logging.log4j.core.util.FileUtils.defineFilePosixAttributeView(FileUtils.java:165)
at org.apache.logging.log4j.core.appender.FileManager.defineAttributeView(FileManager.java:215)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.access$1800(RollingFileManager.java:57)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:755)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$RollingFileManagerFactory.createManager(RollingFileManager.java:716)
at org.apache.logging.log4j.core.appender.AbstractManager.getManager(AbstractManager.java:114)
at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager(OutputStreamManager.java:100)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.getFileManager(RollingFileManager.java:217)
at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.build(RollingFileAppender.java:146)
at com.novell.zenworks.logger.appenders.RollingFileAppender.activateOptions(RollingFileAppender.java:172)
at com.novell.zenworks.logger.appenders.RollingFileAppender.activateOptions(RollingFileAppender.java:152)
at com.novell.zenworks.logger.ConfigSetting.configureAppender(ConfigSetting.java:257)
at com.novell.zenworks.logger.ConfigSetting.configure(ConfigSetting.java:129)
at com.novell.zenworks.logger.MessageLogger.setSettings(MessageLogger.java:967)
at com.novell.zenworks.logger.MessageLogger.setSettings(MessageLogger.java:948)
at com.novell.zenworks.zman.ZMan.<init>(ZMan.java:223)
at com.novell.zenworks.zman.ZMan.runCommand(ZMan.java:556)
at com.novell.zenworks.zman.ZMan.main(ZMan.java:514)
at com.novell.zenworks.zman.ZManExecutor.execute(ZManExecutor.java:128)
at com.novell.zenworks.zman.ZManExecutor.main(ZManExecutor.java:63)
 


Cause

Change in design to try to set rights on log file


Resolution

This has been reported to Engineering.  For 2020 update 3, the error is non fatal and can be considered cosmetic.  Please raise a case, referencing this knowledge article, for its resolution status or any additional information. 

Labels:

Asset Management
Configuration Management
Desktop Containers
Knowledge Docs
Patch Management
Reporting
Service Desk
Comment List
Related
Recommended