Hi,
I was unable to find the dse-6.0.0-bin.tar.gz under /home/ubuntu unlike ds201 VM.
Hence, I copied the installation manually from ds201 VM to ds202 VM and followed the installation steps.
Now, when I try to start cassandra using ./dse cassandra, I face the below error
20:28:37,055 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[GremlinServerFileAppender] - openFile(/var/log/cassandra/gremlin.log,true) call failed. java.io.FileNotFoundException: /var/log/cassandra/gremlin.log (Permission denied) at java.io.FileNotFoundException: /var/log/cassandra/gremlin.log (Permission denied) at at java.io.FileOutputStream.open0(Native Method) at at java.io.FileOutputStream.open(FileOutputStream.java:270) at at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at at ch.qos.logback.core.recovery.ResilientFileOutputStream.<init>(ResilientFileOutputStream.java:26) at at ch.qos.logback.core.FileAppender.openFile(FileAppender.java:204) at at ch.qos.logback.core.FileAppender.start(FileAppender.java:127) at at ch.qos.logback.core.rolling.RollingFileAppender.start(RollingFileAppender.java:100) at at ch.qos.logback.core.joran.action.AppenderAction.end(AppenderAction.java:90) at at ch.qos.logback.core.joran.spi.Interpreter.callEndAction(Interpreter.java:309) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:193) at at ch.qos.logback.core.joran.spi.Interpreter.endElement(Interpreter.java:179) at at ch.qos.logback.core.joran.spi.EventPlayer.play(EventPlayer.java:62) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:165) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:152) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:110) at at ch.qos.logback.core.joran.GenericConfigurator.doConfigure(GenericConfigurator.java:53) at at ch.qos.logback.classic.util.ContextInitializer.configureByResource(ContextInitializer.java:75) at at ch.qos.logback.classic.util.ContextInitializer.autoConfig(ContextInitializer.java:150) at at org.slf4j.impl.StaticLoggerBinder.init(StaticLoggerBinder.java:84) at at org.slf4j.impl.StaticLoggerBinder.<clinit>(StaticLoggerBinder.java:55) at at org.slf4j.LoggerFactory.bind(LoggerFactory.java:150) at at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:124) at at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:412) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:357) at at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:383) at at com.datastax.bdp.server.AbstractDseModule.<clinit>(AbstractDseModule.java:19)
Same for audit.log
20:28:37,071 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[SLF4JAuditWriterAppender] - openFile(/var/log/cassandra/audit/audit.log,true) call failed. java.io.FileNotFoundException: /var/log/cassandra/audit/audit.log (Permission denied) at java.io.FileNotFoundException: /var/log/cassandra/audit/audit.log (Permission denied) at at java.io.FileOutputStream.open0(Native Method) at at java.io.FileOutputStream.open(FileOutputStream.java:270)
20:28:37,079 |-ERROR in ch.qos.logback.core.rolling.RollingFileAppender[DroppedAuditEventAppender] - openFile(/var/log/cassandra/audit/dropped-events.log,true) call failed. java.io.FileNotFoundException: /var/log/cassandra/audit/dropped-events.log (Permission denied) at java.io.FileNotFoundException: /var/log/cassandra/audit/dropped-events.log (Permission denied) at at java.io.FileOutputStream.open0(Native Method) at at java.io.FileOutputStream.open(FileOutputStream.java:270) at at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
INFO: An exception was caught and reported. Message: org.apache.cassandra.exceptions.ConfigurationException: commitlog directory '/var/lib/cassandra/commitlog' or, if it does not already exist, an existing parent directory of it, is not readable and writable for the DSE. Check file system and configuration. org.apache.cassandra.exceptions.ConfigurationException: commitlog directory '/var/lib/cassandra/commitlog' or, if it does not already exist, an existing parent directory of it, is not readable and writable for the DSE. Check file system and configuration. at org.apache.cassandra.config.DatabaseDescriptor.resolveAndCheckDirectory(DatabaseDescriptor.java:815) at org.apache.cassandra.config.DatabaseDescriptor.applySimpleConfig(DatabaseDescriptor.java:494) at org.apache.cassandra.config.DatabaseDescriptor.applyAll(DatabaseDescriptor.java:336) at org.apache.cassandra.config.DatabaseDescriptor.daemonInitialization(DatabaseDescriptor.java:145) at org.apache.cassandra.config.DatabaseDescriptor.daemonInitialization(DatabaseDescriptor.java:157) at com.datastax.bdp.DseCoreModule.<init>(DseCoreModule.java:81) at com.datastax.bdp.DseModule.getRequiredModules(DseModule.java:142) at com.datastax.bdp.server.AbstractDseModule.configure(AbstractDseModule.java:27) at com.datastax.bdp.DseModule.configure(DseModule.java:76) at com.google.inject.AbstractModule.configure(AbstractModule.java:62) at com.google.inject.spi.Elements$RecordingBinder.install(Elements.java:340) at com.google.inject.spi.Elements.getElements(Elements.java:110) at com.google.inject.internal.InjectorShell$Builder.build(InjectorShell.java:138) at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:104) at com.google.inject.Guice.createInjector(Guice.java:96) at com.google.inject.Guice.createInjector(Guice.java:73) at com.google.inject.Guice.createInjector(Guice.java:62) at com.datastax.bdp.ioc.DseInjector.get(DseInjector.java:36) at com.datastax.bdp.DseModule.main(DseModule.java:89) ERROR [main] 2020-07-20 20:28:39,529 DseModule.java:95 - {}. Exiting... com.google.inject.CreationException: Unable to create injector, see the following errors:
I verified the permission for /var/log/cassandra folder same as in ds201, but unable to start the service. What am I missing here ?
-Regards
Srikant Mantha