本帖最后由 lai8888 于 2019-8-30 11:38 编辑
系统Debian 9,Nginx为1.15(选的极速安装)。问题为在服务器重启后,nginx服务并不会开机自启动。其他服务(如mysql等)正常。
因为通过systemctl start nginx手动启动没问题,所以尝试执行systemctl enable nginx,提示如下报错:
- nginx.service is not a native service, redirecting to systemd-sysv-install.
- Executing: /lib/systemd/systemd-sysv-install enable nginx
- insserv: Script auoms is broken: incomplete LSB comment.
- insserv: missing `Required-Start:' entry: please add even if empty.
- insserv: missing `Required-Stop:' entry: please add even if empty.
- insserv: Script auoms is broken: incomplete LSB comment.
- insserv: missing `Required-Start:' entry: please add even if empty.
- insserv: missing `Required-Stop:' entry: please add even if empty.
复制代码
看了下/etc/init.d/nginx文件,对应的有Required-Start和Required-Stop条目。所以无法进一步判断是哪里出的问题
麻烦检查下是不是对debian 9的兼容性方面还有问题? |
|