You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am encountering an issue while using FreeNginx version 1.27.2 (https://freenginx.org/). Other Lua modules are functioning correctly, but I receive an error when attempting to load the resty.shell module. The error log is as follows:
2024/08/02 10:05:31 [error] 25#25: *9 lua entry thread aborted: runtime error: pipe API is not supported due to either a platform issue or lack of the HAVE_SOCKET_CLOEXEC_PATCH patch
2024/08/02 10:08:17 [error] 22#22: *13 lua entry thread aborted: runtime error: /usr/local/lib/resty/core/base.lua:80: loop or previous error loading module 'resty.shell'
Searched the internet for solutions.
Consulted an AI assistant (Claude 3.5), but did not find an effective remedy.
Checked the compilation configuration, but found no obvious issues.
My questions are:
Is this error related to FreeNginx version 1.27.2, or is it due to my system configuration?
Should the HAVE_SOCKET_CLOEXEC_PATCH be included in FreeNginx 1.27.2? If so, why has it not been applied correctly?
Are there any methods to resolve this issue and enable the resty.shell module to work properly?
Is any special compilation or configuration needed for FreeNginx to support resty.shell?
My system information:
Operating System: [Please provide your operating system information]
FreeNginx Version: 1.27.2
NDK Version: 0.3.3
lua-nginx Version: 0.10.26
resty-core Version: https://github.com/openresty/lua-resty-core/archive/refs/heads/master.tar.gz
LuaJIT Version: 2.1-20240626
Thank you very much for your help and guidance. I am happy to provide any additional information if needed.
This place is for bug reports and development discussions only. For general questions and
discussions, please join the openresty-en mailing list instead: https://groups.google.com/group/openresty-en.
If you want to use Chinese, please join the openresty (Chinese) mailing list instead: https://groups.google.com/group/openresty.
Do not use Chinese in this place.
Before you open a new issue, please search the internet and make sure it is not duplicate.
Ensure you have provided the following details while reporting a problem:
The exact version of the related software, including but not limited to the OpenResty version
(if any), the NGINX core version, the ngx_lua module version(via openresty -V or nginx -V),
and the lua-resty-core version(via resty -e 'print(require("resty.core").version)'),
and your operating system version(via uname -a).
A minimal and standalone test case that others can easily run on their side and
reproduce the issue you are seeing.
Do not simply say "something is broken" or "something does not work". Always provide
as much details as possible. Always describe the symptoms and your expected results.
You can (temporarily) enable the nginx debugging logs to see the internal workings
of NGINX in your nginx''s error.log file. See http://nginx.org/en/docs/debugging_log.html
The same instructions apply equally well to OpenResty.
I am encountering an issue while using FreeNginx version 1.27.2 (https://freenginx.org/). Other Lua modules are functioning correctly, but I receive an error when attempting to load the resty.shell module. The error log is as follows:
I have attempted the following:
Searched the internet for solutions.
Consulted an AI assistant (Claude 3.5), but did not find an effective remedy.
Checked the compilation configuration, but found no obvious issues.
My questions are:
Is this error related to FreeNginx version 1.27.2, or is it due to my system configuration?
Should the HAVE_SOCKET_CLOEXEC_PATCH be included in FreeNginx 1.27.2? If so, why has it not been applied correctly?
Are there any methods to resolve this issue and enable the resty.shell module to work properly?
Is any special compilation or configuration needed for FreeNginx to support resty.shell?
My system information:
Operating System: [Please provide your operating system information]
FreeNginx Version: 1.27.2
NDK Version: 0.3.3
lua-nginx Version: 0.10.26
resty-core Version: https://github.com/openresty/lua-resty-core/archive/refs/heads/master.tar.gz
LuaJIT Version: 2.1-20240626
Thank you very much for your help and guidance. I am happy to provide any additional information if needed.
This place is for bug reports and development discussions only. For general questions and
discussions, please join the openresty-en mailing list instead: https://groups.google.com/group/openresty-en.
If you want to use Chinese, please join the openresty (Chinese) mailing list instead: https://groups.google.com/group/openresty.
Do not use Chinese in this place.
Before you open a new issue, please search the internet and make sure it is not duplicate.
Ensure you have provided the following details while reporting a problem:
(if any), the NGINX core version, the
ngx_lua
module version(viaopenresty -V
ornginx -V
),and the
lua-resty-core
version(viaresty -e 'print(require("resty.core").version)'
),and your operating system version(via
uname -a
).reproduce the issue you are seeing.
as much details as possible. Always describe the symptoms and your expected results.
You can (temporarily) enable the nginx debugging logs to see the internal workings
of NGINX in your nginx''s
error.log
file. See http://nginx.org/en/docs/debugging_log.htmlThe same instructions apply equally well to OpenResty.
If you are seeing crashes, please provide the full backtrace for the crash. See
https://www.nginx.com/resources/wiki/start/topics/tutorials/debugging/#core-dump
for more details.
Thanks for your cooperation.
The text was updated successfully, but these errors were encountered: