-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear all,
After compiling by hand and patching amcheck.c to include our signature, all tests ran fine, backup work to tape etc, but a strange problem with amcheck: <quote> Appserv Tape Server Host Check - --------------------------------- Holding disk /var/cache/amanda: 7515340 KB disk space available, that's plenty ERROR: /dev/nst0: rewinding tape: No medium found    Â(expecting a new tape) NOTE: skipping tape-writable test NOTE: info dir /opt/suretec/var/amanda/learnit-appserv-cfg/curinfo/appserv/_opt_suretec: does not exist NOTE: index dir /opt/suretec/var/amanda/learnit-appserv-cfg/index/appserv/_opt_suretec: does not exist Server check took 30.105 seconds Appserv Backup Client Hosts Check - --------------------------------- Client check: 1 host checked in 0.019 seconds, 0 problems found - --------------------------------- Backup solution by Suretec Systems Ltd. For support, please email [EMAIL PROTECTED] Open Source. Open Solutions. http://www.suretecsystems.com </quote> - -------------------------- You can see that a new DLE was added, hence the curinfo and index. There was no tape in the drive, but it should off asked for tape2, as I dumped a backup to tape 1. If I run amadmin config tape, it gives the right tape, which is also indicate in tapelist, tapelist.yesterday etc. Could I have messed something up in amcheck.c ??? Patch: - --- pristine/amanda-2.4.4p3/server-src/reporter.c Wed Nov 26 16:10:23 2003 +++ amanda-2.4.4p3/server-src/reporter.c Sun Oct 3 01:47:16 2004 @@ -606,9 +606,11 @@ fprintf(mailf,"\n\014\nDUMP SUMMARY:\n"); output_summary(); } - - fprintf(mailf,"\n(brought to you by Amanda version %s)\n", - - version()); - - + fprintf(mailf,"\n--------------------------------------\n", + "Brought to you by Suretec Systems Ltd.\n\n", + "For support issues, please visit:\n", + "http://support.suretecsystems.com\n\n", + "Open Source. Open Solutions.\n"); if (postscript) { do_postscript_output(); } - --- pristine/amanda-2.4.4p3/server-src/amcheck.c Tue Mar 16 19:03:39 2004 +++ amanda-2.4.4p3/server-src/amcheck.c Sun Oct 3 01:46:58 2004 @@ -345,8 +345,12 @@ } version_string = vstralloc("\n", - - "(brought to you by Amanda ", version(), ")\n", - - NULL); + "--------------------------------------\n", + "Brought to you by Suretec Systems Ltd.\n\n", + "For support issues, please visit:\n", + "http://support.suretecsystems.com\n\n", + "Open Source. Open Solutions.\n", + NULL); for(l = 0, n = strlen(version_string); l < n; l += s) { if((s = write(mainfd, version_string + l, n - l)) < 0) { error("write main file: %s", strerror(errno)); - ---------------------- I can still see "expecting" in amcheck.c Just had a thought. Maybe tapelist is owned by root, and amcheck can't read it? Thanks. - -- Kind Regards, Gavin Henry. Managing Director. T +44 (0) 1467 624141 M +44 (0) 7930 323266 F +44 (0) 1224 742001 E [EMAIL PROTECTED] Open Source. Open Solutions(tm). http://www.suretecsystems.com/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQFBi90heWseh9tzvqgRAlCzAJ9IldFYjKWfQVRhYyL157qiITkxaQCglwFT 6Jvjo2yv0R50yKD0G8mf9Mg= =Aics -----END PGP SIGNATURE-----