Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Sep 2019 11:59:15 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 240274] www/nginx: Unable to start when built with LUA support
Message-ID:  <bug-240274-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240274

            Bug ID: 240274
           Summary: www/nginx: Unable to start when built with LUA support
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: joneum@FreeBSD.org
          Reporter: thomas@gibfest.dk
          Assignee: joneum@FreeBSD.org
             Flags: maintainer-feedback?(joneum@FreeBSD.org)

For a while now I have been getting this warning whenever I start nginx whe=
n it
is build with the LUA option:


[tykling@mail ~]$ sudo service nginx start
Performing sanity check on nginx configuration:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Starting nginx.
nginx: [alert] detected a LuaJIT version which is not OpenResty's; many
optimizations will be disabled and performance will be compromised (see
https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better,
consider using the OpenResty releases from
https://openresty.org/en/download.html)
[tykling@mail ~]$=20


The maintainer is aware of this warning, I reported it back in February by
email.

Recently (since ports r508962 I think) I am still getting the warning but n=
ginx
now refuses to start:

[tykling@staging3 ~]$ sudo service nginx start
Performing sanity check on nginx configuration:
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Starting nginx.
nginx: [alert] detected a LuaJIT version which is not OpenResty's; many
optimizations will be disabled and performance will be compromised (see
https://github.com/openresty/luajit2 for OpenResty's LuaJIT or, even better,
consider using the OpenResty releases from
https://openresty.org/en/download.html)
nginx: [error] lua_load_resty_core failed to load the resty.core module from
https://github.com/openresty/lua-resty-core; ensure you are using an OpenRe=
sty
release from https://openresty.org/en/download.html (rc: 2, reason: module
'resty.core' not found:
        no field package.preload['resty.core']
        no file './resty/core.lua'
        no file '/usr/local/share/luajit-2.0.5/resty/core.lua'
        no file '/usr/local/share/lua/5.1/resty/core.lua'
        no file '/usr/local/share/lua/5.1/resty/core/init.lua'
        no file './resty/core.so'
        no file '/usr/local/lib/lua/5.1/resty/core.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file './resty.so'
        no file '/usr/local/lib/lua/5.1/resty.so'
        no file '/usr/local/lib/lua/5.1/loadall.so')
[tykling@staging3 ~]$=20


This is preventing me from upgrading nginx to solve the recent vulnerabilit=
ies
https://vuxml.freebsd.org/freebsd/87679fcb-be60-11e9-9051-4c72b94353b5.html

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-240274-7788>