I can't avoid apache from starting when I boot the machine with update-rc.d
by GnuLnuxBigSIMP from LinuxQuestions.org on (#5D2NP)
So I notice that apache2 was active even if I not run it so I try to avoid it to run in the booting process with Code:sudo update-rc.d -f apache2 remove but I get this error message and I dont know what to do . This is what I get :
Code:sudo update-rc.d -f apache2 remove
insserv: FATAL: service apache2 has to be enabled to use service XplicoI run : Code:Linux parrot 5.9.0-2parrot1-amd64 #1 SMP Debian 5.9.6-2parrot1 (2020-11-17) x86_64 GNU/LinuxAnd also when I run insserv I get this :
Code:insserv
insserv: FATAL: service mountkernfs has to exist for service udev
insserv: FATAL: service checkroot has to exist for service cryptdisks
insserv: FATAL: service urandom has to exist for service networking
insserv: FATAL: service mountdevsubfs has to exist for service hwclock
insserv: FATAL: service bootmisc has to exist for service live-tools
insserv: FATAL: service rpcbind is missed in the runlevels S to use service nfs-common
insserv: exiting now!There is `etc/insserv.conf` if it can help :
Code:#
# All local filesystems are mounted (done during boot phase)
#
$local_fs +mountall +mountall-bootclean +mountoverflowtmp +umountfs
#
# Low level networking (ethernet card)
#
$network +networking +ifupdown
#
# Named is operational
#
$named +named +dnsmasq +lwresd +bind9 +unbound +pdns-recursor $network
#
# All remote filesystems are mounted (note in some cases /usr may
# be remote. Most applications that care will probably require
# both $local_fs and $remote_fs)
#
$remote_fs $local_fs +mountnfs +mountnfs-bootclean +umountnfs +sendsigs
#
# System logger is operational
#
$syslog +rsyslog +sysklogd +syslog-ng +dsyslog +inetutils-syslogd
#
# The system time has been set correctly
#
$time +hwclock
#
# Services which need to be interactive
#
<interactive> glibc udev console-screen keymap keyboard-setup console-setup cryptdisks cryptdisks-early checkfs-loop


Code:sudo update-rc.d -f apache2 remove
insserv: FATAL: service apache2 has to be enabled to use service XplicoI run : Code:Linux parrot 5.9.0-2parrot1-amd64 #1 SMP Debian 5.9.6-2parrot1 (2020-11-17) x86_64 GNU/LinuxAnd also when I run insserv I get this :
Code:insserv
insserv: FATAL: service mountkernfs has to exist for service udev
insserv: FATAL: service checkroot has to exist for service cryptdisks
insserv: FATAL: service urandom has to exist for service networking
insserv: FATAL: service mountdevsubfs has to exist for service hwclock
insserv: FATAL: service bootmisc has to exist for service live-tools
insserv: FATAL: service rpcbind is missed in the runlevels S to use service nfs-common
insserv: exiting now!There is `etc/insserv.conf` if it can help :
Code:#
# All local filesystems are mounted (done during boot phase)
#
$local_fs +mountall +mountall-bootclean +mountoverflowtmp +umountfs
#
# Low level networking (ethernet card)
#
$network +networking +ifupdown
#
# Named is operational
#
$named +named +dnsmasq +lwresd +bind9 +unbound +pdns-recursor $network
#
# All remote filesystems are mounted (note in some cases /usr may
# be remote. Most applications that care will probably require
# both $local_fs and $remote_fs)
#
$remote_fs $local_fs +mountnfs +mountnfs-bootclean +umountnfs +sendsigs
#
# System logger is operational
#
$syslog +rsyslog +sysklogd +syslog-ng +dsyslog +inetutils-syslogd
#
# The system time has been set correctly
#
$time +hwclock
#
# Services which need to be interactive
#
<interactive> glibc udev console-screen keymap keyboard-setup console-setup cryptdisks cryptdisks-early checkfs-loop