[SLE] Failed service in runlevel 2: junkbuster
Hi there, I recently downloadad and installed junkbuster rpm -i junkbuster.rpm However, after boot I get the following messages: Starting Name Service Daemon /sbin/init.d/rc2.d/S84junkbuster: /etc/rc.d/init.d/functions: No such file or directory Master Resource Control: Failed service in runlevel 2: junkbuster What would be the problem? Also, When I do rpm -e junkbuster it doesn't uninstall anything. Why not? Any help would be greatly appreciated. -- Yatsen Ng yatsen.ng@brunel.nl Den Haag, The Netherlands It said "Needs Windows 95 or better". So I installed Linux... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Tue, Feb 29 2000 at 17:52 +0100, Yatsen Ng wrote:
I recently downloadad and installed junkbuster
rpm -i junkbuster.rpm
However, after boot I get the following messages:
Starting Name Service Daemon /sbin/init.d/rc2.d/S84junkbuster: /etc/rc.d/init.d/functions: No such file or directory Master Resource Control: Failed service in runlevel 2: junkbuster
Looks like an error in the start script. Could you post /sbin/init.d/junkbuster or /sbin/init.d/ijb (whatever it's called) here?
What would be the problem? Also, When I do
rpm -e junkbuster
it doesn't uninstall anything. Why not?
Do an `rpm -qa' and check if the program is really registered as junkbuster in the rpm database, probably it's registered as ijb (the name of an rpm file and the name that is entered in the rpm database are not necessarily the same). Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Starting Name Service Daemon /sbin/init.d/rc2.d/S84junkbuster: /etc/rc.d/init.d/functions: No such file or directory Master Resource Control: Failed service in runlevel 2: junkbuster
Looks like an error in the start script. Could you post /sbin/init.d/junkbuster or /sbin/init.d/ijb (whatever it's called) here?
What would be the problem? Also, When I do
rpm -e junkbuster
I managed to deinstall it by doing rpm -e junkbuster after all. How do I add it to /sbin/init.d/ o that it starts up during boot? Thanks -- Yatsen Ng yatsen.ng@brunel.nl Den Haag, The Netherlands It said "Needs Windows 95 or better". So I installed Linux... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Wed, Mar 01 2000 at 17:56 +0100, Yatsen Ng wrote:
after all. How do I add it to
/sbin/init.d/
so that it starts up during boot?
Create a script /etc/init.d/ijb that starts junkbuster. Mine looks like this: ---------------------------------------------------------------> #! /bin/sh # # /sbin/init.d/ijb # . /etc/rc.config base=${0##*/} link=${base#*[SK][0-9][0-9]} test $link = $base && START_IJB=yes test "$START_IJB" = "yes" || exit 0 return=$rc_done case "$1" in start) echo -n "Starting The Internet Junkbuster" startproc -u nobody -g nogroup /usr/local/sbin/junkbuster /etc/ijb/config || return=$rc_failed echo -e "$return" ;; stop) echo -n "Shutting down The Internet Junkbuster" killproc -TERM /usr/local/sbin/junkbuster || return=$rc_failed echo -e "$return" ;; restart|reload) $0 stop && $0 start || return=$rc_failed ;; status) checkproc /usr/local/sbin/junkbuster && echo OK || echo No process ;; *) echo "Usage: $0 {start|restart|status|stop}" exit 1 esac test "$return" = "$rc_done" || exit 1 exit 0 <--------------------------------------------------------------- Then create symbolic links in the runlevel directories (see /sbin/init.d/README for details) [sttr]/sbin/init.d> l **/*ijb* -rwxr-xr-x 1 root root 875 Feb 25 19:50 ijb* lrwxrwxrwx 1 root root 6 Jan 20 19:54 rc2.d/K09ijb -> ../ijb* lrwxrwxrwx 1 root root 6 Jan 20 19:54 rc2.d/S21ijb -> ../ijb* lrwxrwxrwx 1 root root 6 Jan 20 19:54 rc3.d/K09ijb -> ../ijb* lrwxrwxrwx 1 root root 6 Jan 20 19:54 rc3.d/S21ijb -> ../ijb* And finally, add ----------------------> # # Start junkbuster? # START_IJB=yes <---------------------- to /etc/rc.config. Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (2)
-
stefan.troeger@wirtschaft.tu-chemnitz.de
-
yatsen.ng@brunel.nl