2018-02-19 05:51:07,619 main ERROR Unable to invoke factory method in class org.
apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile:
java.lang.IllegalStateException: No factory method found for class org.apache.lo
gging.log4j.core.appender.RollingFileAppender java.lang.IllegalStateException: N
o factory method found for class org.apache.logging.log4j.core.appender.RollingF
ileAppender
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.findF
actoryMethod(PluginBuilder.java:229)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build
(PluginBuilder.java:134)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPlug
inObject(AbstractConfiguration.java:958)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf
iguration(AbstractConfiguration.java:898)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf
iguration(AbstractConfiguration.java:890)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigur
e(AbstractConfiguration.java:513)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize
(AbstractConfiguration.java:237)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(Abst
ractConfiguration.java:249)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerCo
ntext.java:545)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:
261)
at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigu
rator.java:163)
at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigu
rator.java:119)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121
)
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:
112)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwar
eCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:1
24)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
2018-02-19 05:51:07,650 main ERROR Unable to create file C:\Program Files\es\log
s\elasticsearch_index_indexing_slowlog.log java.io.IOException: Permission denial
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
at java.io.File.createNewFile(File.java:1012)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$Rol
lingFileManagerFactory.createManager(RollingFileManager.java:628)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager$Rol
lingFileManagerFactory.createManager(RollingFileManager.java:608)
at org.apache.logging.log4j.core.appender.AbstractManager.getManager(Abs
tractManager.java:113)
at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager
(OutputStreamManager.java:115)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.get
FileManager(RollingFileManager.java:188)
at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.bu
ild(RollingFileAppender.java:144)
at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.bu
ild(RollingFileAppender.java:60)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build
(PluginBuilder.java:122)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPlug
inObject(AbstractConfiguration.java:958)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf
iguration(AbstractConfiguration.java:898)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf
iguration(AbstractConfiguration.java:890)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigur
e(AbstractConfiguration.java:513)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize
(AbstractConfiguration.java:237)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(Abst
ractConfiguration.java:249)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerCo
ntext.java:545)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:
261)
at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigu
rator.java:163)
at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigu
rator.java:119)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121
)
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:
112)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwar
eCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:1
24)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
2018-02-19 05:51:07,666 main ERROR Could not create plugin of type class org.apa
che.logging.log4j.core.appender.RollingFileAppender for element RollingFile: jav
a.lang.IllegalStateException: ManagerFactory [org.apache.logging.log4j.core.appe
nder.rolling.RollingFileManager$RollingFileManagerFactory@515aebb0] unable to cr
eate manager for [C:\Program Files\es\logs\elasticsearch_index_indexing_slowlog.
log] with data [org.apache.logging.log4j.core.appender.rolling.RollingFileManage
r$FactoryData@436813f3[pattern=C:\Program Files\es\logs\elasticsearch_index_inde
xing_slowlog-%d{yyyy-MM-dd}.log, append=true, bufferedIO=true, bufferSize=8192,
policy=CompositeTriggeringPolicy(policies=[TimeBasedTriggeringPolicy(nextRollove
rMillis=0, interval=1, modulate=true)]), strategy=DefaultRolloverStrategy(min=1,
max=7, useMax=true), advertiseURI=null, layout=[%d{ISO8601}][%-5p][%-25c] %mark
er%.-10000m%n, filePermissions=null, fileOwner=null]] java.lang.IllegalStateExce
ption: ManagerFactory [org.apache.logging.log4j.core.appender.rolling.RollingFil
eManager$RollingFileManagerFactory@515aebb0] unable to create manager for [C:\Pr
ogram Files\es\logs\elasticsearch_index_indexing_slowlog.log] with data [org.apa
che.logging.log4j.core.appender.rolling.RollingFileManager$FactoryData@436813f3[
pattern=C:\Program Files\es\logs\elasticsearch_index_indexing_slowlog-%d{yyyy-MM
-dd}.log, append=true, bufferedIO=true, bufferSize=8192, policy=CompositeTrigger
ingPolicy(policies=[TimeBasedTriggeringPolicy(nextRolloverMillis=0, interval=1,
modulate=true)]), strategy=DefaultRolloverStrategy(min=1, max=7, useMax=true), a
dvertiseURI=null, layout=[%d{ISO8601}][%-5p][%-25c] %marker%.-10000m%n, filePerm
issions=null, fileOwner=null]]
at org.apache.logging.log4j.core.appender.AbstractManager.getManager(Abs
tractManager.java:115)
at org.apache.logging.log4j.core.appender.OutputStreamManager.getManager
(OutputStreamManager.java:115)
at org.apache.logging.log4j.core.appender.rolling.RollingFileManager.get
FileManager(RollingFileManager.java:188)
at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.bu
ild(RollingFileAppender.java:144)
at org.apache.logging.log4j.core.appender.RollingFileAppender$Builder.bu
ild(RollingFileAppender.java:60)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build
(PluginBuilder.java:122)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPlug
inObject(AbstractConfiguration.java:958)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf
iguration(AbstractConfiguration.java:898)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf
iguration(AbstractConfiguration.java:890)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigur
e(AbstractConfiguration.java:513)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize
(AbstractConfiguration.java:237)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(Abst
ractConfiguration.java:249)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerCo
ntext.java:545)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:
261)
at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigu
rator.java:163)
at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigu
rator.java:119)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121
)
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:
112)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwar
eCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:1
24)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
2018-02-19 05:51:07,681 main ERROR Unable to invoke factory method in class org.
apache.logging.log4j.core.appender.RollingFileAppender for element RollingFile:
java.lang.IllegalStateException: No factory method found for class org.apache.lo
gging.log4j.core.appender.RollingFileAppender java.lang.IllegalStateException: N
o factory method found for class org.apache.logging.log4j.core.appender.RollingF
ileAppender
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.findF
actoryMethod(PluginBuilder.java:229)
at org.apache.logging.log4j.core.config.plugins.util.PluginBuilder.build
(PluginBuilder.java:134)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createPlug
inObject(AbstractConfiguration.java:958)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf
iguration(AbstractConfiguration.java:898)
at org.apache.logging.log4j.core.config.AbstractConfiguration.createConf
iguration(AbstractConfiguration.java:890)
at org.apache.logging.log4j.core.config.AbstractConfiguration.doConfigur
e(AbstractConfiguration.java:513)
at org.apache.logging.log4j.core.config.AbstractConfiguration.initialize
(AbstractConfiguration.java:237)
at org.apache.logging.log4j.core.config.AbstractConfiguration.start(Abst
ractConfiguration.java:249)
at org.apache.logging.log4j.core.LoggerContext.setConfiguration(LoggerCo
ntext.java:545)
at org.apache.logging.log4j.core.LoggerContext.start(LoggerContext.java:
261)
at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigu
rator.java:163)
at org.elasticsearch.common.logging.LogConfigurator.configure(LogConfigu
rator.java:119)
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:291)
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121
)
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:
112)
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwar
eCommand.java:86)
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:1
24)
at org.elasticsearch.cli.Command.main(Command.java:90)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
2018-02-19 05:51:07,681 main ERROR Null object returned for RollingFile in Appen
ders.
2018-02-19 05:51:07,681 main ERROR Null object returned for RollingFile in Appen
ders.
2018-02-19 05:51:07,681 main ERROR Null object returned for RollingFile in Appen
ders.
2018-02-19 05:51:07,697 main ERROR Null object returned for RollingFile in Appen
ders.
2018-02-19 05:51:07,697 main ERROR Unable to locate appender "rolling" for logge
r config "root"
2018-02-19 05:51:07,697 main ERROR Unable to locate appender "index_indexing_slo
wlog_rolling" for logger config "index.indexing.slowlog.index"
2018-02-19 05:51:07,697 main ERROR Unable to locate appender "index_search_slowl
og_rolling" for logger config "index.search.slowlog"
2018-02-19 05:51:07,697 main ERROR Unable to locate appender "deprecation_rollin
g" for logger config "org.elasticsearch.deprecation"
[2018-02-19T05:51:09,241][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] []
uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: U
nable to access 'path.data' (C:\Program Files\es\data)
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:125
) ~[elasticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Elasticsearch.execute(Elasticsearch.java:
112) ~[elasticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwar
eCommand.java:86) ~[elasticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:1
24) ~[elasticsearch-cli-6.2.1.jar:6.2.1]
at org.elasticsearch.cli.Command.main(Command.java:90) ~[elasticsearch-c
li-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:92)
~[elasticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:85)
~[elasticsearch-6.2.1.jar:6.2.1]
Caused by: java.lang.IllegalStateException: Unable to access 'path.data' (C:\Pro
gram Files\es\data)
at org.elasticsearch.bootstrap.FilePermissionUtils.addDirectoryPath(File
PermissionUtils.java:70) ~[elasticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Security.addFilePermissions(Security.java
:307) ~[elasticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Security.createPermissions(Security.java:
262) ~[elasticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Security.configure(Security.java:123) ~[e
lasticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:208) ~[ela
sticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:323) ~[elas
ticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121
) ~[elasticsearch-6.2.1.jar:6.2.1]
... 6 more
Caused by: java.nio.file.AccessDeniedException: C:\Program Files\es\data
at sun.nio.fs.WindowsException.translateToIOException(WindowsException.j
ava:83) ~[?:1.8.0_151]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.jav
a:97) ~[?:1.8.0_151]
at sun.nio.fs.WindowsException.rethrowAsIOException(WindowsException.jav
a:102) ~[?:1.8.0_151]
at sun.nio.fs.WindowsFileSystemProvider.createDirectory(WindowsFileSyste
mProvider.java:504) ~[?:1.8.0_151]
at java.nio.file.Files.createDirectory(Files.java:674) ~[?:1.8.0_151]
at java.nio.file.Files.createAndCheckIsDirectory(Files.java:781) ~[?:1.8
.0_151]
at java.nio.file.Files.createDirectories(Files.java:767) ~[?:1.8.0_151]
at org.elasticsearch.bootstrap.Security.ensureDirectoryExists(Security.j
ava:421) ~[elasticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.FilePermissionUtils.addDirectoryPath(File
PermissionUtils.java:68) ~[elasticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Security.addFilePermissions(Security.java
:307) ~[elasticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Security.createPermissions(Security.java:
262) ~[elasticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Security.configure(Security.java:123) ~[e
lasticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Bootstrap.setup(Bootstrap.java:208) ~[ela
sticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Bootstrap.init(Bootstrap.java:323) ~[elas
ticsearch-6.2.1.jar:6.2.1]
at org.elasticsearch.bootstrap.Elasticsearch.init(Elasticsearch.java:121
) ~[elasticsearch-6.2.1.jar:6.2.1]
... 6 more
看起来您为Elasticsearch文件(数据、日志等)定义了自定义位置:
C:\程序文件\es\数据
C:\程序文件\es\日志
[2018-02-19T05:51:09,241][WARN ][o.e.b.ElasticsearchUncaughtExceptionHandler] []
uncaught exception in thread [main]
org.elasticsearch.bootstrap.StartupException: java.lang.IllegalStateException: U
nable to access 'path.data' (C:\Program Files\es\data)
2018-02-19 05:51:07,650 main ERROR Unable to create file C:\Program Files\es\log
s\elasticsearch_index_indexing_slowlog.log java.io.IOException: Permission denial
at java.io.WinNTFileSystem.createFileExclusively(Native Method)
Caused by: java.nio.file.AccessDeniedException: C:\Program Files\es\data
删除以前的安装,然后再次尝试从zip安装,就像本手册中定义的那样:在Windowsedit上使用.zip安装Elasticsearch,再次使用您的用户帐户可以完全访问的目录。
.zip
安装应该非常简单:
.zip
.\bin\elasticsearch.bat
iam使用带有kafa整数的jhipsterSpring靴 正在应用中。yml公司 云:流:默认绑定器:kafka函数:定义:memberSupplier;成员批准供应商;memberEventConsumer;memberApprovalEventConsumer绑定:memberSupplier-out-0:目标:memberEventConsumer-in-0:目标:memberApprov
问题内容: 在添加异步任务之前,我已经对代码进行了一些更改,我的应用程序可以正常运行其远程服务器上的身份验证用户名和密码,但是在登录成功消息消失后无法启动其他活动。有人建议我现在添加一个异步任务,但是我输入正确的用户名和密码后它将停止工作。当我输入错误的用户名和密码时,其工作正常将显示错误的用户名密码消息。如果有人能够知道会出现什么错误,请帮助我。 码- 日志猫 QuestionnActivi
我正在尝试将HDFS从1.2.1升级到2.6版本。但是,每当我运行start-dfs.sh-upgrade命令时,我都会得到以下错误: hduser@cluster1-nn:/usr/local/hadoop2/hadoop-2.6.0/etc_bkp/hadoop$$hadoop_new_home/sbin/start-dfs.sh-upgrade 15/05/17 12:45:58警告util
所以你很想开始这个名为radiusd的程序。您已以root身份登录,在终端提示符下键入radiusd,按Enter键,您将获得以下内容: radiusd: command not found 我知道这听起来很愚蠢,但请确保使用以下命令实际安装了FreeRADIUS: locate radius 并非所有发行版都默认包含locate命令。在SUSE上,您可能首先必须通过运行以下命令来安装它:zypp
我已经搜索了这个错误,并找到了许多解决方案,但我无法解决这个问题,因为我是Android的初学者 舱单在下面 安装应用程序后,它第一次工作,但当我们关闭并重新打开时,它崩溃了,不幸的是,应用程序已经关闭,你有任何想法,它将非常感谢:) 谢了!
问题内容: 我是Ubuntu的新手,我在Ubuntu 10.04中安装了XAMPP。当我启动XAMPP时,它说MySQL无法启动。 这是我的终端输出: 然后,当我转到时,我陷入了XAMPP初始屏幕,如果选择语言,则什么也不会发生。 问题答案: 我找到了答案。首先完全卸载lampp,然后重新安装。卸载之前,请使用以下命令停止lampp: 然后使用命令卸载/删除它 然后重新安装。