Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shell脚本执行失败 #3499

Open
OnGoingLzy opened this issue Jul 10, 2024 · 0 comments
Open

shell脚本执行失败 #3499

OnGoingLzy opened this issue Jul 10, 2024 · 0 comments

Comments

@OnGoingLzy
Copy link

Please answer some questions before submitting your issue. Thanks!

Which version of XXL-JOB do you using?

2.4.1

Expected behavior

成功执行shell脚本

Actual behavior

2024-07-10 13:28:04 [com.xxl.job.core.thread.JobThread#run]-[133]-[xxl-job, JobThread-2-1720589284299]
----------- xxl-job job execute start -----------
----------- Param:
2024-07-10 13:28:04 [com.xxl.job.core.handler.impl.ScriptJobHandler#execute]-[80]-[xxl-job, JobThread-2-1720589284299] ----------- script file:\data\applogs\xxl-job\jobhandler\gluesource\2_1720582002000.sh -----------
<3>WSL (66586) ERROR: CreateProcessEntryCommon:505: execvpe /bin/bash failed 2
<3>WSL (66586) ERROR: CreateProcessEntryCommon:508: Create process not expected to return
2024-07-10 13:28:04 [com.xxl.job.core.thread.JobThread#run]-[179]-[xxl-job, JobThread-2-1720589284299]
----------- xxl-job job execute end(finish) -----------
----------- Result: handleCode=500, handleMsg = script exit value(1) is failed
2024-07-10 13:28:04 [com.xxl.job.core.thread.TriggerCallbackThread#callbackLog]-[197]-[xxl-job, executor TriggerCallbackThread]
----------- xxl-job job callback finish.
[Load Log Finish]

Steps to reproduce the behavior

Other information

os:win10
运行方式:源码直接运行

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant