你好,请问这个问题如何处理?
ciaos opened this issue · comments
90 if ffi_cast("void *", rsa) == nil then
91 return err()
92 end
进入return err(),nginx进程就退出了。无法加密解密
我的安装环境(安装了nginx-lua和 luajit的)
[root@Ciaos_Aliyun_01 nginx]# sbin/nginx -V
nginx version: nginx/1.6.0
built by gcc 4.4.7 20120313 (Red Hat 4.4.7-4) (GCC)
configure arguments: --user=www --group=www --prefix=/usr/local/nginx --with-pcre=../pcre-8.34 --with-zlib=../zlib-1.2.8 --with-http_realip_module --with-http_stub_status_module --with-http_addition_module --with-google_perftools_module --with-openssl=../openssl-1.0.1g --add-module=../ngx_cache_purge-2.1 --add-module=../lua-nginx-module-0.9.8 --with-http_gzip_static_module
[root@Ciaos_Aliyun_01 nginx]# ldd sbin/nginx
linux-vdso.so.1 => (0x00007fffbf3ff000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003496800000)
libcrypt.so.1 => /lib64/libcrypt.so.1 (0x0000003498c00000)
libluajit-5.1.so.2 => /usr/local/luajit/lib/libluajit-5.1.so.2 (0x00007f8383a1c000)
libm.so.6 => /lib64/libm.so.6 (0x0000003497400000)
libcrypto.so.10 => /usr/lib64/libcrypto.so.10 (0x000000349cc00000)
libprofiler.so.0 => /usr/lib/libprofiler.so.0 (0x00007f8383809000)
libc.so.6 => /lib64/libc.so.6 (0x0000003496400000)
/lib64/ld-linux-x86-64.so.2 (0x0000003496000000)
libfreebl3.so => /lib64/libfreebl3.so (0x0000003498800000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003496c00000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00000036fea00000)
libz.so.1 => /lib64/libz.so.1 (0x0000003497800000)
libunwind.so.8 => /usr/lib/libunwind.so.8 (0x00007f83835e8000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00000036fe600000)
你好,请问进程退出
的更严谨的描述,是不是指的进程奔溃呢?如果是,最好提供 coredump的调用栈
从你提供的 ldd 信息,应该是缺失 libssl.so,建议你使用官方推荐的安装方式以排除安装的问题[1]