当前位置:论坛首页 > Linux面板 > 求助

【待反馈】nginx安装失败

发表在 Linux面板2023-6-19 09:32 [复制链接] 8 3589

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:7.9.8
系统版本:ubuntu
问题描述:nginx安装失败
相关截图(日志、错误):

使用道具 举报 只看该作者 回复
发表于 2023-6-19 09:37:38 | 显示全部楼层
报错信息 无法上传,提示 ”抱歉,您填写的内容包含不良信息而无法提交“
使用道具 举报 回复 支持 反对
发表于 2023-6-19 09:38:33 | 显示全部楼层
checking for F_READAHEAD ... not found
checking for posix_fadvise() ... found
checking for O_DIRECT ... found
checking for F_NOCACHE ... not found
checking for directio() ... not found
checking for statfs() ... found
checking for statvfs() ... found
checking for dlopen() ... found
checking for sched_yield() ... found
checking for sched_setaffinity() ... found
checking for SO_SETFIB ... not found
checking for SO_REUSEPORT ... found
checking for SO_ACCEPTFILTER ... not found
checking for SO_BINDANY ... not found
checking for IP_TRANSPARENT ... found
checking for IP_BINDANY ... not found
checking for IP_BIND_ADDRESS_NO_PORT ... found
checking for IP_RECVDSTADDR ... not found
checking for IP_SENDSRCADDR ... not found
checking for IP_PKTINFO ... found
checking for IPV6_RECVPKTINFO ... found
checking for TCP_DEFER_ACCEPT ... found
checking for TCP_KEEPIDLE ... found
checking for TCP_FASTOPEN ... found
checking for TCP_INFO ... found
checking for accept4() ... found
checking for eventfd() ... found
checking for int size ... 4 bytes
checking for long size ... 8 bytes
checking for long long size ... 8 bytes
checking for void * size ... 8 bytes
checking for uint32_t ... found
checking for uint64_t ... found
checking for sig_atomic_t ... found
checking for sig_atomic_t size ... 4 bytes
checking for socklen_t ... found
checking for in_addr_t ... found
checking for in_port_t ... found
checking for rlim_t ... found
checking for uintptr_t ... uintptr_t found
checking for system byte ordering ... little endian
checking for size_t size ... 8 bytes
checking for off_t size ... 8 bytes
checking for time_t size ... 8 bytes
checking for AF_INET6 ... found
checking for setproctitle() ... not found
checking for pread() ... found
checking for pwrite() ... found
checking for pwritev() ... found
checking for sys_nerr ... not found
checking for _sys_nerr ... not found
checking for maximum errno ... found
checking for localtime_r() ... found
checking for clock_gettime(CLOCK_MONOTONIC) ... found
checking for posix_memalign() ... found
checking for memalign() ... found
checking for mmap(MAP_ANON|MAP_SHARED) ... found
checking for mmap("/dev/zero", MAP_SHARED) ... found
checking for System V shared memory ... found
checking for POSIX semaphores ... found
checking for struct msghdr.msg_control ... found
checking for ioctl(FIONBIO) ... found
checking for ioctl(FIONREAD) ... found
checking for struct tm.tm_gmtoff ... found
checking for struct dirent.d_namlen ... not found
checking for struct dirent.d_type ... found
checking for sysconf(_SC_NPROCESSORS_ONLN) ... found
checking for sysconf(_SC_LEVEL1_DCACHE_LINESIZE) ... found
checking for openat(), fstatat() ... found
checking for getaddrinfo() ... found
configuring additional modules
adding module in /www/server/nginx/src/ngx_devel_kit
+ ngx_devel_kit was configured
adding module in /www/server/nginx/src/lua_nginx_module
checking for LuaJIT library in /usr/local/lib and /usr/local/include/luajit-2.0/ (specified by the LUAJIT_LIB and LUAJIT_INC env, with -ldl) ... found
checking for export symbols by default (-E) ... found
checking for export symbols by default (--export-all-symbols) ... not found
checking for SO_PASSCRED ... found
checking for __attribute__(constructor) ... found
checking for malloc_trim ... found
+ ngx_http_lua_module was configured
adding module in /www/server/nginx/src/ngx_cache_purge
./configure: error: no /www/server/nginx/src/ngx_cache_purge/config was found
make: *** No rule to make target 'build', needed by 'default'. Stop.
make: *** No rule to make target 'install'. Stop.
使用道具 举报 回复 支持 反对
发表于 2023-6-19 09:39:28 | 显示全部楼层




cat: /etc/redhat-release: No such file or directory
使用道具 举报 回复 支持 反对
发表于 2023-6-19 09:59:37 | 显示全部楼层
这个报错信息是指缺少编译所必须得文件,你可以通过在面板更换下载节点后再次尝试安装。
使用道具 举报 回复 支持 反对
发表于 2023-6-19 09:59:40 | 显示全部楼层
宝塔用户_qjohlj 发表于 2023-6-19 09:39
cat: /etc/redhat-release: No such file or directory

您好,跟这个无关,该文件是在存储的一个Linux发行版本号,Ubuntu是不存在此文件的。
以上日志大概提示ngx_cache_purge组件不存在,导致无法正常一个编译安装
您可以尝试重新安装看下,或者是执行下面脚本手动切换下节点然后重新安装
  1. curl https://download.bt.cn/tools/auto_node.sh | bash
复制代码
使用道具 举报 回复 支持 反对
发表于 2023-6-19 11:17:03 | 显示全部楼层
谢花郎 发表于 2023-6-19 09:59
您好,跟这个无关,该文件是在存储的一个Linux发行版本号,Ubuntu是不存在此文件的。
以上日志大概提示ng ...

重新安装了,换了nginx其他版本也不行
下面是我敲命令的信息
root@pda:~# curl https://download.bt.cn/tools/auto_node.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:09 --:--:--     0curl: (6) Could not resolve host: download.bt.cn
使用道具 举报 回复 支持 反对
发表于 2023-6-19 11:36:42 | 显示全部楼层
宝塔用户_qjohlj 发表于 2023-6-19 11:17
重新安装了,换了nginx其他版本也不行
下面是我敲命令的信息
root@pda:~# curl https://download.bt.cn/t ...

无法解析到我们节点,您需要检查下服务器内的DNS设置,将服务器内的DNS设置切换到114.114.114.114的DNS服务IP试试,如切换后还是无法解析,则联系服务器运营商检查
使用道具 举报 回复 支持 反对
发表于 2023-6-19 13:39:02 | 显示全部楼层
谢花郎 发表于 2023-6-19 11:36
无法解析到我们节点,您需要检查下服务器内的DNS设置,将服务器内的DNS设置切换到114.114.114.114的DNS服 ...

好了,感谢大佬
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术免费分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表