Backup over 2 tapes
Hello My weeekly backup spans two tapes and I change tapes manually. When I run amdump WeeklySet1, here is an excerpt of the log DISK planner sa01 /terrasky DISK planner sa01 /dev/md0 DISK planner sa01 /dev/md2 DISK planner sa01 /usr/local/etc/amanda SUCCESS dumper sa01 /usr/local/etc/amanda 20050222 0 [sec 0.316 kb 115 kps 363.3 orig-kb 820] SUCCESS taper sa01 /usr/local/etc/amanda 20050222 0 [sec 1.646 kb 160 kps 97.2 {wr: writers 5 rdwait 0.000 wrwait 0.036 filemark 1.609}] SUCCESS dumper sa01 /dev/md2 20050222 0 [sec 36.745 kb 152650 kps 4154.2 orig-kb 152650] SUCCESS dumper sa01 /dev/md0 20050222 0 [sec 56.615 kb 308100 kps 5441.9 orig-kb 308100] SUCCESS taper sa01 /dev/md2 20050222 0 [sec 68.445 kb 152704 kps 2231.0 {wr: writers 4772 rdwait 7.577 wrwait 59.433 filemark 1.305}] SUCCESS taper sa01 /dev/md0 20050222 0 [sec 283.949 kb 308160 kps 1085.3 {wr: writers 9630 rdwait 0.320 wrwait 281.870 filemark 1.427}] SUCCESS dumper sa01 /terrasky 20050222 0 [sec 1508.775 kb 2412431 kps 1598.9 orig-kb 7055670] FAIL taper sa01 /terrasky 20050222 0 [out of tape] When I insert the second tape and run amflush, /terrasky is not being backed up ( In fact it is not even present on the holding disk [EMAIL PROTECTED] WeeklySet1]$ ls -ali /terrasky/amandaholdingdisk/20050222 total 7236212 1294514 drwx--2 amanda disk 4096 Feb 23 01:23 . 65537 drwxr-xr-x4 amanda root 4096 Feb 23 10:16 .. 1294528 -rw---1 amanda disk 1073741824 Feb 22 11:33 sa03._terrasky_tslibrary__gh.0 1294529 -rw---1 amanda disk 1073741824 Feb 22 11:39 sa03._terrasky_tslibrary__gh.0.1 1294530 -rw---1 amanda disk 1073741824 Feb 22 11:48 sa03._terrasky_tslibrary__gh.0.2 1294531 -rw---1 amanda disk 566267831 Feb 22 11:51 sa03._terrasky_tslibrary__gh.0.3 1294526 -rw---1 amanda disk 1073741824 Feb 22 11:10 sa03._terrasky_tslibrary__qr.0 1294518 -rw---1 amanda disk 1073741824 Feb 22 11:16 sa03._terrasky_tslibrary__qr.0.1 1294519 -rw---1 amanda disk 1073741824 Feb 22 11:23 sa03._terrasky_tslibrary__qr.0.2 1294527 -rw---1 amanda disk 393890584 Feb 22 11:25 sa03._terrasky_tslibrary__qr.0.3 How can I resolve this problem as I now have an incomplete weekly backup. Regds Madhvi
Exclude may not be working
Hi My amanda backup server has the following filesystem structure : - / | terrasky | tsfileserver tslibrary amandaholdingdisk As part of daily backup , /terrasky is backed up (level 0) with the exclude file containing tslibrary and amandaholdingdisk . This works perfectly and I have around 6 GB of data written to tape. tslibrary is a nfsmounted from another server sa03 During my Weeklybackup, I maintain the line /terrasky in my disklist and have the same dumptype as for Daily bkup. When I run amdump WeeklySet1 , and run amstatus, the estimate for /terrasky is found to be 11 GB but when /terrasky is dumped to disk the size increases to 23 GB . Now, I know that /tslibrary from sa03 of approx 12 GB of data was just dumped to disk before sa01 :/terrasky . How do I bypass this problem as it seems that amandaholdingdisk is also being backed up ? regds madhvi
INFO planner sa03 /terrasky/tslibrary_qr 20041206 0 [dumps too big, full dump delayed
Hi I am getting above error message during my Monthly backup. My holding disk is 55 GB - big eneough to accomodate the dump. A level 1 backup is done instead of level 1. Regds M
Filesystems >12 GB
I have a >15GB filesystem that cannot fit on one tape. So as per the disklist example in the amanda package, I break the filesystem into <12 GB chunks as follows : - sa03 /terrasky/tslibrary/ { # all directories that start with [h-m] user-tar include "./[a-f]*" } 1 sa03 /terrasky/tslibrary/ { # all directories that start with [n-u] user-tar include "./[g-z]*" } I get the following error message [EMAIL PROTECTED] MonthlySet1]$ amcheck -s MonthlySet1 "/usr/local/etc/amanda/MonthlySet1/disklist", line 22: duplicate disk record, previous on line 17 "/usr/local/etc/amanda/MonthlySet1/disklist", line 26: dumptype custom(sa03:/dev/hdc1/tslibrary) already defined on line 17 amcheck: could not load disklist /usr/local/etc/amanda/MonthlySet1/disklist Can anyone help me in determine what could be wrong with this config. I changed the second sa03 entry to sa03.terra.terrasky.mu and I get no error messages. Thanx madhvi
files larger than tape
hello I need to backup a 18G directory(/terrasky/tslibrary) which contains 12 subdirectories. Currently, using the disklist example in the documentation for large files, my disklist looks like this : - #sa03 /terrasky/tslibrary/ { # All directories that start with [h-z] # user-tar # include "./[h-z]*" # } 1 sa03/terrasky/tslibrary/ { # All directories that start with [a-g] user-tar include "./[a-g]*" } 1 Since I do not have a tape changer, I insert the first tape and run amdump . Then I manually edit the disklist file to backup the other files onto a second tape. If the size of the data being backed up exceeds the tape capacity of 12G, the disklist is modified again to get backup data of les than 12 G to fiit on one tape. I have the following queries: - 1. Instead of me calculating the backup data size, can't amanda do it. If it exceeds the tape capacity, can't amanda break the data up , copy folders up to 12 G on the first tape, request for the second tape and copy the rest of the data to the second tape. Pls note that this directory is being fully backed up weekly and monthly - without any incremental backups being done. We want to minimise user intervention during the backup. regards madhvi
amrecover error
hello When running the command below on client server I get the following error - details are : - terrabkup# amrecover -C fullbkup -s sa01.terra.terrasky.mu -t sa01.terra.terrasky.mu -d /dev/nst0 AMRECOVER Version 2.4.3. Contacting server on sa01.terra.terrasky.mu ... amrecover: Unexpected end of file, check amindexd*debug on server sa01.terra.terrasky.mu Contents of amindexd.20040226113359.debug on backup server [EMAIL PROTECTED] amanda]$ more amindexd.20040226113359.debug amindexd: debug 1 pid 30290 ruid 512 euid 512: start at Thu Feb 26 11:33:59 2004 amindexd: version 2.4.3 amindexd: time 0.002: gethostbyaddr(10.10.20.40): hostname lookup failed amindexd: time 0.002: pid 30290 finish time Thu Feb 26 11:33:59 2004 On the client server terrabkup# more amrecover.20040226114140.debug amrecover: debug 1 pid 48907 ruid 0 euid 0: start at Thu Feb 26 11:41:40 2004 amrecover: stream_client_privileged: connected to 10.10.20.32.10082 amrecover: stream_client_privileged: our side is 0.0.0.0.575 hostname are currently being resolved by dns server. The backup was done when /etc/hosts was still being used. I'll be grateful for any help obtained to resolve this problem. regds M
how to fit backup on >1 tape
Hello I have a18G filesystem that needs to be backed up and do not have a tape changer. I have tried the following :- runtapes 2 # number of tapes to be used in a single run of amdump tpchanger "chg-manual" # the tape-changer glue script tapedev "/dev/nst0" # the no-rewind tape device to be used changerfile "/usr/adm/amanda/WeeklySet1/changer" When I run amdump WeeklySet1, it asks me to load tapes repeatedly. 3 files were created in the log directory and are as follows :- changer-status-access, changer-status-clean, changer-status-slot with following contents : - changer-status-access :: 2 :: changer-status-clean :: 0 :: changer-status-slot :: 1 Since 2 tapes of 12G should be enough for the backup ( no hardware compression and using tar) , I am not sure what I'm doing wrong. can anyone help me with this config??? Thanx in advance Madhvi
Re: no incremental backups when using gnu tar
[EMAIL PROTECTED] amanda]$ amadmin DailySet1 disklist localhost /etc/mrtg line 7: host localhost: interface default disk /etc/mrtg: program "GNUTAR" priority 2 dumpcycle 0 maxdumps 1 strategy NOINC compress NONE auth BSD kencrypt NO holdingdisk YES record YES index YES skip-incr NO skip-full NO The skip-incr is set to NO -- should this be changed to YES??? Regds Madhvi - Original Message - From: "Paul Bijnens" <[EMAIL PROTECTED]> To: "Madhvi Gokool" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, February 11, 2004 12:22 PM Subject: Re: no incremental backups when using gnu tar > Madhvi Gokool wrote: > > > define dumptype high-tar { > > root-tar > > comment "partitions dumped with tar" > > priority high > > dumpcycle 0 > > compress none > > index > > } > > excert from disklist > > localhost /etc/mrtg high-tar > > ns01/home/nfsuser high-tar > > > > Excerpt from a log > > SUCCESS dumper ns01 /home/nfsuser 20031230 2 [sec 0.355 kb 530 kps 1489.2 > > orig-kb 530] > > What is the output of: > >amadmin YourConfig disklist localhost /etc/mrtg > > Does it say dumpcycle 0 too? > Are there other constraints, like not enough tapecapacity? > > ps. using "localhost" as the name of your computer will bite you when > you move your tapedrive to another computer (e.g. after a crash) > and you want to restore files from the previous one. Use the > real DNS name. > > > -- > Paul Bijnens, XplanationTel +32 16 397.511 > Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 > http://www.xplanation.com/ email: [EMAIL PROTECTED] > *** > * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * > * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * > * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * > * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * > * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ...* > * ... "Are you sure?" ... YES ... Phew ... I'm out * > ***
Holding disk
Hello How can I enable level 0 backups to the holding disk ( I have enough hard disk space) ? Regards Madhvi
no incremental backups when using gnu tar
Hello I do not want to run any incremental backup using gnu tar. How would I do this ? Excerpt from amanda.conf define dumptype high-tar { root-tar comment "partitions dumped with tar" priority high dumpcycle 0 compress none index } excert from disklist localhost /etc/mrtg high-tar ns01/home/nfsuser high-tar Excerpt from a log SUCCESS dumper ns01 /home/nfsuser 20031230 2 [sec 0.355 kb 530 kps 1489.2 orig-kb 530] SUCCESS taper ns01 /home/nfsuser 20031230 2 [sec 2.763 kb 576 kps 208.4 {wr: writers 18 rdwait 0.000 wrwait 0.176 filemark 2. 586}] SUCCESS dumper localhost /etc/mrtg 20031230 1 [sec 3.650 kb 1060 kps 290.4 orig-kb 1060] SUCCESS taper localhost /etc/mrtg 20031230 1 [sec 1.569 kb 1120 kps 713.8 {wr: writers 35 rdwait 0.000 wrwait 0.368 filemark 1.200}] The backup level of these directories is certainly >0 . regds madhvi
amdump results
Hello I have been testing how many filesystem full dumps of the servers on my network could be stored on a specific tape. An excerpt of the dump summary is as follows: - DUMPER STATSTAPER STATS HOSTNAME DISKL ORIG-KB OUT-KB COMP% MMM:SS KB/s MMM:SS KB/s -- - backup.terra hda11 FAILED --- backup.terra hda50 13389001338944 --6:013712.0 10:172168.5 backup.terra hda60 18160 18208 --0:035387.0 0:111707.4 backuprad.te ad0s1a 0 35220 35264 --0:065669.3 0:221598.6 backuprad.te ad0s1e 0 250288 --0:04 63.3 0:01 205.3 backuprad.te ad0s1f 02960 3008 --0:04 825.1 0:021263.6 FAILURE AND STRANGE DUMP SUMMARY: backup.ter hda1 lev 1 FAILED [data timeout] Upon verifying the contents of the tape after the backup was completed, backup.ter hda1 does not figure in the list of backup images. Is it possible to retry the failed filesystem backup and write it on the same tape Regards madhvi
amrestore
Hello I am tetsing the different restore options that are available. I have started with the ones documented in amanda package. Could anyone explain the results below: - a) From the backup server , I ran command below . The backup image gets stored in the current working directory. [EMAIL PROTECTED] restoredir]$ amrestore /dev/st0 osama / 1.. amrestore: 0: skipping start of tape: date 20030318 label DailySet15 2.. amrestore: 1: skipping osama.hda5.20030318.0 3.. amrestore: 2: skipping osama.hda1.20030318.0 4.. amrestore: 3: restoring osama._.20030318.0 5.. amrestore: 4: skipping start of tape: date 20030318 label DailySet15 6.. amrestore: 5: skipping osama.hda5.20030318.0 7.. amrestore: 6: skipping osama.hda1.20030318.0 8.. amrestore: 7: restoring osama._.20030318.0 9.. amrestore: 8: skipping start of tape: date 20030318 label DailySet15 10.. amrestore: 9: skipping osama.hda5.20030318.0 11.. amrestore: 10: skipping osama.hda1.20030318.0 12.. amrestore: 11: restoring osama._.20030318.0 13.. amrestore: 12: skipping start of tape: date 20030318 label DailySet15 14.. amrestore: 13: skipping osama.hda5.20030318.0 15.. amrestore: 14: skipping osama.hda1.20030318.0 16.. amrestore: 15: restoring osama._.20030318.0 17.. amrestore: 17: skipping osama.hda5.20030318.0 18.. amrestore: 18: skipping osama.hda1.20030318.0 19.. amrestore: 19: restoring osama._.20030318.0 The above carried on until I manually stopped the operation. Please note that the size of the backup image increased as well. b) From the client machine , I ran the following command :- rsh -n -l amanda backup.terrasky.mu /usr/local/sbin/amrestore -p /dev/st0 osama / | restore -iv -b 2 -f - and I could restore some files chosen at random. If I modify the command above as follows : - rsh -n -l amanda backup.terrasky.mu /usr/local/sbin/amrestore /dev/nst0 osama / the backup image is not stored in the current working directory. thanks in advance for comments/explanations. Madhvi
Re: Fw: Error while running amcheck/amdump
The /dev/hda6 mountpoint is / I have added the mount point to the disklist file . The dumptype was set to tar and then dump. amcheck detected no errors on the client host. When amdump was run , a level 0 dump was done on /dev/hda6 ( as seen in /etc/dumpdates). If I put back hda6 in the disklist, amcheck gives me the same error reported below. Why can't /dev/hda6 be backed up ??? A manual dump of the latter on the client works. Thanx in advance Madhvi - Original Message - From: "Paul Bijnens" <[EMAIL PROTECTED]> To: "Madhvi Gokool" <[EMAIL PROTECTED]> Sent: Monday, March 17, 2003 3:50 PM Subject: Re: Fw: Error while running amcheck/amdump > Madhvi Gokool wrote: > > The client is running Linux 8.0 (ext3 filesystem) as shown below : > > LABEL=/ / ext3defaults 1 1 > > LABEL=/boot /boot ext3defaults 1 2 > > LABEL=/home /home ext3defaults 1 2 > > LABEL=/usr /usrext3defaults 1 2 > > LABEL=/var /varext3defaults 1 2 > > /dev/hda3 swapswapdefaults 0 0 > ... > >> > >>ERROR: osama: [could not access hda6 (hda6): No such file or directory] > >>Client check: 1 host checked in 0.026 seconds, 1 problem found > >> > >>Excerpt of disklist on my amanda server ;- > >>osama hda1always-full > >> osama hda2always-full > >> osama hda5always-full > >> osama hda6always-full > >> osama hda7always-full > > And which one of the above "LABEL=..." is /dev/hda6 ? > To simplify things, why don't you just put the mountpoint in > you disklist? > (This will not solve your problem, but it will be clearer to us, > and to you.) > > -- > Paul Bijnens, XplanationTel +32 16 397.511 > Technologielaan 21 bus 2, B-3001 Leuven, BELGIUMFax +32 16 397.512 > http://www.xplanation.com/ email: [EMAIL PROTECTED] > *** > * I think I've got the hang of it now: exit, ^D, ^C, ^\, ^Z, ^Q, F6, * > * quit, ZZ, :q, :q!, M-Z, ^X^C, logoff, logout, close, bye, /bye, * > * stop, end, F3, ~., ^]c, +++ ATH, disconnect, halt, abort, hangup, * > * PF4, F20, ^X^X, :D::D, KJOB, F14-f-e, F8-e, kill -1 $$, shutdown, * > * kill -9 1, Alt-F4, Ctrl-Alt-Del, AltGr-NumLock, Stop-A, ...* > * ... "Are you sure?" ... YES ... Phew ... I'm out * > *** >
Fw: Error while running amcheck/amdump
The client is running Linux 8.0 (ext3 filesystem) as shown below : LABEL=/ / ext3defaults1 1 LABEL=/boot /boot ext3defaults1 2 none/dev/ptsdevpts gid=5,mode=620 0 0 LABEL=/home /home ext3defaults1 2 none/proc procdefaults0 0 none/dev/shmtmpfs defaults0 0 LABEL=/usr /usrext3defaults1 2 LABEL=/var /varext3defaults1 2 /dev/hda3 swapswapdefaults0 0 - Original Message - From: "Madhvi Gokool" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 17, 2003 12:27 PM Subject: Error while running amcheck/amdump > Hello > I have encountered the error below while testing the amanda backup software. > > Amanda Backup Client Hosts Check > > ERROR: osama: [could not access hda6 (hda6): No such file or directory] > Client check: 1 host checked in 0.026 seconds, 1 problem found > > Excerpt of disklist on my amanda server ;- > osama hda1always-full > osama hda2always-full > osama hda5always-full > osama hda6always-full > osama hda7always-full > > permissions on osama > [EMAIL PROTECTED] root]# ls -ali /dev/hda6 >8596 brw-rw1 root disk 3, 6 Aug 31 2002 /dev/hda6 > [EMAIL PROTECTED] root]# ls -ali /dev/hda7 >8597 brw-rw1 root disk 3, 7 Aug 31 2002 /dev/hda7 > no errors are obtained with hda7 . A level 0 backup was successfully done > on tape. > > Grateful if someone could help me solve this problem. > > Cheers > madhvi > >
Error while running amcheck/amdump
Hello I have encountered the error below while testing the amanda backup software. Amanda Backup Client Hosts Check ERROR: osama: [could not access hda6 (hda6): No such file or directory] Client check: 1 host checked in 0.026 seconds, 1 problem found Excerpt of disklist on my amanda server ;- osama hda1always-full osama hda2always-full osama hda5always-full osama hda6always-full osama hda7always-full permissions on osama [EMAIL PROTECTED] root]# ls -ali /dev/hda6 8596 brw-rw1 root disk 3, 6 Aug 31 2002 /dev/hda6 [EMAIL PROTECTED] root]# ls -ali /dev/hda7 8597 brw-rw1 root disk 3, 7 Aug 31 2002 /dev/hda7 no errors are obtained with hda7 . A level 0 backup was successfully done on tape. Grateful if someone could help me solve this problem. Cheers madhvi
Error when installing amanda client on a RedHat 7.1 server
hello I have encountered the error below when trying to install amanda on a server. Any ideas as to how I can resolve this problem. [EMAIL PROTECTED] amanda-2.4.3]$ ./configure --prefix=/usr/local --without-server --with-user=amanda --with-g roup=disk --with-config=DailySet1 loading cache ./config.cache checking host system type... i686-pc-linux-gnuoldld checking target system type... i686-pc-linux-gnuoldld checking build system type... i686-pc-linux-gnuoldld checking cached system tuple... ok checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for non-rewinding tape device... /dev/null checking for raw ftape device... /dev/null checking for Kerberos and Amanda kerberos4 bits... no checking for gcc... no checking for cc... no configure: error: no acceptable cc found in $PATH Thanks in advance madhvi
config.site
Hello I have configured amanda on a test server . If I modify a parameter in the config.site file , do I have to go through the following steps before the changes are applied : - run ./configure, make , make install ??? Is there a quicker way Thanx in advance M
Re: Permissin denied
I have got it to work --- had to modify the group of amanda user in /etc/passwd Thanx Madhvi - Original Message - From: "Madhvi Gokool" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Joshua Baker-LePain" <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 11:00 AM Subject: Permissin denied > Hello > After changing the group of the user amanda to disk , when I run amcheck , I > ams till getiing the > Amanda Tape Server Host Check > - > ERROR: /dev/nst0: Permission denied >(expecting a new tape) > NOTE: skipping tape-writable test > Server check took 0.000 seconds > > The permissions on the tape device are as follows : - > > [[amanda@backup sbin]$ ls -ali /dev/nst0 > 177632 crw-rw-r--1 root disk 9, 128 Mar 24 2001 /dev/nst0 > > Are there any otehr solutions ??? > > M
Permissin denied
Hello After changing the group of the user amanda to disk , when I run amcheck , I ams till getiing the Amanda Tape Server Host Check - ERROR: /dev/nst0: Permission denied (expecting a new tape) NOTE: skipping tape-writable test Server check took 0.000 seconds The permissions on the tape device are as follows : - [[amanda@backup sbin]$ ls -ali /dev/nst0 177632 crw-rw-r--1 root disk 9, 128 Mar 24 2001 /dev/nst0 Are there any otehr solutions ??? M
Re: amcheck error
Hello Got confused between the mount point and the device. The amanda user is in the operator group and did not have permission on the device I have changed the device /dev/hd5 permission as follows : - chmod +or /dev/hda5 I did not get any errors on the client host when i ran amcheck. Results are :- [amanda@backup sbin]$ ./amcheck DailySet1 Amanda Tape Server Host Check - ERROR: /dev/nst0: Permission denied (expecting a new tape) NOTE: skipping tape-writable test Server check took 0.000 seconds Amanda Backup Client Hosts Check Client check: 1 host checked in 0.026 seconds, 0 problems found I have inserted a tape containing a backup that can be overwritten . Do you think that I need to insert a blank tape for the error on the Tape Server host to be resolved. Regards madhvi - Original Message - From: "Joshua Baker-LePain" <[EMAIL PROTECTED]> To: "Madhvi Gokool" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, February 20, 2003 8:03 PM Subject: Re: amcheck error > On Thu, 20 Feb 2003 at 7:11pm, Madhvi Gokool wrote > > > ERROR: backup.terrasky.mu: [could not access /dev/hda5 (/usr): Permission > > denied] > > ERROR: backup.terrasky.mu: [could not access /dev/hda5 (/dev/hda5): > > Permission denied] > > I have verified the permissions on the /usr as follows: - > >2 drwxr-xr-x 16 root root 4096 Jan 24 16:09 usr > > Logged in as user amanda, I have been able to view a file in one of the /usr > > sub-directories. > > >From my point of view, everyone has read and execute access on the /usr > > directory. > > What you're interested in are the permissions on the device, not the mount > point. What does 'ls -l /dev/hda5' say, and what group is the amanda user > in? > > -- > Joshua Baker-LePain > Department of Biomedical Engineering > Duke University
amcheck error
Hello amcheck is giveing the error messsages below : - ERROR: backup.terrasky.mu: [could not access /dev/hda5 (/usr): Permission denied] ERROR: backup.terrasky.mu: [could not access /dev/hda5 (/dev/hda5): Permission denied] I have verified the permissions on the /usr as follows: - 2 drwxr-xr-x 16 root root 4096 Jan 24 16:09 usr Logged in as user amanda, I have been able to view a file in one of the /usr sub-directories. >From my point of view, everyone has read and execute access on the /usr directory. Please help. Madhvi
Re: Error after installing/configuring amanda
Hello I added the /usr/local/sbin to the Path variable of user amanda. I can successfully execute the amanda commands. I ran amdump without running amlabel. I want to label the tape now- Running the command gives the following error [amanda@backup admin]$ amlabel -f DailySet1 DailySet10 rewinding amlabel: tape_rewind: tape open: /dev/nst0: Permission denied If I try to remove the tape from the tape database using the amrmtape command - i do not know the label that should be given . amrmtape -v DailySet1 How can I start from scratch using the same tape??? Regards madhvi - Original Message - From: "Gene Heskett" <[EMAIL PROTECTED]> To: "Madhvi Gokool" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, February 17, 2003 2:20 PM Subject: Re: Error after installing/configuring amanda > On Monday 17 February 2003 01:57 am, Madhvi Gokool wrote: > >Hello > >I have encountered the following error when trying to run the > > following command or any other amanda program on the tape server > > host [amanda@backup sbin]$ amcheck -l > >bash: amcheck: command not found > > On linux, possibly others, the syntax would have been "./amcheck" in > order to tell the shell to look here rather than in one of the dirs > in the $PATH environment variable. > > I'd guess that the best way is to add /usr/local/sbin to the $PATH > that the user amanda gets when you are the user amanda. > > >The permissions of the am* commands in /usr/local/sbin area s > > follows :- 34807 -rwxr-xr-x1 amanda operator 442325 Feb > > 4 16:30 amadmin 34808 -rwxr-xr-x1 amanda operator 542304 > > Feb 4 16:30 amcheck 34814 -rwxr-xr-x1 amanda operator > > 1811 Feb 4 16:30 amcheckdb 34846 -rwsr-x---1 root root > > 542304 Feb 11 15:22 amcheck_old 34815 -rwxr-xr-x1 amanda > > operator 3936 Feb 4 16:30 amcleanup 34806 -rwxr-xr-x1 > > amanda operator 218270 Feb 4 16:30 amdd 34816 -rwxr-xr-x > > 1 amanda operator 3744 Feb 4 16:30 amdump 34809 -rwxr-xr-x > >1 amanda operator 381176 Feb 4 16:30 amflush 34810 > > -rwxr-xr-x1 amanda operator 197506 Feb 4 16:30 amgetconf > > 34811 -rwxr-xr-x1 amanda operator 413403 Feb 4 16:30 > > amlabel 34805 -rwxr-xr-x1 amanda operator 218366 Feb 4 > > 16:30 ammt 34817 -rwxr-xr-x1 amanda operator 4427 Feb > > 4 16:30 amoverview 34824 -rwxr-x---1 amanda operator > > 379886 Feb 4 16:30 amrecover 34813 -rwxr-xr-x1 amanda > > operator 402562 Feb 4 16:30 amreport 34823 -rwxr-xr-x1 > > amanda operator 312351 Feb 4 16:30 amrestore 34818 > > -rwxr-xr-x1 amanda operator 6607 Feb 4 16:30 amrmtape > > 34822 -rwxr-xr-x1 amanda operator29050 Feb 4 16:30 > > amstatus 34812 -rwxr-xr-x1 amanda operator 422231 Feb 4 > > 16:30 amtape 34819 -rwxr-xr-x1 amanda operator 6888 Feb > > 4 16:30 amtoc 34820 -rwxr-xr-x1 amanda operator12053 > > Feb 4 16:30 amverify 34821 -rwxr-xr-x1 amanda operator > > 1123 Feb 4 16:30 amverifyrun > > > >Where have I gone wrong ??? > > Missed the dot-slash in front of the command to anchor it to the > current directory you are cd'd to. A common mistake :) > > >Thanx in asdvance > >Madhvi > > -- > Cheers, Gene > AMD K6-III@500mhz 320M > Athlon1600XP@1400mhz 512M > 99.23% setiathome rank, not too shabby for a WV hillbilly
Error after installing/configuring amanda
Hello I have encountered the following error when trying to run the following command or any other amanda program on the tape server host [amanda@backup sbin]$ amcheck -l bash: amcheck: command not found The permissions of the am* commands in /usr/local/sbin area s follows :- 34807 -rwxr-xr-x1 amanda operator 442325 Feb 4 16:30 amadmin 34808 -rwxr-xr-x1 amanda operator 542304 Feb 4 16:30 amcheck 34814 -rwxr-xr-x1 amanda operator 1811 Feb 4 16:30 amcheckdb 34846 -rwsr-x---1 root root 542304 Feb 11 15:22 amcheck_old 34815 -rwxr-xr-x1 amanda operator 3936 Feb 4 16:30 amcleanup 34806 -rwxr-xr-x1 amanda operator 218270 Feb 4 16:30 amdd 34816 -rwxr-xr-x1 amanda operator 3744 Feb 4 16:30 amdump 34809 -rwxr-xr-x1 amanda operator 381176 Feb 4 16:30 amflush 34810 -rwxr-xr-x1 amanda operator 197506 Feb 4 16:30 amgetconf 34811 -rwxr-xr-x1 amanda operator 413403 Feb 4 16:30 amlabel 34805 -rwxr-xr-x1 amanda operator 218366 Feb 4 16:30 ammt 34817 -rwxr-xr-x1 amanda operator 4427 Feb 4 16:30 amoverview 34824 -rwxr-x---1 amanda operator 379886 Feb 4 16:30 amrecover 34813 -rwxr-xr-x1 amanda operator 402562 Feb 4 16:30 amreport 34823 -rwxr-xr-x1 amanda operator 312351 Feb 4 16:30 amrestore 34818 -rwxr-xr-x1 amanda operator 6607 Feb 4 16:30 amrmtape 34822 -rwxr-xr-x1 amanda operator29050 Feb 4 16:30 amstatus 34812 -rwxr-xr-x1 amanda operator 422231 Feb 4 16:30 amtape 34819 -rwxr-xr-x1 amanda operator 6888 Feb 4 16:30 amtoc 34820 -rwxr-xr-x1 amanda operator12053 Feb 4 16:30 amverify 34821 -rwxr-xr-x1 amanda operator 1123 Feb 4 16:30 amverifyrun Where have I gone wrong ??? Thanx in asdvance Madhvi