Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Oct 2022 13:46:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 267418] nginx-1.22.1_1,3 lua support, failed to load the 'resty.core' module
Message-ID:  <bug-267418-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 267418
           Summary: nginx-1.22.1_1,3 lua support, failed to load the
                    'resty.core' module
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: bagas1983@mail.ru

Hello.
I`a updated nginx up to versionnginx-1.22.1_1,3.
Nginx with lua support.

# nginx -t
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

# 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] failed to load the 'resty.core' module
(https://github.com/openresty/lua-resty-core); ensure you are using an
OpenResty release from https://openresty.org/en/download.html (reason:
/usr/local/share/lua/5.1/resty/core/base.lua:23: ngx_http_lua_module 0.10.22
required) in /usr/local/etc/nginx/nginx.conf:76
/usr/local/etc/rc.d/nginx: WARNING: failed to start nginx


# nginx -V
nginx version: nginx/1.22.1
built with OpenSSL 1.1.1o-freebsd  3 May 2022
TLS SNI support enabled
configure arguments: --prefix=3D/usr/local/etc/nginx --with-cc-opt=3D'-I
/usr/local/include' --with-ld-opt=3D'-L /usr/local/lib'
--conf-path=3D/usr/local/etc/nginx/nginx.conf --sbin-path=3D/usr/local/sbin=
/nginx
--pid-path=3D/var/run/nginx.pid --error-log-path=3D/var/log/nginx/error.log
--user=3Dwww --group=3Dwww --with-compat --with-pcre
--modules-path=3D/usr/local/libexec/nginx --with-file-aio
--http-client-body-temp-path=3D/var/tmp/nginx/client_body_temp
--http-fastcgi-temp-path=3D/var/tmp/nginx/fastcgi_temp
--http-proxy-temp-path=3D/var/tmp/nginx/proxy_temp
--http-scgi-temp-path=3D/var/tmp/nginx/scgi_temp
--http-uwsgi-temp-path=3D/var/tmp/nginx/uwsgi_temp
--http-log-path=3D/var/log/nginx/access.log --with-http_v2_module
--with-http_addition_module --with-http_auth_request_module
--with-http_gunzip_module --with-http_gzip_static_module
--with-http_random_index_module --with-http_realip_module
--with-http_secure_link_module --with-http_slice_module --with-http_ssl_mod=
ule
--with-http_stub_status_module --with-http_sub_module
--with-cc-opt=3D'-DNGX_HAVE_INET6=3D0 -I /usr/local/include'
--without-mail_imap_module --without-mail_pop3_module
--without-mail_smtp_module --without-pcre2 --with-stream_ssl_module
--with-stream_ssl_preread_module --with-threads --with-stream=3Ddynamic
--add-dynamic-module=3D/usr/ports/www/nginx/work/ngx_devel_kit-0.3.1
--add-dynamic-module=3D/usr/ports/www/nginx/work/lua-nginx-module-0.10.21


Installed programs:
# pkg version -v | egrep "lua|nginx"
lua-resty-core-0.1.24 =3D up-to-date with index
lua-resty-lrucache-0.13 =3D up-to-date with index
lua53-5.3.6 =3D up-to-date with index
luajit-openresty-2.1.20220915 =3D up-to-date with index
nginx-1.22.1_1,3 =3D up-to-date with index

How to fix?
Rollback to old version of nginx-1.22.0_9,3?
To return the version lua-resty-core-0.1.23.
This version lua-resty-core-0.1.23|nginx-1.22.0_9,3 works without errors.

--=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-267418-7788>