Permission Problem.
In Red hat 8 amanda 2.4.2p1 is already installed with Amanda user I have only problem with permission on the tape device. Amanda cannot dump with root login when I SU to Amanda and try amdump it gives me permission denied error after checking amcheck. Also with sudo it will not work because any thing with UID 0 its not configure. Regards,
Upgraded, chg-chio error back
I upgraded my Amanda port on FreeBSD, and inadvertently lost the modification to chg-chio that fixed a bug I found. Here's the error message: bash$ sudo -u operator /usr/local/sbin/amtape twilley update amtape: scanning all 6 slots in tape-changer rack: slot 2: date 20030704 label twilley010 slot 3: date 20030707 label twilley011 slot 4: date 20030708 label twilley012 slot 5: date 20030711 label twilley013 slot 6: date 20030712 label twilley014 slot Use: tape_rdlabel: tape open: of uninitialized value in numeric eq (==) at /usr/local/libexec/amanda/chg-chio line 396.: No such file or directory Someone mailed me a patch offlist, and like a dummy I didn't save the patch in a separate file. Whoever you are, if you could send me the patch again I'd really appreciate it. Thanks! Jack. -- Jack Twilley jmt at twilley dot org http colon slash slash www dot twilley dot org slash tilde jmt slash pgp0.pgp Description: PGP signature
Re: backing up only local filesystems
On Mon, Aug 04, 2003 at 03:49:50PM -0400, [EMAIL PROTECTED] wrote: > > Anyway, I did a small backup to tape and now am having trouble restoring > > I am using tar and this is the restore command > and it says it cannot find the file when I know > it was there... > > Is this correct? > > amrestore -p /dev/nst0 SERVERNAME / |gtar xvf - etc/hosts > > amrestore complains it cannot find the file... Not sure, I've not used amrestore. But you might try restoring "./etc/hosts", I think that is how it is indexed. -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: /usr/local/libexec/amandad: Hangup
On Mon, Aug 04, 2003 at 03:45:30PM -0400, Lauri Bettencourt wrote: > At 05:38 PM 8/1/2003 -0400, Gene Heskett wrote: > >On Friday 01 August 2003 16:41, Lauri Bettencourt wrote: > >>Hello: > >> > >>Any asssistance anyone could offer would be greatly > >>appreciated. :-) > > >> > >>ls -al /home/amanda > >> > >>drwxr--r-- 2 amanda sys 512 Aug 1 10:53 . Probably does not affect anything, but these setting mean no one except amanda (and of course root) can work in this directory or any directory below amanda's home dir. Also, as it is amcheck failing, check its permissions (setuid root). That was one you did not include (or I overlooked). -- Jon H. LaBadie [EMAIL PROTECTED] JG Computing 4455 Province Line Road(609) 252-0159 Princeton, NJ 08540-4322 (609) 683-7220 (fax)
Re: backing up only local filesystems
On Monday 04 August 2003 15:49, [EMAIL PROTECTED] wrote: >I found out what the problem was.. > >after checking things in archives and other >mailings, I noticed references to amandad and >client, I checked my install again and i did not >have the client installed!!! > >I installed the rpm file and the amcheck ran fine >however, why did not amcheck complain about this >to begin with!!! > >Anyway, I did a small backup to tape and now am having trouble > restoring > >I am using tar and this is the restore command >and it says it cannot find the file when I know >it was there... > >Is this correct? > >amrestore -p /dev/nst0 SERVERNAME / |gtar xvf - 911timeline2pgetc/hosts > >amrestore complains it cannot find the file... > Post your output of a "tar --version" command please. -- Cheers, Gene AMD [EMAIL PROTECTED] 320M [EMAIL PROTECTED] 512M 99.27% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2003 by Maurice Eugene Heskett, all rights reserved.
Re: backing up only local filesystems
On Monday 04 August 2003 14:48, Albert Hopkins wrote: >On Thu, 2003-07-31 at 11:45, [EMAIL PROTECTED] wrote: >> hello, >> >> I only want to back up local filesystems... >> How can I bypass amanda from going through the >> network to backup the filesystem that are just >> local to the amanda server anyway? > >Am I missing something? Can't you just remove the remote > filesystems from disklist in your amanda configuration so that it > doesn't back them up? Because even for local backups, amanda is a client, taking orders from amanda the server. The fact that they are on the same machine is of relatively little importance to amanda. -- Cheers, Gene AMD [EMAIL PROTECTED] 320M [EMAIL PROTECTED] 512M 99.27% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2003 by Maurice Eugene Heskett, all rights reserved.
Re: Hardware Compression
On Monday 04 August 2003 11:28, Bob Zahn wrote: >I have a couple of Seagate Ultrium 100/200GB tape drives in a > Sun/Quantum ATL L25 tape library. When I try to run hardware > compression (/dev/rmt/0hbn) on them I still can only fit 100GB of > data according to Amanda. I ran amtapetype and got the following: > >define tapetype ATL-LTO1 { >comment "Produced by amtapetype prog (hardware compression on)" >length 104980 mbytes >filemark 1047 kbytes >speed 8429 kps >} > >Anyone have an idea as to why I can't get 200GB of backup data on a > single tape? Bob... > Because its not a 200Gb drive? Because its not, I've been told its a 100 Gb drive. And if you have amanda compress, and then feed that to the drives compressor, the data will often grow somewhat. As probably did the data from /dev/urandom that amtapetype uses as a data src. In the real world, you will have some dirs that have archives in them, and these will not further compress, so don't use either compression. Then there are some of your dirs that will smunch to 10% of their original size, and these you should use a dumptype that includes 'compress client best'. This can do far better than the hardware compressor under my local conditions. Here, by playing mix-n-match here at home, I have logged that amanda has put over 11 Gb of data on a 4Gb DDS2 tape, and quite often manages over 8Gb. No hardware compression involved. Running the hardware compressor also hides the true size from amanda, and you may have to reduce the tapetype size entry by 10-15% to keep amanda from hitting EOT. Amanda counts bytes fed to the drive after any compression amanda may have done and can then know to within a couple of percent how much data the tape will hold. -- Cheers, Gene AMD [EMAIL PROTECTED] 320M [EMAIL PROTECTED] 512M 99.27% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2003 by Maurice Eugene Heskett, all rights reserved.
Re: Virus alert
On Monday 04 August 2003 10:36, Byarlay, Wayne A. wrote: >Hey, AMANDA is part of Red Hat! so this isn't just a Unix forum. Only by means of red hat distributing a very long in the tooth, oddly configured set of binaries in their distro. And while there are those that have used those rpms, the majority of us build our own from the src tarballs. Far less hassle. >Anyway, I need my Windoze machine so I can play games like > Battlefield 1942. Oh yeah, and work, too. > >OK Back to Topic. sorry for ths spam. > >-Original Message- From: Marc Rassbach [mailto:[EMAIL PROTECTED] >Sent: Monday, August 04, 2003 8:10 AM >To: Axel Haenssen >Cc: 'Bean, N. Curt'; [EMAIL PROTECTED]; [EMAIL PROTECTED] >Subject: RE: Virus alert > >On Mon, 4 Aug 2003, Axel Haenssen wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> - -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> What's there to advise about. Just hope that everybody has his/her >> system all patched and antivirus definitions up to date. Plus, >> this only concerns windows user. Since we are a mostly linux forum >> we coulnd't care less, could we? > >I thought AMANDA was UNIX backup utility. > >When did it become a 'linux forum'? > >> cheers >> Axel >> >> >> - - -Original Message- >> From: [EMAIL PROTECTED] >> [mailto:[EMAIL PROTECTED] On Behalf Of Bean, N. Curt >> Sent: Monday, August 04, 2003 8:01 AM >> To: '[EMAIL PROTECTED]' >> Cc: '[EMAIL PROTECTED]' >> Subject: Virus alert >> >> >> >> >> I have noted several instances of the following message. >> >> Receiver, InterScan has detected virus(es) in the e-mail >> attachment. >> >> Date: Mon, 04 Aug 2003 13:42:09 - >> Method: Mail >> From: <[EMAIL PROTECTED]> >> To: <[EMAIL PROTECTED]> >> File: message.zip >> Action: clean failed - deleted >> Virus: WORM_MIMAIL.A >> >> >> >> Will the administrator of this group please be advised of >> this problem >> >> Thanks in advance >> >> >> >> N. Curt Bean >> Sr. System/Network Administrator >> Raytheon >> 7700 Arlington Blvd. >> Fallschurch Va. 22042 >> Phone: 703.560.5000 Ext 4203 >> Fax: 703.849.1591 >> Email: [EMAIL PROTECTED] >> >> >> >> - -BEGIN PGP SIGNATURE- >> Version: PGP 8.0.2 >> >> iQA/AwUBPy5bFUco2hPOn0CzEQLy9ACfc74GtxhKUrUN3w1wWifu6U+Q7csAoK6X >> fULwNDU0Q31yExUgNvFyywik >> =7+0b >> - -END PGP SIGNATURE- >> >> -BEGIN PGP SIGNATURE- >> Version: PGP 8.0.2 >> >> iQA/AwUBPy5cC0co2hPOn0CzEQJtDgCgvMdax28rZazvp0BhCxjTz3MYZzcAn0Qk >> izSBZLSqyfu2L5Rlyb2zQS9M >> =IRJx >> -END PGP SIGNATURE- -- Cheers, Gene AMD [EMAIL PROTECTED] 320M [EMAIL PROTECTED] 512M 99.27% setiathome rank, not too shabby for a WV hillbilly Yahoo.com attornies please note, additions to this message by Gene Heskett are: Copyright 2003 by Maurice Eugene Heskett, all rights reserved.
Re: backing up only local filesystems
I found out what the problem was.. after checking things in archives and other mailings, I noticed references to amandad and client, I checked my install again and i did not have the client installed!!! I installed the rpm file and the amcheck ran fine however, why did not amcheck complain about this to begin with!!! Anyway, I did a small backup to tape and now am having trouble restoring I am using tar and this is the restore command and it says it cannot find the file when I know it was there... Is this correct? amrestore -p /dev/nst0 SERVERNAME / |gtar xvf - etc/hosts amrestore complains it cannot find the file... - Original Message - From: Albert Hopkins <[EMAIL PROTECTED]> Date: Monday, August 4, 2003 2:48 pm Subject: Re: backing up only local filesystems > On Thu, 2003-07-31 at 11:45, [EMAIL PROTECTED] wrote: > > hello, > > > > I only want to back up local filesystems... > > How can I bypass amanda from going through the > > network to backup the filesystem that are just > > local to the amanda server anyway? > > Am I missing something? Can't you just remove the remote filesystems > from disklist in your amanda configuration so that it doesn't back > themup? > > -- > Albert Hopkins <[EMAIL PROTECTED]> > Laboratory Corporation of America > >
Re: /usr/local/libexec/amandad: Hangup
At 05:38 PM 8/1/2003 -0400, Gene Heskett wrote: On Friday 01 August 2003 16:41, Lauri Bettencourt wrote: >Hello: > >Any asssistance anyone could offer would be greatly >appreciated. :-) > >I recently had to restore the directory where my >amanda user was and have not been able to get amcheck >to work with the server since. This server was previously >backed up using Amanda without issue. The server is >running Solaris 8 w/ amanda-2.4.2p2. > >Seeing entries in the archives that pointed to a >possible permissions / ownership issue I removed >the amanda account and all source / binaries from the >system and reinstalled. I also stopped and started >inetd. > >Install config was done with: > >--prefix=/usr/local >--with-amandahosts >--with-group=sys >--with-user=amanda >--without-server > >I am still getting the following error in the log: > >Aug 1 11:06:12 server inetd[29065]: [ID 858011 >daemon.warning] /usr/local/libexec/amandad: Hangup >Aug 1 11:06:51 server last message repeated 38 times >Aug 1 11:06:52 server inetd[29065]: [ID 667328 >daemon.error] >amanda/udp server failing (looping), service >terminated > >Output from amcheck > >Amanda Backup Client Hosts Check > >WARNING: server.wn.net: selfcheck request timed out. >Host down? >Client check: 30 hosts checked in 34.293 seconds, 1 >problem found > >(brought to you by Amanda 2.4.2p2) You've got me scratching what little grey hair I have. First, it appears the machine is the server, but you re-installed --without-server? Putting 2 and 2 together, one of them must be -2 cause its not adding up. :) I think my gray hairs have doubled since this issue started...:-)) It is a server, but not *the* backup server. All of our servers are installed from a script with the same configuration switches. And you didn't indicate if ~/.amandahosts was in use unless I missed a clue above. You may have to reconstruct that file as I don't think it would be in the backup if the perms were set (0400) as recommended. Yes we are using the .amandahosts file as noted above...there is an ls -al output included in the original email. Third, having a configuration script that you can copy to each new tarballs unpacked directory so that each new version is configured like the last one is a major bit of insurance. I posted mine again a few days ago, so check the archives for a copy of that for the server. We do all of our installs from a Jumpstart server. Then 2.4.2p2 is getting a bit long in the tooth. 2.4.4-p1-20030716 seems to be very stable, and/or Jean-Louis is on vacation and has not been around to release new snapshot tarballs. Get it from Jean-Louis's site at (IIRC) umontreal.edu.ca. Yes, the software is out of date, but I hesitate to change the version until I can test it on a *non* production system. Again, any help is appreciated. Lauri- >The configuration is setup as follows: > >/etc/group entry > >sys::3:root,bin,sys,adm,amanda > >/etc/passwd entry > >amanda:x:61287:3:Amanda Backup >Account:/home/amanda:/usr/local/bin/bash > >ls -al /home/amanda > >drwxr--r-- 2 amanda sys 512 Aug 1 10:53 >. >drwxr-xr-x 17 root root 258560 Aug 1 10:33 >.. >-rw-r--r-- 1 amanda sys 24 Aug 1 10:53 >.amandahosts >-rw-r--r-- 1 amanda other144 Aug 1 10:33 >.profile >-rw-r--r-- 1 amanda other124 Aug 1 10:33 >local.cshrc >-rw-r--r-- 1 amanda other607 Aug 1 10:33 >local.login >-rw-r--r-- 1 amanda other582 Aug 1 10:33 >local.profile > >/etc/services > >amanda 10080/udp #Dump >server control >amandaidx 10082/tcp >#Amanda Indexing >amidxtape 10083/tcp >#Amanda tape indexing > >/etc/inetd.conf > >amanda dgram udp wait amanda /usr/local/libexec/amandad >amandad >amandaidx stream tcp nowait amanda /usr/local/libexec/amindexd >amindexd >amidxtape stream tcp nowait amanda /usr/local/libexec/amidxtaped >amidxtaped > >ls -al /usr/local/libexec/ > >drwxr-xr-x 2 root other512 Aug 1 10:49 >. >drwxr-xr-x 21 root other512 Feb 24 11:27 >.. >-rwxr-xr-x 1 amanda sys 430696 Aug 1 10:48 >amandad >-rwxr-xr-x 1 amanda sys 416880 Aug 1 10:49 >amidxtaped >-rwsr-x--- 1 root sys 346924 Aug 1 10:48 >calcsize >-rwsr-x--- 1 root sys 280588 Aug 1 10:48 >killpgrp >-rwxr-xr-x 1 amanda sys 4588 Aug 1 10:49 >patch-system >-rwsr-x--- 1 root sys 278268 Aug 1 10:48 >rundump >-rwsr-x--- 1 root sys 279084 Aug 1 10:48 >runtar >-rwxr-xr-x 1 amanda sys 391552 Aug 1 10:48 >selfcheck >-rwxr-xr-x 1 amanda sys 772104 Aug 1 10:48 >sendbackup >-rwxr-xr-x 1 amanda sys 647880 Aug 1 10:49 >sendsize >-rwxr-xr-x 1 amanda sys 278120 Aug 1 10:49 >versionsuffix > >ls -al /usr/local/sbin > >-rwxr-x--- 1 amanda sys 903404 Aug 1 10:49 >amrecover >-rwxr-xr-x 1 amanda sys 499552 Aug 1 10:49 >amres
Re: Host Question on tape advancment
On Mon, Aug 04, 2003 at 12:53:28PM -0500, Bruntel, Mitchell L, SOLCM wrote: > Here;s the question: > Should amanda be advancing the tape every time it runs amcheck like this? > in my changer, tapes 1-30 are amanda labeled tapes > > (background I have a 80 slot tape changer.) > My amcheck Host says: > Amanda Tape Server Host Check > - > Holding disk /dump: 8972115 KB disk space available, that's plenty > amcheck-server: slot 39: tape_rdlabel: tape open: /dev/rmt/1bn: I/O error > amcheck-server: fatal slot 40: slot 40 move failed > ERROR: new tape not found in rack >(expecting a new tape) Just like amdump, amcheck will check current slot for an "optimally writable tape" (based on tapecycle, the content of tapelist, and what is actually loaded in the changer). If it doesn't find it in 'slot current', it will roll through the entire changer looking for it. In your case, the tape in 'slot current' generated "I/O error". That is a really bad sign, probably threw errors in /var/adm/messages, and is the first thing you should look at. At best(?), it is a bad tape that needs to be discarded. At worst(?), there are cabling and/or configuration problems and you don't have a reliable R/W channel to your tape drives yet. Hmmm. I notice you say "1-30 are amanda labeled", perhaps chg-scsi is not clever enough to handle having 81 slots declared in chg-scsi.conf, but only 30 slots populated, and just blows up on empty slots? I am not a chg-scsi user... -- Jay Lessert [EMAIL PROTECTED] Accelerant Networks Inc. (voice)1.503.439.3461 Beaverton OR, USA(fax)1.503.466.9472
RE: backing up only local filesystems
Perhaps you are concerned that Amanda treats the local system the same as the others and that the traffic may be going down the network stack and getting looped backed up? Why are you worried about this? More and more unix software is built this way (X windows for one), so why should we be worried that Amanda works this way also? JLM PS...why can't people turn off vacation notices for mail sent to a list? Jeremy Mordkoff Tatara Systems 978-206-0808 (direct) 978-206-0888 (fax) injustice anywhere threatens justice everywhere -- Dr. Martin Luther King -Original Message- From: Albert Hopkins [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 2:49 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: backing up only local filesystems On Thu, 2003-07-31 at 11:45, [EMAIL PROTECTED] wrote: > hello, > > I only want to back up local filesystems... > How can I bypass amanda from going through the > network to backup the filesystem that are just > local to the amanda server anyway? Am I missing something? Can't you just remove the remote filesystems from disklist in your amanda configuration so that it doesn't back them up? -- Albert Hopkins <[EMAIL PROTECTED]> Laboratory Corporation of America
Re: backing up only local filesystems
On Thu, 2003-07-31 at 11:45, [EMAIL PROTECTED] wrote: > hello, > > I only want to back up local filesystems... > How can I bypass amanda from going through the > network to backup the filesystem that are just > local to the amanda server anyway? Am I missing something? Can't you just remove the remote filesystems from disklist in your amanda configuration so that it doesn't back them up? -- Albert Hopkins <[EMAIL PROTECTED]> Laboratory Corporation of America
More on Host Question on tape advancment (answer?)
Question: Did i a message right before that said changer: got exit: 0 str: 40 81 1 0 that this string stood for "Current drive, max # slots, first slot, ***CAN DRIVE go backwards ***?? That would explain this behavior I think, but I didnt see it in chg-scsi.conf Mitch amcheck: debug 1 pid 13444 ruid 107 euid 0: start at Mon Aug 4 14:05:18 2003 amcheck: dgram_bind: socket bound to 0.0.0.0.738 changer: got exit: 0 str: 40 81 1 0 changer_query: changer return was 81 1 0 changer_query: searchable = 0 changer_find: looking for NULL changer is searchable = 0 changer: got exit: 0 str: 40 /dev/rmt/1bn changer: got exit: 2 str: 41 slot 41 move failed amcheck: spawning /usr/ucb/Mail in pipeline amcheck: argument list: /usr/ucb/Mail -s "DailySet1 AMANDA PROBLEM: FIX BEFORE RUN, IF POSSIBLE" mbruntel amcheck: pid 13444 finish time Mon Aug 4 14:06:01 2003 ~ ~ -Original Message- From: Bruntel, Mitchell L Sent: Monday, August 04, 2003 1:53 PM To: [EMAIL PROTECTED] Subject: Host Question on tape advancment Here;s the question: Should amanda be advancing the tape every time it runs amcheck like this? in my changer, tapes 1-30 are amanda labeled tapes (background I have a 80 slot tape changer.) My amcheck Host says: Amanda Tape Server Host Check - Holding disk /dump: 8972115 KB disk space available, that's plenty amcheck-server: slot 39: tape_rdlabel: tape open: /dev/rmt/1bn: I/O error amcheck-server: fatal slot 40: slot 40 move failed ERROR: new tape not found in rack (expecting a new tape) NOTE: skipping tape-writable test Server check took 37.245 seconds here's a snippet from my chg-scsi file (I know, I've been told to move to chg-mtx, but I'm not sure of it yet...) #: orginal example scsi.conf number_configs 3 eject 1 # Tapedrives need an eject command sleep 5 # Seconds to wait until the tape gets ready cleanmax15 # How many times could a cleaning tape get used changerdev /dev/scsi/changer/c1t0d0 # # first comes the data for drive 0 # config 0 drivenum0 dev /dev/rmt/0bn# tapedrive 1 (BSD type, no rewind, no compression) startuse1 # The slots associated with the drive 0 enduse 81 # statfile/usr/local/etc/amanda/DailySet1/logs/tape0-slot # The file where the actual slot is stored cleancart 0 # the slot where the cleaningcartridge for drive 0 is located cleanfile /usr/local/etc/amanda/DailySet1/logs/tape0-clean # The file where the cleanings are recorded usagecount /usr/local/etc/amanda/DailySet1/logs/totaltime-drive0 # Next comes the data for drive 1 config 1 drivenum1 dev /dev/rmt/1bn# tapedrive 1 (BSD type, no rewind, no compression) startuse1 # The slots associated with the drive 0 enduse 81 # statfile/usr/local/etc/amanda/DailySet1/logs/tape1-slot # The file where the actual slot is stored cleancart 0 # the slot where the cleaningcartridge for drive 1 is located cleanfile /usr/local/etc/amanda/DailySet1/logs/tape1-clean # The file where the cleanings are recorded usagecount /usr/local/etc/amanda/DailySet1/logs/totaltime-drive1 # Next comes the data for drive 2 config 2 drivenum2 dev /dev/rmt/2bn# tapedrive 2 (BSD type, no rewind, no compression) startuse1 # The slots associated with the drive 2 enduse 81 # statfile/usr/local/etc/amanda/DailySet1/logs/tape2-slot # The file where the actual slot is stored cleancart 0 # the slot where the cleaningcartridge for drive 2 is located cleanfile /usr/local/etc/amanda/DailySet1/logs/tape2-clean # The file where the cleanings are recorded usagecount /usr/local/etc/amanda/DailySet1/logs/totaltime-drive2 and from amanda.conf: runtapes 2 # number of tapes to be used in a single run of amdump tpchanger "chg-scsi"# the tape-changer glue script #tpchanger "chg-zd-mtx" # the tape-changer glue script tapedev "1" # the no-rewind tape device to be used # note (mb) the 1 refers to config # 1 within scsi.conf changerfile "/usr/local/etc/amanda/DailySet1/chg-scsi.conf"
Summary- Re: Disk Definition question
Original question: Why still getting permission denied, even though group ownership is set... Mitch Solution: Permissions. (or what advice would you give to "THE Graduate" if it took place today, rather than 40 years ago?" -Original Message- From: Jay Lessert [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 1:51 PM To: Bruntel, Mitchell L Cc: [EMAIL PROTECTED] Subject: Re: Disk Definition question On Mon, Aug 04, 2003 at 12:32:12PM -0500, Bruntel, Mitchell L, SOLCM wrote: > Question: getting permission denied..but.. > Amanda runs as AMANDA/operator (solaris 2.8) > DUMP /dev/dsk/c0t0d0s3 0 OPTIONS |;auth=bsd;compress-fast; > ERROR [could not access /dev/rdsk/c0t0d0s3 (/dev/dsk/c0t0d0s3): Permission denied] > [EMAIL PROTECTED]: /dev/dsk #> ls -al /dev/dsk/c0t0d0s3 > > lrwxrwxrwx 1 root root 46 May 16 2000 /dev/dsk/c0t0d0s3 -> > ../../devices/[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL > PROTECTED],0:d > [EMAIL PROTECTED]: /dev/dsk #> ls -al ../../devices/[EMAIL PROTECTED],0/[EMAIL > PROTECTED],1/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:d > brw--- 1 root operator 153, 3 May 16 2000 ../../devices/[EMAIL > PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:d ^^ So ufsdump is running user=amanda/group=operator, and the device is *only* readable by owner (root), so you get "Permission denied". Quite right. % sudo chmod g+r /devices/[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:d Repeat as appropriate for the other devices. -- Jay Lessert [EMAIL PROTECTED] Accelerant Networks Inc. (voice)1.503.439.3461 Beaverton OR, USA(fax)1.503.466.9472
RE: Disk Definition question-withdrawn
Jay set me straight, and suggested I look at the file permissions. thanks in advance
Host Question on tape advancment
Here;s the question: Should amanda be advancing the tape every time it runs amcheck like this? in my changer, tapes 1-30 are amanda labeled tapes (background I have a 80 slot tape changer.) My amcheck Host says: Amanda Tape Server Host Check - Holding disk /dump: 8972115 KB disk space available, that's plenty amcheck-server: slot 39: tape_rdlabel: tape open: /dev/rmt/1bn: I/O error amcheck-server: fatal slot 40: slot 40 move failed ERROR: new tape not found in rack (expecting a new tape) NOTE: skipping tape-writable test Server check took 37.245 seconds here's a snippet from my chg-scsi file (I know, I've been told to move to chg-mtx, but I'm not sure of it yet...) #: orginal example scsi.conf number_configs 3 eject 1 # Tapedrives need an eject command sleep 5 # Seconds to wait until the tape gets ready cleanmax15 # How many times could a cleaning tape get used changerdev /dev/scsi/changer/c1t0d0 # # first comes the data for drive 0 # config 0 drivenum0 dev /dev/rmt/0bn# tapedrive 1 (BSD type, no rewind, no compression) startuse1 # The slots associated with the drive 0 enduse 81 # statfile/usr/local/etc/amanda/DailySet1/logs/tape0-slot # The file where the actual slot is stored cleancart 0 # the slot where the cleaningcartridge for drive 0 is located cleanfile /usr/local/etc/amanda/DailySet1/logs/tape0-clean # The file where the cleanings are recorded usagecount /usr/local/etc/amanda/DailySet1/logs/totaltime-drive0 # Next comes the data for drive 1 config 1 drivenum1 dev /dev/rmt/1bn# tapedrive 1 (BSD type, no rewind, no compression) startuse1 # The slots associated with the drive 0 enduse 81 # statfile/usr/local/etc/amanda/DailySet1/logs/tape1-slot # The file where the actual slot is stored cleancart 0 # the slot where the cleaningcartridge for drive 1 is located cleanfile /usr/local/etc/amanda/DailySet1/logs/tape1-clean # The file where the cleanings are recorded usagecount /usr/local/etc/amanda/DailySet1/logs/totaltime-drive1 # Next comes the data for drive 2 config 2 drivenum2 dev /dev/rmt/2bn# tapedrive 2 (BSD type, no rewind, no compression) startuse1 # The slots associated with the drive 2 enduse 81 # statfile/usr/local/etc/amanda/DailySet1/logs/tape2-slot # The file where the actual slot is stored cleancart 0 # the slot where the cleaningcartridge for drive 2 is located cleanfile /usr/local/etc/amanda/DailySet1/logs/tape2-clean # The file where the cleanings are recorded usagecount /usr/local/etc/amanda/DailySet1/logs/totaltime-drive2 and from amanda.conf: runtapes 2 # number of tapes to be used in a single run of amdump tpchanger "chg-scsi"# the tape-changer glue script #tpchanger "chg-zd-mtx" # the tape-changer glue script tapedev "1" # the no-rewind tape device to be used # note (mb) the 1 refers to config # 1 within scsi.conf changerfile "/usr/local/etc/amanda/DailySet1/chg-scsi.conf"
Re: Disk Definition question
On Mon, Aug 04, 2003 at 12:32:12PM -0500, Bruntel, Mitchell L, SOLCM wrote: > Question: getting permission denied..but.. > Amanda runs as AMANDA/operator (solaris 2.8) > DUMP /dev/dsk/c0t0d0s3 0 OPTIONS |;auth=bsd;compress-fast; > ERROR [could not access /dev/rdsk/c0t0d0s3 (/dev/dsk/c0t0d0s3): Permission denied] > [EMAIL PROTECTED]: /dev/dsk #> ls -al /dev/dsk/c0t0d0s3 > > lrwxrwxrwx 1 root root 46 May 16 2000 /dev/dsk/c0t0d0s3 -> > ../../devices/[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL > PROTECTED],0:d > [EMAIL PROTECTED]: /dev/dsk #> ls -al ../../devices/[EMAIL PROTECTED],0/[EMAIL > PROTECTED],1/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:d > brw--- 1 root operator 153, 3 May 16 2000 ../../devices/[EMAIL > PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:d ^^ So ufsdump is running user=amanda/group=operator, and the device is *only* readable by owner (root), so you get "Permission denied". Quite right. % sudo chmod g+r /devices/[EMAIL PROTECTED],0/[EMAIL PROTECTED],1/[EMAIL PROTECTED]/[EMAIL PROTECTED],0:d Repeat as appropriate for the other devices. -- Jay Lessert [EMAIL PROTECTED] Accelerant Networks Inc. (voice)1.503.439.3461 Beaverton OR, USA(fax)1.503.466.9472
Disk Definition question
Question: getting permission denied..but.. Amanda runs as AMANDA/operator (solaris 2.8) Here is my disklist ** # sample Amanda2 disklist file, derived from CS.UMD.EDU's disklist # see disklist.original for original # # tape host itself tape.control.att.com # always-full tape.control.att.com /dev/dsk/c0t0d0s0 always-full tape.control.att.com /dev/dsk/c0t0d0s7 always-full # Client 1: Cluster-adm.control.att.com cluster-adm.control.att.com /dev/dsk/c0t0d0s5 always-full # /dev/dsk/c0t0d0s5 = /opt = where bkups are written cluster-adm.control.att.com /dev/dsk/c0t0d0s0 comp-root # /dev/dsk/c0t0d0s0 is / cluster-adm.control.att.com /dev/dsk/c0t0d0s3 comp-user # /dev/dsk/c0t0d0s0 is /usr ** my amanda daemon debug on "tape" (host) shows: amandad: debug 1 pid 13331 ruid 107 euid 107: start at Mon Aug 4 12:23:32 2003 amandad: version 2.4.4p1 amandad: time 0.000: got packet: Amanda 2.4 REQ HANDLE 000-0003EDE0 SEQ 1060014213 SECURITY USER amanda SERVICE selfcheck OPTIONS features=feff9ffe0f;maxdumps=1;hostname=tape.control.att.com; DUMP /dev/dsk/c0t0d0s7 0 OPTIONS |;auth=bsd; DUMP /dev/dsk/c0t0d0s0 0 OPTIONS |;auth=bsd; amandad: time 0.000: sending ack: Amanda 2.4 ACK HANDLE 000-0003EDE0 SEQ 1060014213 amandad: time 0.002: bsd security: remote host tape.control.att.com user amanda local user amanda amandad: time 0.002: amandahosts security check passed amandad: time 0.002: running service "/usr/local/libexec/selfcheck" amandad: time 0.028: sending REP packet: Amanda 2.4 REP HANDLE 000-0003EDE0 SEQ 1060014213 OPTIONS features=feff9ffe0f; OK /dev/dsk/c0t0d0s7 OK /dev/dsk/c0t0d0s7 OK /dev/rdsk/c0t0d0s7 OK /dev/dsk/c0t0d0s0 OK /dev/dsk/c0t0d0s0 OK /dev/rdsk/c0t0d0s0 OK /usr/sbin/ufsdump executable OK /etc/dumpdates read/writable OK /dev/null read/writable OK /tmp/amanda has more than 64 KB available. OK /tmp/amanda has more than 64 KB available. OK /etc has more than 64 KB available. amandad: time 0.029: got packet: Amanda 2.4 ACK HANDLE 000-0003EDE0 SEQ 1060014213 amandad: time 0.029: pid 13331 finish time Mon Aug 4 12:23:32 2003 ~ which looks ok. Next, on the client: my amandad shows: amandad: debug 1 pid 9427 ruid 104 euid 104: start at Mon Aug 4 12:28:56 2003 amandad: version 2.4.4p1 amandad: time 0.000: got packet: Amanda 2.4 REQ HANDLE 001-0003ECD0 SEQ 1060014214 SECURITY USER amanda SERVICE selfcheck OPTIONS features=feff9ffe0f;maxdumps=1;hostname=cluster-adm.control.att.com; DUMP /dev/dsk/c0t0d0s3 0 OPTIONS |;auth=bsd;compress-fast; DUMP /dev/dsk/c0t0d0s0 0 OPTIONS |;auth=bsd;compress-fast; DUMP /dev/dsk/c0t0d0s5 0 OPTIONS |;auth=bsd; amandad: time 0.001: sending ack: Amanda 2.4 ACK HANDLE 001-0003ECD0 SEQ 1060014214 amandad: time 0.003: bsd security: remote host tape.control.att.com user amanda local user amanda amandad: time 0.003: amandahosts security check passed amandad: time 0.003: running service "/usr/local/libexec/selfcheck" amandad: time 0.058: sending REP packet: Amanda 2.4 REP HANDLE 001-0003ECD0 SEQ 1060014214 OPTIONS features=feff9ffe0f; ERROR [could not access /dev/rdsk/c0t0d0s3 (/dev/dsk/c0t0d0s3): Permission denied] ERROR [could not access /dev/rdsk/c0t0d0s0 (/dev/dsk/c0t0d0s0): Permission denied] ERROR [could not access /dev/rdsk/c0t0d0s5 (/dev/dsk/c0t0d0s5): Permission denied] OK /usr/sbin/ufsdump executable OK /usr/bin/gzip executable ^ OK /etc/dumpdates read/writable | OK /dev/null read/writable | OK /tmp/amanda has more than 64 KB available. | OK /tmp/amanda has more than 64 KB available. | OK /etc has more than 64 KB available. | | | amandad: time 0.058: got packet: | | Amanda 2.4 ACK HANDLE 001-0003ECD0 SEQ 1060014214 | | | amandad: time 0.059: pid 9427 finish time Mon Aug 4 12:28:56 2003 | NOTE . directory (dev/rdsk) is operator but on that machine: I show: [EMAIL PROTECTED]: /dev/rdsk #> ls -la c0t0do* c0t0do*: No such file or directory [EMAIL PROTECTED]: /dev/rdsk #> ls -la total 40 drwxrwxr-x 2 root operator 512 May 16 2000 . drwxrwxr-x 18 root s
tape requested
Hi Today I noticed something weired: amcheck/amdump requests one tape (according to the list in tapelist) while amflush requests a different one. Which brings up the question: how does amflush decide which tape it is supposed to flush backups to? Paolo
Re: Hardware Compression
On Mon, Aug 04, 2003 at 10:28:29AM -0500, Bob Zahn wrote: > I have a couple of Seagate Ultrium 100/200GB tape drives in a Sun/Quantum > ATL L25 tape library. When I try to run hardware compression > (/dev/rmt/0hbn) on them I still can only fit 100GB of data according to > Amanda. I ran amtapetype and got the following: > > define tapetype ATL-LTO1 { > comment "Produced by amtapetype prog (hardware compression on)" > length 104980 mbytes Bob, amtapetype feeds uncompressible data so that you get an accurate picture of what your tape drive will do when presented with default Amanda output (default is 'compress client fast'). The 105GB you got is testament to the ability of your LTO drive to sense uncompressible data and auto-bypass HW compression. If you think about it for awhile, you'll realize that it makes no sense to run amtapetype with compression on; there is no way that amtapetype can predict the compressibility of your data today (or a year from now). When you choose HW compression, you're signing up to be your own amtapetype, so to speak. You can totally ignore filemark, of course, unless your disklist is literally 100's of entries long. When I was bringing up my LTO drives (about a year ago), I did several amdumps to disk (one for each DLE "type" I had) and did fill the tape loops like this: #!/bin/tcsh -f set count=1 while (1) echo transfer $count time dd if=/a6/backup/spitfire._a1.20020718.0 of=/dev/rmt/1cn obs=32k || exit @ count++ end to find out how much compression I was really getting (my answer was "average about 2.05X"). I set my length to rather less than that, 180GB. Just had a 175GB run this weekend: STATISTICS: Total Full Daily Estimate Time (hrs:min) 0:53 Run Time (hrs:min) 13:09 Dump Time (hrs:min)11:50 11:50 0:00 Output Size (meg) 175498.8 175498.80.0 Original Size (meg) 175498.8 175498.80.0 Avg Compressed Size (%) -- -- -- Filesystems Dumped11 11 0 Avg Dump Rate (k/s) 4219.9 4219.9 -- Tape Time (hrs:min) 2:49 2:49 0:00 Tape Size (meg) 175499.2175499.2 0.0 Tape Used (%) 97.5 97.50.0 Filesystems Taped 11 11 0 Avg Tp Write Rate (k/s) 17706.417706.4 -- Needless to say, if your payload is all satellite image jpegs (for example), your length will need to be set lower... -- Jay Lessert [EMAIL PROTECTED] Accelerant Networks Inc. (voice)1.503.439.3461 Beaverton OR, USA(fax)1.503.466.9472
Urgent.
FROM: Dr.Aaron Onah Odeh Federal Ministry of Aviation (FMA)Lagos, Nigeria. URGENT&CONFIDENTIAL BUSINESS PROPOSAL Dear Sir, It is my humble pleasure to write this letter irrespective of the fact that you do not know me. However, I came to know of you in my private search for a reliable and trustworthy person that can handle a confidential transaction of this nature in respect to our investment plans in real estate. My initial resolve was to discuss with you first and maybe obtain your consent beforeembarking on the actualization of my purpose as privileged and confidential. Although it is obvious that we have not seen each other but business is all about trust. I am Dr.Aaron Onah Odeh,,the Project Director of Federal Ministry of Aviation(FMA).We have an existing surplus of US$28,500.000.00(Twenty Eight Million,Five Hundred Thousand US Dollars belonging to myself and my colleagues in the Federal Ministry of Aviation(FMA)which we want to transfer into a trustworthy account outside the country for personal use and investment. This money originated from the aviation contract awarded by my ministry to some foreign firms in the past, which we tactfully and deliberately made over-costing/over estimation of the contract value. The main works has been completed and commission.leaving the overrides amount lying unclaimed in the account department of my ministry since it has neither a beneficial nor file. Mutually, we have unanimously agreed to give 30% of the money to you, 65%for myself and colleague, and 5%for settlement of any expenses that mayarise locally/international on the process of transferring the money into your account. However,we are reposing great confidence in you,bearing in mind that you will not sit on the money when remitted into your account.This is a golden opportunity of our life and we intend to establish good business/investment out of it in your country through your acceptance to work with us as an anchorman. For more details and to enable us forward application for claims to our Ministry, using your name and particulars as the beneficiary of the fund kindly contact me immediately on my my email Thanks While awaiting your urgent response.([EMAIL PROTECTED]) Best Regards. DR. AARON ONAH ODEH
Hardware Compression
I have a couple of Seagate Ultrium 100/200GB tape drives in a Sun/Quantum ATL L25 tape library. When I try to run hardware compression (/dev/rmt/0hbn) on them I still can only fit 100GB of data according to Amanda. I ran amtapetype and got the following: define tapetype ATL-LTO1 { comment "Produced by amtapetype prog (hardware compression on)" length 104980 mbytes filemark 1047 kbytes speed 8429 kps } Anyone have an idea as to why I can't get 200GB of backup data on a single tape? Bob... -- Robert Zahn UNIX Systems Administrator Oklahoma City Community College S. May Avenue Oklahoma City, Ok 73159 [EMAIL PROTECTED][EMAIL PROTECTED] --
amflus not flushing
Hi When I try to run amflush (with the command: amflush daily) to flush today's backup to tape (didn't happen becaose someone write protected the tape) I get the following output: Scanning /opt/amanda/dumps/daily... 20030704: found Amanda directory. 20030706: found Amanda directory. 20030712: found Amanda directory. 20030804: found Amanda directory. Scanning /export/home/amanda/dumps/daily... 20030804: found Amanda directory. Multiple Amanda directories, please pick one by letter: A. 20030704 B. 20030706 C. 20030712 D. 20030804 Select directories to flush [A..D]: [ALL] When I press enter (to select all) it doesn't backup flush anything (as shown in the log below): The dumps were flushed to tape monday. The next tape Amanda expects to use is: tuesday. STATISTICS: Total Full Daily Estimate Time (hrs:min)0:00 Run Time (hrs:min) 0:00 Dump Time (hrs:min)0:00 0:00 0:00 Output Size (meg) 0.00.00.0 Original Size (meg) 0.00.00.0 Avg Compressed Size (%) -- -- -- Filesystems Dumped0 0 0 Avg Dump Rate (k/s) -- -- -- Tape Time (hrs:min)0:00 0:00 0:00 Tape Size (meg) 0.00.00.0 Tape Used (%) 0.00.00.0 Filesystems Taped 0 0 0 Avg Tp Write Rate (k/s) -- -- -- USAGE BY TAPE: LabelTime Size %Nb monday 0:00 0.00.0 0 NOTES: driver: WARNING: /opt/amanda/dumps/daily: 1572864 KB requested, but only 27568 KB available. driver: WARNING: /export/home/amanda/dumps/daily: 5242880 KB requested, but only 1941839 KB available. taper: tape monday kb 0 fm 0 [OK] DUMP SUMMARY: DUMPER STATS TAPER STATS HOSTNAME DISK L ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s --- - - baloo /etc NO FILE TO FLUSH -- baloo /oracle/Backup/Scripts NO FILE TO FLUSH -- baloo /oracle/Backup/current NO FILE TO FLUSH -- baloo /oracle/Backup/log NO FILE TO FLUSH -- baloo /oracle/Backup/oldMonths NO FILE TO FLUSH -- baloo /var/VRTSvcs/log NO FILE TO FLUSH -- baloo /var/amanda NO FILE TO FLUSH -- baloo /var/log NO FILE TO FLUSH -- moglwi /etc NO FILE TO FLUSH -- moglwi /oracle/Backup/Scripts NO FILE TO FLUSH -- moglwi /oracle/Backup/current NO FILE TO FLUSH -- moglwi /oracle/Backup/log NO FILE TO FLUSH -- moglwi /oracle/Backup/oldMonths NO FILE TO FLUSH -- moglwi /var/VRTSvcs/log NO FILE TO FLUSH -- moglwi /var/log NO FILE TO FLUSH -- (brought to you by Amanda version 2.4.4) None of the directories is empty, but still amflush fails (I tried to flush them more than once with the same results everytime. What am I doing wrong? Paolo PS - below is the listing of the holding disks: /home/amanda/dumps/daily/: total 1 drwx-- 2 amanda512 Aug 4 06:22 20030804 /home/amanda/dumps/daily/20030804: total 3817497 -rw--- 1 amanda1495683 Aug 4 05:01 baloo._etc.0 -rw--- 1 amanda 39927 Aug 4 05:01 baloo._oracle_Backup_Scripts.0 -rw--- 1 amanda 1073741824 Aug 4 05:44 baloo._oracle_Backup_current.0.2 -rw--- 1 amanda 1073741824 Aug 4 05:59 baloo._oracle_Backup_current.0.3 -rw--- 1 amanda 1073741824 Aug 4 06:13 baloo._oracle_Backup_current.0.4 -rw--- 1 amanda 541351292 Aug 4 06:22 baloo._oracle_Backup_current.0.5 -rw--- 1 amanda 50482 Aug 4 05:00 baloo._oracle_Backup_log.0 -rw--- 1 amanda 136295991 Aug 4 05:03 baloo._oracle_Backup_oldMonths.0 -rw--- 1 amanda2047360 Aug 4 05:01 baloo._var_VRTSvcs_log.0 -rw--- 1 amanda 168505 Aug 4 05:00 baloo._var_amanda.0 -rw--- 1 amanda4438466 Aug 4 05:01 baloo._var_log.0 /opt/amanda/dumps/daily: total 4 drwx-- 2 amanda512 Jul 4 05:01 20030704 drwx-- 2 amanda512 Jul 6 05:01 20030706 drwx-- 2 amanda512 Jul 12 05:02 20030712 drwx-- 2 amanda512 Aug 4 06:22 20030804 /opt/amanda/dumps/daily/20030704: total 14748 -rw--- 1 amanda 39783 Jul 4 05:00 baloo._oracle_Backup_Scripts.0 -rw--- 1 amanda 44025 Jul 4 05:00 baloo._oracle_Backup_log.0 -rw--- 1 amanda 32936 Jul 4 05:00 moglwi._oracle_Backup_Scripts.0 -rw--- 1 amanda
RE: Virus alert
Hey, AMANDA is part of Red Hat! so this isn't just a Unix forum. Anyway, I need my Windoze machine so I can play games like Battlefield 1942. Oh yeah, and work, too. OK Back to Topic. sorry for ths spam. -Original Message- From: Marc Rassbach [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 8:10 AM To: Axel Haenssen Cc: 'Bean, N. Curt'; [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Virus alert On Mon, 4 Aug 2003, Axel Haenssen wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > - -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > What's there to advise about. Just hope that everybody has his/her > system all patched and antivirus definitions up to date. Plus, this > only concerns windows user. Since we are a mostly linux forum we > coulnd't care less, could we? I thought AMANDA was UNIX backup utility. When did it become a 'linux forum'? > cheers > Axel > > > - - -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Bean, N. Curt > Sent: Monday, August 04, 2003 8:01 AM > To: '[EMAIL PROTECTED]' > Cc: '[EMAIL PROTECTED]' > Subject: Virus alert > > > > > I have noted several instances of the following message. > > Receiver, InterScan has detected virus(es) in the e-mail attachment. > > Date: Mon, 04 Aug 2003 13:42:09 - > Method: Mail > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > File: message.zip > Action: clean failed - deleted > Virus: WORM_MIMAIL.A > > > > Will the administrator of this group please be advised of > this problem > > Thanks in advance > > > > N. Curt Bean > Sr. System/Network Administrator > Raytheon > 7700 Arlington Blvd. > Fallschurch Va. 22042 > Phone: 703.560.5000 Ext 4203 > Fax: 703.849.1591 > Email: [EMAIL PROTECTED] > > > > - -BEGIN PGP SIGNATURE- > Version: PGP 8.0.2 > > iQA/AwUBPy5bFUco2hPOn0CzEQLy9ACfc74GtxhKUrUN3w1wWifu6U+Q7csAoK6X > fULwNDU0Q31yExUgNvFyywik > =7+0b > - -END PGP SIGNATURE- > > -BEGIN PGP SIGNATURE- > Version: PGP 8.0.2 > > iQA/AwUBPy5cC0co2hPOn0CzEQJtDgCgvMdax28rZazvp0BhCxjTz3MYZzcAn0Qk > izSBZLSqyfu2L5Rlyb2zQS9M > =IRJx > -END PGP SIGNATURE- > > >
RE: "strange output"
I ran into this problem with Tru64 UNIX and the vdump command used by Amanda on that platform. I added a line to the "re_table" structure in client-src/sendbackup-dump.c to match the output of that command that was not being matched by the existing entries. I am not aware of any ability to add lines to the re_table structure other than by recompiling, so that may be your only hope. A line like: AM_NORMAL_RE("^ *SUDO:"), added to the file should do the trick. Of course, this will permit any line containing SUDO to pass through as normal. Don Donald L. (Don) Ritchey E-mail: [EMAIL PROTECTED] -Original Message-From: Jeremy L. Mordkoff [mailto:[EMAIL PROTECTED]Sent: Monday, August 04, 2003 9:10 AMTo: [EMAIL PROTECTED]Subject: "strange output" I have added a wrapper to /sbin/dump to lock and unlock my vobs. The output from my script (which I send to stderr) is flagged by Amanda as "strange output", for example... FAILED AND STRANGE DUMP DETAILS: /-- lux2 sda5 lev 1 STRANGE sendbackup: start [lux2:sda5 level 1] sendbackup: info BACKUP=/sbin/dump sendbackup: info RECOVER_CMD=/bin/gzip -dc |/sbin/restore -f... - sendbackup: info COMPRESS_SUFFIX=.gz sendbackup: info end ? SUDO: /vobs/admin ? SUDO: Locked versioned object base "/vobs/admin". ? SUDO: /vobs/client ? SUDO: Locked versioned object base "/vobs/client" Is there a way to tell Amanda that these lines are expected? Even better would be to tell her that they are required, but I know that's a bit much to ask, as it would have to be on a per filesystem basis. I plan to update my script to look like this in an attempt to fool Amanda into thinking its legit output: sudo -u ccadmin ~ccadmin/lockvobs 2>&1 | perl -n -e 'print "DUMP: $_";' >&2 so that every line will start with "DUMP: " but this feels like a hack. Any comments? JLM P.S. The worst thing about viruses is the amount of time and bandwidth people spend complaining about them. - JLM Jeremy Mordkoff Tatara Systems 978-206-0808 (direct) 978-206-0888 (fax) injustice anywhere threatens justice everywhere -- Dr. Martin Luther King This e-mail and any of its attachments may contain Exelon Corporation proprietary information, which is privileged, confidential, or subject to copyright belonging to the Exelon Corporation family of Companies. This e-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this e-mail is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify the sender immediately and permanently delete the original and any copy of this e-mail and any printout. Thank You.
upgrading a tape drive
I am about to upgrade my tape drive from DLT to SDLT on a dell poweredge 2600 running redhat 7.3. Besides changing my tapetype definition, is there anything else I should do? I am running build: VERSION="Amanda-2.4.3" BUILT_DATE="Fri Apr 4 10:37:17 EST 2003" BUILT_MACH="Linux lux1 2.4.18-18.7.xsmp #1 SMP Wed Nov 13 19:01:42 EST 2002 i686 unknown" CC="gcc" CONFIGURE_COMMAND="'./configure' '--with-user=amanda' '--with-group=disk'" Should I upgrade Amanda first? I remember some traffic regarding tapetype not analyzing SDLT drives correctly…was that ever resolved? I am also considering making a different machine my backup host. Is there a way to move my backup history from the old machine to the new machine so that the backup rotation can just continue? One problem with this plan is that I am very restricted on kernel revs on the possible new Amanda tape host (it is also a clearcase server). Am I better off having the flexibility to upgrade my kernel? Can anyone recommend a good kernel for redhat 7.3 (or should I go to 8.0??). ADV thanks ANCE for any input…. JLM Jeremy Mordkoff Tatara Systems 978-206-0808 (direct) 978-206-0888 (fax) injustice anywhere threatens justice everywhere -- Dr. Martin Luther King
"strange output"
I have added a wrapper to /sbin/dump to lock and unlock my vobs. The output from my script (which I send to stderr) is flagged by Amanda as “strange output”, for example… FAILED AND STRANGE DUMP DETAILS: /-- lux2 sda5 lev 1 STRANGE sendbackup: start [lux2:sda5 level 1] sendbackup: info BACKUP=/sbin/dump sendbackup: info RECOVER_CMD=/bin/gzip -dc |/sbin/restore -f... - sendbackup: info COMPRESS_SUFFIX=.gz sendbackup: info end ? SUDO: /vobs/admin ? SUDO: Locked versioned object base "/vobs/admin". ? SUDO: /vobs/client ? SUDO: Locked versioned object base "/vobs/client" Is there a way to tell Amanda that these lines are expected? Even better would be to tell her that they are required, but I know that’s a bit much to ask, as it would have to be on a per filesystem basis. I plan to update my script to look like this in an attempt to fool Amanda into thinking its legit output: sudo -u ccadmin ~ccadmin/lockvobs 2>&1 | perl -n -e 'print "DUMP: $_";' >&2 so that every line will start with “DUMP: “ but this feels like a hack. Any comments? JLM P.S. The worst thing about viruses is the amount of time and bandwidth people spend complaining about them. – JLM Jeremy Mordkoff Tatara Systems 978-206-0808 (direct) 978-206-0888 (fax) injustice anywhere threatens justice everywhere -- Dr. Martin Luther King
RE: Virus alert
On Mon, 4 Aug 2003, Axel Haenssen wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > - -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > What's there to advise about. Just hope that everybody has his/her > system all patched and antivirus definitions up to date. Plus, this > only concerns windows user. Since we are a mostly linux forum we > coulnd't care less, could we? I thought AMANDA was UNIX backup utility. When did it become a 'linux forum'? > cheers > Axel > > > - - -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Bean, N. Curt > Sent: Monday, August 04, 2003 8:01 AM > To: '[EMAIL PROTECTED]' > Cc: '[EMAIL PROTECTED]' > Subject: Virus alert > > > > > I have noted several instances of the following message. > > Receiver, InterScan has detected virus(es) in the e-mail attachment. > > Date: Mon, 04 Aug 2003 13:42:09 - > Method: Mail > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > File: message.zip > Action: clean failed - deleted > Virus: WORM_MIMAIL.A > > > > Will the administrator of this group please be advised of > this problem > > Thanks in advance > > > > N. Curt Bean > Sr. System/Network Administrator > Raytheon > 7700 Arlington Blvd. > Fallschurch Va. 22042 > Phone: 703.560.5000 Ext 4203 > Fax: 703.849.1591 > Email: [EMAIL PROTECTED] > > > > - -BEGIN PGP SIGNATURE- > Version: PGP 8.0.2 > > iQA/AwUBPy5bFUco2hPOn0CzEQLy9ACfc74GtxhKUrUN3w1wWifu6U+Q7csAoK6X > fULwNDU0Q31yExUgNvFyywik > =7+0b > - -END PGP SIGNATURE- > > -BEGIN PGP SIGNATURE- > Version: PGP 8.0.2 > > iQA/AwUBPy5cC0co2hPOn0CzEQJtDgCgvMdax28rZazvp0BhCxjTz3MYZzcAn0Qk > izSBZLSqyfu2L5Rlyb2zQS9M > =IRJx > -END PGP SIGNATURE- > > >
RE: Virus alert
It is a concern to many of us forced to use Windows systems to read our e-mail, because of corporate decisions on "Standardized Desktops" (can you say "High-risk computing environment for communicable diseases"). I long for the day when I can run my standardized Linux desktop, shrugging off most of the virus warnings. Unfortunately, we aren't there yet. Live long and prosper, Don Donald L. (Don) Ritchey E-mail: [EMAIL PROTECTED] -Original Message- From: Axel Haenssen [mailto:[EMAIL PROTECTED] Sent: Monday, August 04, 2003 8:15 AM To: 'Bean, N. Curt'; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: RE: Virus alert This e-mail and any of its attachments may contain Exelon Corporation proprietary information, which is privileged, confidential, or subject to copyright belonging to the Exelon Corporation family of Companies. This e-mail is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this e-mail is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify the sender immediately and permanently delete the original and any copy of this e-mail and any printout. Thank You. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What's there to advise about. Just hope that everybody has his/her system all patched and antivirus definitions up to date. Plus, this only concerns windows user. Since we are a mostly linux forum we coulnd't care less, could we? cheers Axel - - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bean, N. Curt Sent: Monday, August 04, 2003 8:01 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: Virus alert I have noted several instances of the following message. Receiver, InterScan has detected virus(es) in the e-mail attachment. Date: Mon, 04 Aug 2003 13:42:09 - Method: Mail From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> File: message.zip Action: clean failed - deleted Virus: WORM_MIMAIL.A Will the administrator of this group please be advised of this problem Thanks in advance N. Curt Bean Sr. System/Network Administrator Raytheon 7700 Arlington Blvd. Fallschurch Va. 22042 Phone: 703.560.5000 Ext 4203 Fax: 703.849.1591 Email: [EMAIL PROTECTED] - -BEGIN PGP SIGNATURE- Version: PGP 8.0.2 iQA/AwUBPy5bFUco2hPOn0CzEQLy9ACfc74GtxhKUrUN3w1wWifu6U+Q7csAoK6X fULwNDU0Q31yExUgNvFyywik =7+0b - -END PGP SIGNATURE- -BEGIN PGP SIGNATURE- Version: PGP 8.0.2 iQA/AwUBPy5cC0co2hPOn0CzEQJtDgCgvMdax28rZazvp0BhCxjTz3MYZzcAn0Qk izSBZLSqyfu2L5Rlyb2zQS9M =IRJx -END PGP SIGNATURE-
RE: Virus alert
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 - -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What's there to advise about. Just hope that everybody has his/her system all patched and antivirus definitions up to date. Plus, this only concerns windows user. Since we are a mostly linux forum we coulnd't care less, could we? cheers Axel - - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bean, N. Curt Sent: Monday, August 04, 2003 8:01 AM To: '[EMAIL PROTECTED]' Cc: '[EMAIL PROTECTED]' Subject: Virus alert I have noted several instances of the following message. Receiver, InterScan has detected virus(es) in the e-mail attachment. Date: Mon, 04 Aug 2003 13:42:09 - Method: Mail From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> File: message.zip Action: clean failed - deleted Virus: WORM_MIMAIL.A Will the administrator of this group please be advised of this problem Thanks in advance N. Curt Bean Sr. System/Network Administrator Raytheon 7700 Arlington Blvd. Fallschurch Va. 22042 Phone: 703.560.5000 Ext 4203 Fax: 703.849.1591 Email: [EMAIL PROTECTED] - -BEGIN PGP SIGNATURE- Version: PGP 8.0.2 iQA/AwUBPy5bFUco2hPOn0CzEQLy9ACfc74GtxhKUrUN3w1wWifu6U+Q7csAoK6X fULwNDU0Q31yExUgNvFyywik =7+0b - -END PGP SIGNATURE- -BEGIN PGP SIGNATURE- Version: PGP 8.0.2 iQA/AwUBPy5cC0co2hPOn0CzEQJtDgCgvMdax28rZazvp0BhCxjTz3MYZzcAn0Qk izSBZLSqyfu2L5Rlyb2zQS9M =IRJx -END PGP SIGNATURE-
Virus alert
Title: Virus alert I have noted several instances of the following message. Receiver, InterScan has detected virus(es) in the e-mail attachment. Date: Mon, 04 Aug 2003 13:42:09 - Method: Mail From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> File: message.zip Action: clean failed - deleted Virus: WORM_MIMAIL.A Will the administrator of this group please be advised of this problem Thanks in advance N. Curt Bean Sr. System/Network Administrator Raytheon 7700 Arlington Blvd. Fallschurch Va. 22042 Phone: 703.560.5000 Ext 4203 Fax: 703.849.1591 Email: [EMAIL PROTECTED]
InterScan NT Alert
Receiver, InterScan has detected virus(es) in the e-mail attachment. Date: Mon, 04 Aug 2003 13:42:09 - Method: Mail From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> File: message.zip Action: clean failed - deleted Virus: WORM_MIMAIL.A
Infected E-Mail
>> O e-mail enviado para você <<< De / Assunto [EMAIL PROTECTED] / your account zuuziaii foi encontrado um vírus no arquivo Anexado, e este vírus, não foi enviado para você. Informações sobre o Vírus: +++ Virus Scanner : message.html : W32/Mimail-A Se você tiver futuras questões, por favor, consulte o nosso especialista de E-mail: Para a sua informação, nós incluímos uma parte filtrada da mensagem original do E-mail. * -- A mensagem original segue abaixo: -- * Hello there, I would like to inform you about important information regarding your email address. This email address will be expiring. Please read attachment for details. --- Best regards, Administrator zuuziaii
ALERT - GroupShield ticket number OA127_1059998548_NAVONT3_3 was generated
Action Taken: The attachment was quarantined from the message and replaced with a text file informing the recipient of the action taken. To: Amanda-users <[EMAIL PROTECTED]> From: [EMAIL PROTECTED] <[EMAIL PROTECTED]> Sent: -1588819584,29579903 Subject: your account zuuziaii Attachment Details:- Attachment Name: message.zip File: message.zip Infected? No Repaired? No Blocked? Yes Deleted? No Virus Name: <>
Report to Recipient(s)
Incident Information:- Originator: [EMAIL PROTECTED] Recipients: Amanda-users <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject:your account zuuziaii WARNING: The file message.zip you received was infected with the W32/[EMAIL PROTECTED] virus. The file attachment was not successfully cleaned.
Antigen found FILE FILTER= message.zip file
Antigen for Exchange found message.zip matching FILE FILTER= message.zip file filter. The file is currently Removed. The message, "your account zuuziaii", was sent from [EMAIL PROTECTED] and was discovered in SMTP Messages\Inbound located at NTU/GINTIC/MOLLY.
Bericht an Empfänger
Ereignisinformation:- Urheber:[EMAIL PROTECTED] Empfõnger: Amanda-users <[EMAIL PROTECTED]> Betreff:your account zuuziaii WARNUNG: Die empfangene Datei message.zip ist mit dem Virus W32/[EMAIL PROTECTED] infiziert. Der Dateianhang konnte nicht erfolgreich gesõubert werden.
your account zuuziaii
Hello there, I would like to inform you about important information regarding your email address. This email address will be expiring. Please read attachment for details. --- Best regards, Administrator zuuziaii message.zip Description: Zip compressed data
Re: amdump/amcheck timeouts
I have experiencered this problem under Solaris. It seemed to be an inetd problem. I have found a workaround to enable amcheck all the same : Under solaris client I "truss" the inetd daemon and I try other port than amanda port (like ftp) so I run "ftp solaris_client_name" and I look at the "truss -f -t fork,exec -p client_inetd_pid" output It was always (in my case) enough to let amcheck working again on this client. Hope it will help you... Nicolas |+---> || "Martin" | || <[EMAIL PROTECTED]>| || Sent by: | || [EMAIL PROTECTED]| || 08/04/2003 10:30 AM | || | |+---> >---| | | | | | To: <[EMAIL PROTECTED]> | | cc: | | bcc: | | Subject: Re: amdump/amcheck timeouts | | | >---| > > > I have only started using Amanda a couple of days ago to backup some > clients > > in our local network. Everything seemed to be working fine. However, > > occasionally (about 50% of the times) amcheck times out ("selfcheck > request > > timed out. Host down?"). When I check /var/log/messages on the client, > there > > are a lot of "amandad[31356]: error receiving message: timeout" messages. > > Amanda debug files show the client timing out on waiting for an ACK from > the > > server. It seems that amcheck is more likely to time out than amdump; > amdump > > only times out about 25% of the times. > > Something else that I think is a bit strange, when I run amcheck again > > immediately after it finishes, it usually fails ("host down?"). When I > wait > > about a minute or so, and I run it again, it succeeds. > > Typical for a routing problem or a wrong subnetmask in one of the > systems involved, and a router that issues a "icmp redirect", to solve > the issue temporarily. > > Try ping from both sides and see if you notice something strange. > > The ping works fine from both sides. All other services on both computers are up and running just fine. Both computers are on same network, configured with same netmask and broadcast address. When I run amcheck and it fails, the server debug files show no error messages. The client debug files show the following error messages: . amandad: time 29.991: dgram_recv: timeout after 30 seconds amandad: error receiving message: timeout amandad: time 29.991: error receiving message: timeout ... amandad: time 34.060: weird, it is not a proper ack addr: peer xxx.yyy.zzz.aaa dup xxx.yyy.zzz.aaa, port: peer 888 dup 919 amandad: time 44.053: dgram_recv: timeout after 10 seconds amandad: time 44.053: waiting for ack: timeout, retrying amandad: time 54.053: dgram_recv: timeout after 10 seconds amandad: time 54.053: waiting for ack: timeout, retrying amandad: time 64.053: dgram_recv: timeout after 10 seconds amandad: time 64.053: waiting for ack: timeout, giving up! . Anyone got a clue? Thanks, Martin
Re: amdump/amcheck timeouts
> > > I have only started using Amanda a couple of days ago to backup some > clients > > in our local network. Everything seemed to be working fine. However, > > occasionally (about 50% of the times) amcheck times out ("selfcheck > request > > timed out. Host down?"). When I check /var/log/messages on the client, > there > > are a lot of "amandad[31356]: error receiving message: timeout" messages. > > Amanda debug files show the client timing out on waiting for an ACK from > the > > server. It seems that amcheck is more likely to time out than amdump; > amdump > > only times out about 25% of the times. > > Something else that I think is a bit strange, when I run amcheck again > > immediately after it finishes, it usually fails ("host down?"). When I > wait > > about a minute or so, and I run it again, it succeeds. > > Typical for a routing problem or a wrong subnetmask in one of the > systems involved, and a router that issues a "icmp redirect", to solve > the issue temporarily. > > Try ping from both sides and see if you notice something strange. > > The ping works fine from both sides. All other services on both computers are up and running just fine. Both computers are on same network, configured with same netmask and broadcast address. When I run amcheck and it fails, the server debug files show no error messages. The client debug files show the following error messages: . amandad: time 29.991: dgram_recv: timeout after 30 seconds amandad: error receiving message: timeout amandad: time 29.991: error receiving message: timeout ... amandad: time 34.060: weird, it is not a proper ack addr: peer xxx.yyy.zzz.aaa dup xxx.yyy.zzz.aaa, port: peer 888 dup 919 amandad: time 44.053: dgram_recv: timeout after 10 seconds amandad: time 44.053: waiting for ack: timeout, retrying amandad: time 54.053: dgram_recv: timeout after 10 seconds amandad: time 54.053: waiting for ack: timeout, retrying amandad: time 64.053: dgram_recv: timeout after 10 seconds amandad: time 64.053: waiting for ack: timeout, giving up! . Anyone got a clue? Thanks, Martin