openresty / openresty/lua-nginx-module
lua nginx on RHEL 9 from SRPM
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11.8k
- Forks
- 2.1k
- Avg merge
- 6h 1m
- Merged PRs (30d)
- 6
Description
- Nginx 1.23.1-1.el9
On RedHat EL 9.
Build RPM from SRPM at nginx.org which goes OK.
Install is OK but if I start nginx
----------------------------------%<----------------------------------
localhost systemd[1]: Starting nginx - high performance web server...
localhost nginx[546840]: nginx: [alert] detected a LuaJIT version which is not OpenResty's; many optimizations will be disabled and performance will be compromised (see https://githu>
localhost nginx[546840]: nginx: [alert] failed to load the 'resty.core' module (https://github.com/openresty/lua-resty-core); ensure you are using an OpenResty release from https://o>
localhost nginx[546840]: no field package.preload['resty.core']
localhost nginx[546840]: no file './resty/core.lua'
localhost nginx[546840]: no file '/usr/share/luajit-2.1.0-beta3/resty/core.lua'
localhost nginx[546840]: no file '/usr/local/share/lua/5.1/resty/core.lua'
localhost nginx[546840]: no file '/usr/local/share/lua/5.1/resty/core/init.lua'
localhost nginx[546840]: no file '/usr/share/lua/5.1/resty/core.lua'
localhost nginx[546840]: no file '/usr/share/lua/5.1/resty/core/init.lua'
localhost nginx[546840]: no file './resty/core.so'
localhost nginx[546840]: no file '/usr/local/lib/lua/5.1/resty/core.so'
localhost nginx[546840]: no file '/usr/lib64/lua/5.1/resty/core.so'
localhost nginx[546840]: no file '/usr/local/lib/lua/5.1/loadall.so'
localhost nginx[546840]: no file './resty.so'
localhost nginx[546840]: no file '/usr/local/lib/lua/5.1/resty.so'
localhost nginx[546840]: no file '/usr/lib64/lua/5.1/resty.so'
localhost nginx[546840]: no file '/usr/local/lib/lua/5.1/loadall.so') in /etc/nginx/nginx.conf:32
localhost systemd[1]: nginx.service: Control process exited, code=exited, status=1/FAILURE
localhost systemd[1]: nginx.service: Failed with result 'exit-code'.
localhost systemd[1]: Failed to start nginx - high performance web server.
----------------------------------%<----------------------------------
Kindly advice
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure on RHEL 9 using nginx 1.23.1-1.el9 built from the nginx.org SRPM. Start with /etc/nginx/nginx.conf at line 32 and inspect the LuaJIT and resty.core paths reported in the log. Done means nginx starts successfully with the Lua module loaded and without the LuaJIT or resty.core alerts.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, nginx
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100