i am unable to start the ES services below is the error which i am getting.
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigurator.java:129)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:354)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.cli.Command.main(Command.java:90)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,365 main ERROR Null object returned for RollingFile in Appenders.
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,366 main ERROR Null object returned for RollingFile in Appenders.
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,366 main ERROR Null object returned for RollingFile in Appenders.
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,366 main ERROR Null object returned for RollingFile in Appenders.
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,367 main ERROR Null object returned for RollingFile in Appenders.
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,367 main ERROR Null object returned for RollingFile in Appenders.
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,367 main ERROR Null object returned for RollingFile in Appenders.
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,368 main ERROR Null object returned for RollingFile in Appenders.
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,368 main ERROR Null object returned for RollingFile in Appenders.
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,368 main ERROR Unable to locate appender "rolling" for logger config "root"
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,369 main ERROR Unable to locate appender "rolling_old" for logger config "root"
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,369 main ERROR Unable to locate appender "index_indexing_slowlog_rolling_old" for logger config "index.indexing.slowlog.index"
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,369 main ERROR Unable to locate appender "index_indexing_slowlog_rolling" for logger config "index.indexing.slowlog.index"
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,369 main ERROR Unable to locate appender "audit_rolling" for logger config "org.elasticsearch.xpack.security.audit.logfile.LoggingAuditTrail"
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,370 main ERROR Unable to locate appender "index_search_slowlog_rolling_old" for logger config "index.search.slowlog"
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,370 main ERROR Unable to locate appender "index_search_slowlog_rolling" for logger config "index.search.slowlog"
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,370 main ERROR Unable to locate appender "deprecation_rolling_old" for logger config "org.elasticsearch.deprecation"
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: 2020-08-25 09:19:48,370 main ERROR Unable to locate appender "deprecation_rolling" for logger config "org.elasticsearch.deprecation"
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: uncaught exception in thread [main]
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: java.lang.IllegalStateException: Unable to access 'path.logs' (/opt/data1/ESData/logs)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: Likely root cause: java.nio.file.AccessDeniedException: /opt/data1/ESData
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:90)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at java.base/sun.nio.fs.UnixFileSystemProvider.checkAccess(UnixFileSystemProvider.java:313)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at java.base/java.nio.file.Files.createDirectories(Files.java:766)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Security.ensureDirectoryExists(Security.java:389)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.FilePermissionUtils.addDirectoryPath(FilePermissionUtils.java:68)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Security.addFilePermissions(Security.java:290)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Security.createPermissions(Security.java:252)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Security.configure(Security.java:121)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:222)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:393)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:170)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:161)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:127)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.cli.Command.main(Command.java:90)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:126)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
Aug 25 09:19:48 RHEL7 systemd-entrypoint[125773]: For complete error details, refer to the log at /opt/data1/ESData/logs/BPOConnectElasticSearch.log
Aug 25 09:19:48 RHEL7 systemd[1]: elasticsearch.service: main process exited, code=exited, status=1/FAILURE
Aug 25 09:19:48 RHEL7 systemd[1]: Failed to start Elasticsearch.
-- Subject: Unit elasticsearch.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
OS: RHEL 7
ES Version:7.3