I believe apache denotes apache 1.x, and you need to use apache2 to
denote apache 2.x. In other words try:
rc-update del apache2 default
Otherwise:
Little bit of a wild guess backed up by some detective work, but I
think all you need to do is delete /etc/runlevels/default/apache2
A bit of detective work shows that all the files in
/etc/runlevels/<runlevel> are links to the /etc/init.d scripts for
whatever is being started. If I understand this correctly, rc-update
is telling you the link doesnt point to anything. Therefore, there
should be no problem if you delete the link.
Steve
On 12/31/08, Mark Knecht <
markknecht@...> wrote:
> On Sun, Dec 28, 2008 at 10:25 PM, Stuart Mathews
> <
stuart@...> wrote:
>>
>> Oops spelling mistake :
>>
>> #rc-update del apache default
>>
>> this is to remove apache reference to your default init script, not
>> postfix
>> as i originally posted (dangers of copy/paste google!)
>>
>>
>
> Stewart,
> First, thanks for the response. I appreciate it.
>
> Unfortunately this command doesn't seem to be the solution.
>
> dragonfly ~ # rc-update del apache default
> * 'apache' not found in any of the specified runlevels
> dragonfly ~ #
>
> Notice that rc-update knows that something is wrong (Broken
> runlevel entry message) but I haven't determined how to really know
> what that means.
>
> Thanks,
> Mark
>
> dragonfly ~ # rc-update show --verbose
> * Broken runlevel entry: /etc/runlevels/default/apache2
> alsasound | default
> apcupsd |
> apmd |
> bootmisc | boot
> checkfs | boot
> checkroot | boot
> clock | boot
> coldplug | boot
> consolefont | boot
> consolekit |
> crypto-loop |
> cupsd | default
> dbus | default
> device-mapper |
> dhcp |
> dhcrelay |
> dmcrypt |
> dmeventd |
> dnsextd |
> esound |
> gpm |
> hald |
> halt |
> hostname | boot
> hotplug | default
> in.tftpd |
> ipx |
> keymaps | boot
> lircd |
> lircmd |
> lisa |
> local | default nonetwork
> localmount | boot
> mDNSResponderPosix |
> mdnsd |
> modules | boot
> mysql |
> mysqlmanager |
> mythbackend |
> net.eth0 | default
> net.lo | boot
> net.wlan0 |
> netmount | default
> nfs |
> nfsmount |
> noip |
> nscd |
> ntp-client | default
> ntpd | default
> numlock |
> portmap | default
> pwcheck |
> pydoc-2.4 |
> pydoc-2.5 |
> rdate |
> reslisa |
> rmnologin | boot
> rpc.idmapd |
> rpc.pipefs |
> rpc.statd |
> rsyncd |
> samba |
> saslauthd |
> serial |
> sshd | default
> svnserve |
> svscan |
> syslog-ng | default
> udev-postmount |
> urandom | boot
> vixie-cron | default
> xdm | default
> xinetd |
> dragonfly ~ #
>
>