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

【待反馈】7.6, Ubuntu 2004, Nginx和Redis安装后不能启动

发表在 Linux面板2021-6-8 11:33 [复制链接] 10 2469

7.6, Ubuntu 2004, Nginx和Redis安装后不能启动, 求助..
使用道具 举报 只看该作者 回复
发表于 2021-6-8 11:37:12 | 显示全部楼层
您好,启动有无提示什么错误信息吗?软件商店内点击启动看看有无报错。
如果有的话,麻烦您截个图贴到帖子内看看
使用道具 举报 回复 支持 反对
发表于 2021-6-8 11:40:35 | 显示全部楼层
redis是启动没有报错, 提示成功, 但是实际没起来.. 更新的话提示
make[3]: Entering directory '/www/server/redis2/deps/hiredis'
cc -std=c99 -pedantic -c -O3 -fPIC   -Wall -W -Wstrict-prototypes -Wwrite-strings -Wno-missing-field-initializers -g -ggdb alloc.c
alloc.c:33:10: fatal error: string.h: No such file or directory
   33 | #include <string.h>
      |          ^~~~~~~~~~
compilation terminated.
使用道具 举报 回复 支持 反对
发表于 2021-6-8 11:41:57 | 显示全部楼层
Nginx安装的话提示
Starting nginx... /www/server/nginx/sbin/nginx: error while loading shared libraries: liblua5.1.so.0: cannot open shared object file: No such file or directory
使用道具 举报 回复 支持 反对
发表于 2021-6-8 11:47:50 | 显示全部楼层
丨刹那芳华丨 发表于 2021-6-8 11:40
redis是启动没有报错, 提示成功, 但是实际没起来.. 更新的话提示
make[3]: Entering directory '/www/serve ...

服务器内执行下面命令看看系统内核

  1. uname -a
复制代码
使用道具 举报 回复 支持 反对
发表于 2021-6-8 11:48:01 | 显示全部楼层
谢花郎 发表于 2021-6-8 11:37
您好,启动有无提示什么错误信息吗?软件商店内点击启动看看有无报错。
如果有的话,麻烦您截个图贴到帖子 ...

额, 信息已经发到跟帖里了, 麻烦啦
使用道具 举报 回复 支持 反对
发表于 2021-6-8 11:48:37 | 显示全部楼层
Linux Ubuntu-2004-BT 5.4.0-74-generic #83-Ubuntu SMP Sat May 8 02:35:39 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
使用道具 举报 回复 支持 反对
发表于 2021-6-8 11:56:38 | 显示全部楼层
丨刹那芳华丨 发表于 2021-6-8 11:41
Nginx安装的话提示
Starting nginx... /www/server/nginx/sbin/nginx: error while loading shared librari ...

nginx卸载重新编译安装一下看看
使用道具 举报 回复 支持 反对
发表于 2021-6-8 12:04:20 | 显示全部楼层
nginx编译安装无效.. 不过运行apt --fix-broken install 以后更新了liblua5.1-0安装成功了
使用道具 举报 回复 支持 反对
发表于 2021-6-8 12:04:23 | 显示全部楼层
丨刹那芳华丨 发表于 2021-6-8 11:40
redis是启动没有报错, 提示成功, 但是实际没起来.. 更新的话提示
make[3]: Entering directory '/www/serve ...

这个错误参考这个帖子处理

https://blog.csdn.net/qq_43684005/article/details/116738518
使用道具 举报 回复 支持 反对
发表于 2021-6-8 12:20:48 | 显示全部楼层
额.. 确认是focal, 也重装gcc, 效果还是一样的

apt update
Hit:1 http://cn.archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://cn.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:4 http://cn.archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

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

工作时间:晚班:18:00 - 24:00

立即付费处理
快速回复 返回顶部 返回列表