-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Hello Chuck,
> On Tue, 15 Aug 2006, Chuck Amadi Systems Administrator wrote:
> > I have create the /etc/cron.daily/rkhunter
> Is this cronjob your own concoction or part of SuSE's rpm or a modified
> Rootkit Hunter contrib?
> > Fatal error: Problem while fetching file
>
> Doesn't indicate a path issue to me, more like an inaccessable mirror (at
> least mirror11 doesn't respond right now).
>
>
> * If you still think it's a path issue I could suggest checking it in
> detail by adding a debug flag within the cronjob for 1 run (set -x),
> prefix the rkhunter command with "sh -x" as well as adding 2>&1 error
> output redirection, this all for one cronjob run (don't run manually).
> Output will go to whichever account you configured with MAILTO=.
>
> If you are sure this isn't your own doing but a flaw in Rootkit Hunter and
> you can't find the error and fix it yourself (we do accept patches, TIA)
> then please *attach* the output and the cronjob.

Below is the job I use.  I get a similar error message when a site in the
rotation is down, other wise everything works just fine.

- ---------------------------Cut-Here------------------------------------
#!/bin/sh

MY_VERSION="`grep -i ^suse /etc/SuSE-release`"

if [ -e /etc/rkhunter.conf ]; then
  . /etc/rkhunter.conf
else
  exit 1
fi

/usr/bin/rkhunter --update | /bin/mail -s 'rkhunter Daily update' root

if [ `grep -c "${MY_VERSION}" ${DBDIR}/os.dat` -eq 0 ]; then
  echo "999:${MY_VERSION}:/usr/bin/md5sum:/bin:" >> ${DBDIR}/os.dat
fi
- ---------------------------Cut-Here------------------------------------


- --
Boyd Gerber <[EMAIL PROTECTED]>
ZENEZ   1042 East Fort Union #135, Midvale Utah  84047
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: For info see http://quantumlab.net/pine_privacy_guard/

iD8DBQFE42nhVtBjDid73eYRAiU1AJ4o6sVbfPmXa3QUGhe6UyogrrEMsgCghHPy
gbl23xvbiIzjPJwwIfpnLe0=
=ogfU
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rkhunter-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rkhunter-users

Reply via email to