Hello!
On Mon, Jul 9, 2012 at 8:46 PM, Wenhua Zhang wrote:
> Hi agentzh,
> 您好,
> 现在在安装编译好的nginx deb包的时候,报了很多
> insserv: Starting stop-bootlogd depends on rmnologin and therefore on
> system facility `$all' which can not be true!
>
我不是 Debian 系统的用户,所以我抄送给 openresty
邮件组(https://groups.google.com/group/openresty/
),看看那里的用户是否能提供帮助。同时也欢迎你加入这个邮件列表。
当然,我推荐大家直接从 nginx 或者 ngx_openresty
的源码包直接安装之,这样可以确保包的维护者没有自作聪明地打上一些不恰当的补丁,同时也可以确保编译参数最符合自己的实际需求。
Best regards,
-agentzh
> 编译的配置如下:
> ./configure \
> --prefix=/usr/share/nginx \
> --sbin-path=/usr/sbin/nginx \
> --conf-path=/etc/nginx/nginx.conf \
> --pid-path=/var/run/nginx.pid \
> --lock-path=/var/lock/nginx.lock \
> --error-log-path=/var/log/nginx/error.log \
> --http-log-path=/var/log/nginx/access.log \
> --http-proxy-temp-path=/tmp/proxy_temp \
> --http-fastcgi-temp-path=/tmp/fastcgi_temp \
> --http-client-body-temp-path=/tmp/client_body_temp \
> --with-pcre=/usr/lib/x86_64-linux-gnu/ --with-http_ssl_module \
> --add-module=Lax-ngx_http_accounting_module-0bec8ad\
> --add-module=agentzh-echo-nginx-module-3dee230\
> --add-module=agentzh-chunkin-nginx-module-85eca98\
> --add-module=simpl-ngx_devel_kit-4192ba6\
> --add-module=calio-form-input-nginx-module-c9c909a\
> --add-module=xiaonei-ngx_http_consistent_hash-94c4210
>
>
> 从网查了一下原因,发现很多人遇到过类似问题,但没找到好的解决方法。
>
> 不知道你有没有什么建议,谢谢。
>
>
> 在其它的机器上安装没有问题。
>
> 编译deb包机器的信息:
> #uname -a
> Linux XXX 3.2.0-2-amd64 #1 SMP Mon Apr 30 05:20:23 UTC 2012 x86_64 GNU/Linux
>
> #cat /etc/issue
> Debian GNU/Linux wheezy/sid \n \l
>
> ]# cat /proc/version
> Linux version 3.2.0-2-amd64 (Debian 3.2.16-1)
> (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-1) )
> #1 SMP Mon Apr 30 05:20:23 UTC 2012
>
>
> 安装deb包机器的信息:
> # uname -a
> Linux XXX 2.6.26-2-amd64 #1 SMP Fri Mar 27 04:02:59 UTC 2009 x86_64 GNU/Linux
>
> # cat /etc/issue
> Debian GNU/Linux 6.0 \n \l
>
> # cat /proc/version
> Linux version 2.6.26-2-amd64 (Debian 2.6.26-15) (dannf@debian.org)
> (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Fri
> Mar 27 04:02:59 UTC 2009
>
>
>
> 安装时的信息如下:
>
> #dpkg -i nginx-stable_1.2.2
> (Reading database ... 86926 files and directories currently installed.)
> Preparing to replace nginx-stable 1.2.2-20120709002renren (using
> nginx-stable_1.2.2-20120709002renren_amd64.deb) ...
> pre-unstall
> insserv: warning: script 'S99nagios' missing LSB tags and overrides
> insserv: warning: script 'rc.fw' missing LSB tags and overrides
> insserv: warning: script 'npcd' missing LSB tags and overrides
> insserv: warning: script 'nagios' missing LSB tags and overrides
> insserv: There is a loop at service rmnologin if started
> insserv: There is a loop between service rmnologin and mountnfs if started
> insserv: loop involving service mountnfs at depth 6
> insserv: loop involving service rpcbind at depth 5
> insserv: loop involving service mountnfs-bootclean at depth 8
> insserv: There is a loop between service rmnologin and mountall if started
> insserv: loop involving service mountall at depth 4
> insserv: loop involving service checkfs at depth 3
> insserv: Starting stop-bootlogd depends on rmnologin and therefore on
> system facility `$all' which can not be true!
> 。。。
> insserv: Max recursions depth 99 reached
> insserv: loop involving service exim4 at depth 6
> insserv: loop involving service rsyslog at depth 5
> insserv: loop involving service networking at depth 6
> insserv: There is a loop between service rmnologin and checkroot if started
> insserv: loop involving service checkroot at depth 4
> insserv: loop involving service hwclockfirst at depth 3
> insserv: loop involving service sudo at depth 10
> insserv: There is a loop between service rmnologin and ifupdown if started
> insserv: loop involving service ifupdown at depth 6
> insserv: loop involving service ifupdown-clean at depth 5
> insserv: loop involving service mtab at depth 5
> insserv: There is a loop between service rmnologin and
> mountoverflowtmp if started
> insserv: loop involving service mountoverflowtmp at depth 9
> insserv: loop involving service mountall-bootclean at depth 8
> insserv: There is a loop at service stop-bootlogd if started
> insserv: There is a loop between service rmnologin and mountdevsubfs if started
> insserv: loop involving service mountdevsubfs at depth 3
> insserv: loop involving service udev at depth 2
> insserv: loop involving service stop-bootlogd at depth 1
> insserv: exiting now without changing boot order!
> /sbin/insserv failed, exit code 1
> nginx 0:off 1:off 2:off 3:off 4:off 5:off 6:off
> dpkg: warning: subprocess old pre-removal script returned error exit status 1
> dpkg - trying script from the new package instead ...
> pre-unstall
> insserv: warning: script 'S99nagios' missing LSB tags and overrides
> insserv: warning: script 'rc.fw' missing LSB tags and overrides
> insserv: warning: script 'npcd' missing LSB tags and overrides
> insserv: warning: script 'nagios' missing LSB tags and overrides
> insserv: There is a loop at service rmnologin if started
> insserv: There is a loop between service rmnologin and mountnfs if started
> insserv: loop involving service mountnfs at depth 6
> insserv: loop involving service rpcbind at depth 5
> insserv: loop involving service mountnfs-bootclean at depth 8
> insserv: There is a loop between service rmnologin and mountall if started
> insserv: loop involving service mountall at depth 4
> insserv: loop involving service checkfs at depth 3
> insserv: Starting stop-bootlogd depends on rmnologin and therefore on
> system facility `$all' which can not be true!
> 。。。(重复多次)
> insserv: Max recursions depth 99 reached
> insserv: loop involving service exim4 at depth 6
> insserv: loop involving service rsyslog at depth 5
> insserv: loop involving service networking at depth 6
> insserv: There is a loop between service rmnologin and checkroot if started
> insserv: loop involving service checkroot at depth 4
> insserv: loop involving service hwclockfirst at depth 3
> insserv: loop involving service sudo at depth 10
> insserv: There is a loop between service rmnologin and ifupdown if started
> insserv: loop involving service ifupdown at depth 6
> insserv: loop involving service ifupdown-clean at depth 5
> insserv: loop involving service mtab at depth 5
> insserv: There is a loop between service rmnologin and
> mountoverflowtmp if started
> insserv: loop involving service mountoverflowtmp at depth 9
> insserv: loop involving service mountall-bootclean at depth 8
> insserv: There is a loop at service stop-bootlogd if started
> insserv: There is a loop between service rmnologin and mountdevsubfs if started
> insserv: loop involving service mountdevsubfs at depth 3
> insserv: loop involving service udev at depth 2
> insserv: loop involving service stop-bootlogd at depth 1
> insserv: exiting now without changing boot order!
> /sbin/insserv failed, exit code 1
> nginx 0:off 1:off 2:off 3:off 4:off 5:off 6:off
> dpkg: error processing nginx-stable_1.2.2-20120709002renren_amd64.deb
> (--install):
> subprocess new pre-removal script returned error exit status 1
> post install
> insserv: warning: script 'S99nagios' missing LSB tags and overrides
> insserv: warning: script 'rc.fw' missing LSB tags and overrides
> insserv: warning: script 'npcd' missing LSB tags and overrides
> insserv: warning: script 'nagios' missing LSB tags and overrides
> insserv: There is a loop at service rmnologin if started
> insserv: There is a loop between service rmnologin and mountnfs if started
> insserv: loop involving service mountnfs at depth 6
> insserv: loop involving service rpcbind at depth 5
> insserv: loop involving service mountnfs-bootclean at depth 8
> insserv: There is a loop between service rmnologin and mountall if started
> insserv: loop involving service mountall at depth 4
> insserv: loop involving service checkfs at depth 3
> insserv: Starting stop-bootlogd depends on rmnologin and therefore on
> system facility `$all' which can not be true!
> 。。。(重复多次)
> insserv: Max recursions depth 99 reached
> insserv: loop involving service exim4 at depth 6
> insserv: loop involving service rsyslog at depth 5
> insserv: loop involving service networking at depth 6
> insserv: There is a loop between service rmnologin and checkroot if started
> insserv: loop involving service checkroot at depth 4
> insserv: loop involving service hwclockfirst at depth 3
> insserv: loop involving service sudo at depth 10
> insserv: There is a loop between service rmnologin and ifupdown if started
> insserv: loop involving service ifupdown at depth 6
> insserv: loop involving service ifupdown-clean at depth 5
> insserv: loop involving service mtab at depth 5
> insserv: There is a loop between service rmnologin and
> mountoverflowtmp if started
> insserv: loop involving service mountoverflowtmp at depth 9
> insserv: loop involving service mountall-bootclean at depth 8
> insserv: There is a loop at service stop-bootlogd if started
> insserv: There is a loop between service rmnologin and mountdevsubfs if started
> insserv: loop involving service mountdevsubfs at depth 3
> insserv: loop involving service udev at depth 2
> insserv: loop involving service stop-bootlogd at depth 1
> insserv: exiting now without changing boot order!
> /sbin/insserv failed, exit code 1
> nginx 0:off 1:off 2:off 3:off 4:off 5:off 6:off
> Errors were encountered while processing:
> nginx-stable_1.2.2