Wildfly 10服务启动失败-Centos7 AWS EC2

时间:2018-09-08 06:41:15

标签: amazon-ec2 centos7 systemd wildfly-10 polkit

我在AWS EC2实例上运行的centos 7上使用systemd 安装了 wildfly作为服务。我使用了

中描述的方法
  

{jboss.home.dir} / docs / contrib / scripts / systemd / README   ,找到它here

但是当我尝试启动wildfly服务时,服务启动失败并退出,并且在日志上显示以下消息。

Sep 08 06:17:52 ip-172-31-31-70.ap-southeast-1.compute.internal systemd[1]: Starting The WildFly Application Server...
-- Subject: Unit wildfly.service has begun start-up
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit wildfly.service has begun starting up.
Sep 08 06:17:52 ip-172-31-31-70.ap-southeast-1.compute.internal polkitd[484]: Unregistered Authentication Agent for unix-process:11535:166559 (system bus name :1.32,object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8 )
Sep 08 06:17:54 ip-172-31-31-70.ap-southeast-1.compute.internal systemd[1]: wildfly.service: main process exited, code=exited, status=1/FAILURE
Sep 08 06:17:54 ip-172-31-31-70.ap-southeast-1.compute.internal systemd[1]: Unit wildfly.service entered failed state.

0 个答案:

没有答案