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

Debian 9下Nginx 1.15无法开机自启动

发表在 Linux面板2019-8-28 22:18 [复制链接] 1 2392

本帖最后由 lai8888 于 2019-8-30 11:38 编辑

系统Debian 9,Nginx为1.15(选的极速安装)。问题为在服务器重启后,nginx服务并不会开机自启动。其他服务(如mysql等)正常。

因为通过systemctl start nginx手动启动没问题,所以尝试执行systemctl enable nginx,提示如下报错:
  1. nginx.service is not a native service, redirecting to systemd-sysv-install.
  2. Executing: /lib/systemd/systemd-sysv-install enable nginx
  3. insserv: Script auoms is broken: incomplete LSB comment.
  4. insserv: missing `Required-Start:' entry: please add even if empty.
  5. insserv: missing `Required-Stop:'  entry: please add even if empty.
  6. insserv: Script auoms is broken: incomplete LSB comment.
  7. insserv: missing `Required-Start:' entry: please add even if empty.
  8. insserv: missing `Required-Stop:'  entry: please add even if empty.
复制代码

看了下/etc/init.d/nginx文件,对应的有Required-Start和Required-Stop条目。所以无法进一步判断是哪里出的问题

麻烦检查下是不是对debian 9的兼容性方面还有问题?
使用道具 举报 只看该作者 回复
发表于 2019-8-30 09:42:22 | 显示全部楼层
手动@河妖
使用道具 举报 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

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

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

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

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

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