Permission error under DATA directory

Document ID : KB000031766
Last Modified Date : 14/02/2018
Show Technical Document Details

 

Symptoms: 

Collector throwing permission errors under INFO log mode, possible cluster slowly.

Cause:

[ERROR] [main] [Manager] Shutdown problem saving metadata: java.io.IOException: Please enable write access to data/metrics.metadata
java.io.IOException: Please enable write access to data/metrics.metadata
    at com.wily.introscope.server.enterprise.entity.fsdb.metadata.MetadataFileWrangler.forceMetadataSave(MetadataFileWrangler.java:319)
    at com.wily.introscope.server.enterprise.entity.fsdb.metadata.MetadataFileWrangler.save(MetadataFileWrangler.java:403)
    at com.wily.introscope.server.enterprise.entity.fsdb.MetaPersister.saveMetadata(MetaPersister.java:67)
    at com.wily.introscope.server.enterprise.entity.fsdb.FSDBSystem.shutdown(FSDBSystem.java:297)
    at com.wily.introscope.server.enterprise.entity.fsdb.FSDBEntity.doStop(FSDBEntity.java:127)
    at com.wily.util.ALifeCycle.stop(ALifeCycle.java:111)
    at com.wily.introscope.server.enterprise.EnterpriseServer.stopLifeCycleObject(EnterpriseServer.java:1838)
    at com.wily.introscope.server.enterprise.EnterpriseServer.cleanUp(EnterpriseServer.java:1775)
    at com.wily.introscope.server.enterprise.EnterpriseServer.cleanUpSafe(EnterpriseServer.java:1639)
    at com.wily.introscope.server.enterprise.EnterpriseServer.doStart(EnterpriseServer.java:376)
    at com.wily.util.ALifeCycle.start(ALifeCycle.java:86)
    at com.wily.introscope.server.enterprise.EnterpriseServer.<init>(EnterpriseServer.java:313)
    at com.wily.introscope.server.enterprise.EnterpriseServer.<init>(EnterpriseServer.java:292)
    at com.wily.introscope.server.enterprise.EnterpriseServer.start(EnterpriseServer.java:1510)
    at com.wily.introscope.em.internal.Activator.startEM(Activator.java:116)
    at com.wily.introscope.em.internal.Application.start(Application.java:27)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
    at org.eclipse.core.launcher.Main.main(Main.java:30)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at com.zerog.lax.LAX.launch(Unknown Source)
    at com.zerog.lax.LAX.main(Unknown Source)

Resolution:

-Launch the EM with the user which has fully privileges on Smartstor database.

-Check the Operation System user and group that is starting the EM process and see if matches the user and group from ls -l output on the /data files where SmartStor is found.