Gentoo Archives: gentoo-server

From: "Frank Nørvig" <frank.norvig@××××××××××××.com>
To: gentoo-server@l.g.o
Subject: [gentoo-server] Re: backup and crontab problem (continued)
Date: Fri, 15 Oct 2004 08:26:57
Message-Id: cko1k6$ao0$1@sea.gmane.org
In Reply to: Re: [gentoo-server] Re: backup and crontab problem (continued) by andrea ferraris
1 >> [2004-10-08 05:11:52] uid=0(root) gid=0(root)
2 >> groups=0(root),1(bin),2(daemon),3(sys),4(adm),6(disk),10(wheel),11(floppy),20(dialout),26(tape),27(video)
3 >>
4 >> root
5 >> SHELL=/bin/sh
6 >> PATH=/usr/bin:/bin
7 >> PWD=/root
8 >> HOME=/root
9 >> SHLVL=2
10 >> LOGNAME=root
11 >> _=/usr/bin/env
12 >> tar: /dev/nst0: Cannot open: Input/output error
13 >> tar: Error is not recoverable: exiting now
14 >>
15 > Please, let me know if you can solve, because I'm really interested in
16 > this trouble.
17
18 I finally made it work!
19 It turned out that a coworker who has no business on the backup-server
20 had changed some essential system settings and deleted some symlinks to
21 the mtx and mt commands that I use to load and unload the tapes. This
22 resulted in tar failing because the tapes never where loaded correctly.
23
24 When running from bash the path where OK and everything worked but the
25 path in the cronjob weren't enough and the symlinks that I had created
26 was gone.
27
28 Thanks to everyone for helping me out!
29 The coworker is now talking and walking funny.
30
31 Frank