[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: Cron <root@rs> /sbin/rmmod -as]



Ben-Nes Michael <miki@canaan.co.il> writes:

> I get this message every 10 min to my mail
> what the hack is it ?
          ^^^^^
          was this intentional? ;-)

<snip>

> From: root@rs.canaan.co.il (Cron Daemon)
> To: root@rs.canaan.co.il
> Subject: Cron <root@rs>    /sbin/rmmod -as
> X-Cron-Env: <SHELL=/bin/sh>
> X-Cron-Env: <HOME=/root>
> X-Cron-Env: <PATH=/usr/bin:/bin>
> X-Cron-Env: <LOGNAME=root>
> X-Mozilla-Status2: 00000000
> 
> rmmod: Function not implemented

Well, in case it is not obvious, it is a message from your cron daemon
that tries ro remove all unused loadable modules from your kernel
every 10 minutes. 

Why it doesn't work is a different question What kernel are you using?
Have you got rmmod installed?  Is everything configured properly? Is
it the right version [a possibility: I have two Red Hat systems in
front of me right now, one is RH 6.0 with /sbin/rmmod installed from
modutils-2.1.121-12, and the other is RH 4.2 with /sbin/rmmod
installed from modules-2.0.0-5; the latter does not have -a and -s
options implemented, so maybe you are trying to do a new operation
with an old version of rmmod, and it reacts with this "not
implemented" message]? E.g. have you checked that /sbin/rmmod is there
at all (it probably is, just sanity check)? The output goes (read:
should go) to syslog (with the -s option), so maybe you'll find more
info there.

-- 
Oleg Goldshmidt          goldshmt@netvision.net.il
BLOOMBERG L.P. (BFM)     oleg@bfr.co.il
"Life's not fair, but the root password helps." [S.Travaglia]

=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il