ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

GMU - V10.0 with error - Can't load log handler ""


Article ID: 194616


Updated On:


CA API Gateway API SECURITY CA API Gateway Precision API Monitoring Module for API Gateway (Layer 7) CA API Gateway Enterprise Service Manager (Layer 7) STARTER PACK-7 CA Microgateway


The following noises/errors occur with any gmu commands; however, the actual commands execute fine but it throws these noises at the beginning. list --type SERVICE --argFile
Can't load log handler ""
java.nio.file.AccessDeniedException: ./gmu.log.lck
java.nio.file.AccessDeniedException: ./gmu.log.lck
        at sun.nio.fs.UnixException.translateToIOException(
        at sun.nio.fs.UnixException.rethrowAsIOException(
        at sun.nio.fs.UnixException.rethrowAsIOException(
        at sun.nio.fs.UnixFileSystemProvider.newFileChannel(
        at java.util.logging.FileHandler.openFiles(
        at java.util.logging.FileHandler.<init>(
        at<init>(Unknown Source)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
        at java.lang.reflect.Constructor.newInstance(
        at java.lang.Class.newInstance(
        at java.util.logging.LogManager$
        at Method)
        at java.util.logging.LogManager.loadLoggerHandlers(
        at java.util.logging.LogManager.initializeGlobalHandlers(
        at java.util.logging.LogManager.access$1500(
        at java.util.logging.LogManager$RootLogger.accessCheckedHandlers(
        at java.util.logging.Logger.getHandlers(
        at java.util.logging.Logger.log(
        at java.util.logging.Logger.doLog(
        at java.util.logging.Logger.log(
        at Source)
        at Source)
        at Source)
        at Source)
        at Source)  


Release : 10.0

Component : API GATEWAY


It is a java error; this is not a gateway specific error. And that the o/s is not allowing it to access the file.
The actual problem was related to the group permissions of the GMU folder.

>> chmod -R g+rwx <gmu folder>

The details of java error can be found in the following link.