为什么我要为我的野生蝇收到203/执行错误。
我目前一直在尝试在Ubuntu 18.04 AWS VM上运行Wildfly 26.1.1。
到目前为止,我创建了一个脚本,以便在8080和9990(管理控制台)上安装并运行它,但是我现在遇到了此错误。
SystemD [1]:Wildfly.Service:退出主要进程,Code =退出,状态= 203/exec
systemd [1]:wildfly.service:失败结果'exit-code'。
这就是我的wildfly.service的样子。
Description=The WildFly Application Server
After=syslog.target network.target
Before=httpd.service
[Service]
Environment=LAUNCH_JBOSS_IN_BACKGROUND=1
EnvironmentFile=-/etc/wildfly/wildfly.conf
User=wildfly
LimitNOFILE=102642
PIDFile=/var/run/wildfly/wildfly.pid
ExecStart=/bin/bash /opt/wildfly/bin/launch.sh $WILDFLY_MODE $WILDFLY_CONFIG $WILDFLY_BIND
StandardOutput=null
[Install]
WantedBy=multi-user.target
这是该文件路径(systemd)中当前的样子,其中wildfly 。服务位于。
-rw-r--r-- 1 wildfly wildfly 645 May 18 19:08 README
-rwxr-xr-x 1 wildfly wildfly 217 May 18 19:08 launch.sh
-rw-r--r-- 1 wildfly wildfly 165 May 18 19:08 wildfly.conf
-rwxrwxrwx 1 wildfly wildfly 419 Jun 15 21:09 wildfly.service
为了澄清,我以前曾设法使用脚本几次运行它,现在它突然无法正常工作(以前还为我提供了err_connection_refused,当野生蝇正确运行时,它
都会对所有帮助表示赞赏,非常感谢。
I've currently been trying to run WildFly 26.1.1 on my Ubuntu 18.04 AWS VM.
So far I've created a script in order to install and have it running on both 8080 and 9990 (Administration Console), but I've now come across this error.
systemd[1]: wildfly.service: Main process exited, code=exited, status=203/EXEC
systemd[1]: wildfly.service: Failed with result 'exit-code'.
This is what my wildfly.service looks like
Description=The WildFly Application Server
After=syslog.target network.target
Before=httpd.service
[Service]
Environment=LAUNCH_JBOSS_IN_BACKGROUND=1
EnvironmentFile=-/etc/wildfly/wildfly.conf
User=wildfly
LimitNOFILE=102642
PIDFile=/var/run/wildfly/wildfly.pid
ExecStart=/bin/bash /opt/wildfly/bin/launch.sh $WILDFLY_MODE $WILDFLY_CONFIG $WILDFLY_BIND
StandardOutput=null
[Install]
WantedBy=multi-user.target
This is what it currently looks like in the file path (systemd) where wildfly.service is located.
-rw-r--r-- 1 wildfly wildfly 645 May 18 19:08 README
-rwxr-xr-x 1 wildfly wildfly 217 May 18 19:08 launch.sh
-rw-r--r-- 1 wildfly wildfly 165 May 18 19:08 wildfly.conf
-rwxrwxrwx 1 wildfly wildfly 419 Jun 15 21:09 wildfly.service
To clarify, I had previously managed to run it several times using my script, and now it's suddenly not working (it had also previously given me an ERR_CONNECTION_REFUSED when WildFly was properly running)
All help would be appreciated, many thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
所以我发现了我的问题。
这是由于启动。SH从
/opt/opt/wildfly/docs/contry/conscrips/systemd
与以后将其复制到 -/opt的不同之处。 /wildfly/bin/
。我首先进行更改的原因是因为我需要更改
启动的内容。SH
以运行端口9990,但是由于两个位置的结果有不同的结果,所以我m猜测上述错误正在发生?但是,现在我遇到了一个不同的问题,因为为了在端口8080和9990上运行自定义网页,我必须在我的URL开始时删除
https://
。So I find out my issue.
It was due to the launch.sh that was being copied over from
/opt/wildfly/docs/contrib/scripts/systemd
being different to what was I was later copying it into -/opt/wildfly/bin/
.The reason why I was making the change in the first place was because I needed to change the change the contents of
launch.sh
in order to run port 9990, but since the two locations had different results I'm guessing the aforementioned error was occurring?However, now I've come across a different issue in that in order to run my custom webpage on both port 8080 and 9990 I have to remove the
https://
at the beginning of my URL.